Skip to content

Commit 94c4f6a

Browse files
chore: bumping version to 2.1.1
1 parent 56d4fa0 commit 94c4f6a

File tree

275 files changed

+4458
-2016
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

275 files changed

+4458
-2016
lines changed

.openapi-generator/FILES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ docs/Model/GetReceiptsMonthlyTotalsResponse.md
109109
docs/Model/GetReceivedDocumentPreCreateInfoResponse.md
110110
docs/Model/GetReceivedDocumentResponse.md
111111
docs/Model/GetSupplierResponse.md
112+
docs/Model/GetTaxProfileResponse.md
112113
docs/Model/GetUserInfoResponse.md
113114
docs/Model/GetUserInfoResponseEmailConfirmationState.md
114115
docs/Model/GetUserInfoResponseInfo.md
@@ -232,6 +233,7 @@ docs/Model/SenderEmail.md
232233
docs/Model/ShowTotalsMode.md
233234
docs/Model/Supplier.md
234235
docs/Model/SupplierType.md
236+
docs/Model/TaxProfile.md
235237
docs/Model/TransformIssuedDocumentResponse.md
236238
docs/Model/UploadArchiveAttachmentResponse.md
237239
docs/Model/UploadF24AttachmentResponse.md
@@ -361,6 +363,7 @@ lib/Model/GetReceiptsMonthlyTotalsResponse.php
361363
lib/Model/GetReceivedDocumentPreCreateInfoResponse.php
362364
lib/Model/GetReceivedDocumentResponse.php
363365
lib/Model/GetSupplierResponse.php
366+
lib/Model/GetTaxProfileResponse.php
364367
lib/Model/GetUserInfoResponse.php
365368
lib/Model/GetUserInfoResponseEmailConfirmationState.php
366369
lib/Model/GetUserInfoResponseInfo.php
@@ -485,6 +488,7 @@ lib/Model/SenderEmail.php
485488
lib/Model/ShowTotalsMode.php
486489
lib/Model/Supplier.php
487490
lib/Model/SupplierType.php
491+
lib/Model/TaxProfile.php
488492
lib/Model/TransformIssuedDocumentResponse.php
489493
lib/Model/UploadArchiveAttachmentResponse.php
490494
lib/Model/UploadF24AttachmentResponse.php
@@ -506,3 +510,5 @@ lib/Model/WebhooksSubscriptionConfig.php
506510
lib/Model/WebhooksSubscriptionMapping.php
507511
lib/ObjectSerializer.php
508512
phpunit.xml.dist
513+
test/Model/GetTaxProfileResponseTest.php
514+
test/Model/TaxProfileTest.php

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.6.0
1+
7.9.0

.php-cs-fixer.cache

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ Class | Method | HTTP request | Description
153153
*SettingsApi* | [**deleteVatType**](docs/Api/SettingsApi.md#deletevattype) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type
154154
*SettingsApi* | [**getPaymentAccount**](docs/Api/SettingsApi.md#getpaymentaccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account
155155
*SettingsApi* | [**getPaymentMethod**](docs/Api/SettingsApi.md#getpaymentmethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method
156+
*SettingsApi* | [**getTaxProfile**](docs/Api/SettingsApi.md#gettaxprofile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile
156157
*SettingsApi* | [**getVatType**](docs/Api/SettingsApi.md#getvattype) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type
157158
*SettingsApi* | [**modifyPaymentAccount**](docs/Api/SettingsApi.md#modifypaymentaccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account
158159
*SettingsApi* | [**modifyPaymentMethod**](docs/Api/SettingsApi.md#modifypaymentmethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method
@@ -270,6 +271,7 @@ Class | Method | HTTP request | Description
270271
- [GetReceivedDocumentPreCreateInfoResponse](docs/Model/GetReceivedDocumentPreCreateInfoResponse.md)
271272
- [GetReceivedDocumentResponse](docs/Model/GetReceivedDocumentResponse.md)
272273
- [GetSupplierResponse](docs/Model/GetSupplierResponse.md)
274+
- [GetTaxProfileResponse](docs/Model/GetTaxProfileResponse.md)
273275
- [GetUserInfoResponse](docs/Model/GetUserInfoResponse.md)
274276
- [GetUserInfoResponseEmailConfirmationState](docs/Model/GetUserInfoResponseEmailConfirmationState.md)
275277
- [GetUserInfoResponseInfo](docs/Model/GetUserInfoResponseInfo.md)
@@ -393,6 +395,7 @@ Class | Method | HTTP request | Description
393395
- [ShowTotalsMode](docs/Model/ShowTotalsMode.md)
394396
- [Supplier](docs/Model/Supplier.md)
395397
- [SupplierType](docs/Model/SupplierType.md)
398+
- [TaxProfile](docs/Model/TaxProfile.md)
396399
- [TransformIssuedDocumentResponse](docs/Model/TransformIssuedDocumentResponse.md)
397400
- [UploadArchiveAttachmentResponse](docs/Model/UploadArchiveAttachmentResponse.md)
398401
- [UploadF24AttachmentResponse](docs/Model/UploadF24AttachmentResponse.md)
@@ -480,5 +483,5 @@ [email protected]
480483

481484
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
482485

483-
- API version: `2.1.0`
486+
- API version: `2.1.2`
484487
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`

docs/Api/IssuedDocumentsApi.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ try {
523523
## `joinIssuedDocuments()`
524524

525525
```php
526-
joinIssuedDocuments($company_id, $ids, $group, $e_invoice): \FattureInCloud\Model\JoinIssuedDocumentsResponse
526+
joinIssuedDocuments($company_id, $ids, $group, $parameter): \FattureInCloud\Model\JoinIssuedDocumentsResponse
527527
```
528528

529529
Join Issued Documents
@@ -550,10 +550,10 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi(
550550
$company_id = 12345; // int | The ID of the company.
551551
$ids = 1,2,3,4; // string | Ids of the documents.
552552
$group = 56; // int | Group items.
553-
$e_invoice = 56; // int | New document e_invoice.
553+
$parameter = delivery_notes, orders, quotes, work_reports; // string | Type of the parameters to be joined
554554

555555
try {
556-
$result = $apiInstance->joinIssuedDocuments($company_id, $ids, $group, $e_invoice);
556+
$result = $apiInstance->joinIssuedDocuments($company_id, $ids, $group, $parameter);
557557
print_r($result);
558558
} catch (Exception $e) {
559559
echo 'Exception when calling IssuedDocumentsApi->joinIssuedDocuments: ', $e->getMessage(), PHP_EOL;
@@ -567,7 +567,7 @@ try {
567567
| **company_id** | **int**| The ID of the company. | |
568568
| **ids** | **string**| Ids of the documents. | |
569569
| **group** | **int**| Group items. | [optional] |
570-
| **e_invoice** | **int**| New document e_invoice. | [optional] |
570+
| **parameter** | **string**| Type of the parameters to be joined | [optional] |
571571

572572
### Return type
573573

@@ -792,7 +792,7 @@ void (empty response body)
792792
## `transformIssuedDocument()`
793793

794794
```php
795-
transformIssuedDocument($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy): \FattureInCloud\Model\TransformIssuedDocumentResponse
795+
transformIssuedDocument($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy): \FattureInCloud\Model\TransformIssuedDocumentResponse
796796
```
797797

798798
Transform Issued Document
@@ -819,11 +819,12 @@ $apiInstance = new FattureInCloud\Api\IssuedDocumentsApi(
819819
$company_id = 12345; // int | The ID of the company.
820820
$original_document_id = 56; // int | Original document id.
821821
$new_type = 'new_type_example'; // string | New document type.
822+
$parameter = 'parameter_example'; // string | Old document type.
822823
$e_invoice = 56; // int | New document e_invoice.
823824
$transform_keep_copy = 56; // int | Keep the old document.
824825

825826
try {
826-
$result = $apiInstance->transformIssuedDocument($company_id, $original_document_id, $new_type, $e_invoice, $transform_keep_copy);
827+
$result = $apiInstance->transformIssuedDocument($company_id, $original_document_id, $new_type, $parameter, $e_invoice, $transform_keep_copy);
827828
print_r($result);
828829
} catch (Exception $e) {
829830
echo 'Exception when calling IssuedDocumentsApi->transformIssuedDocument: ', $e->getMessage(), PHP_EOL;
@@ -837,6 +838,7 @@ try {
837838
| **company_id** | **int**| The ID of the company. | |
838839
| **original_document_id** | **int**| Original document id. | |
839840
| **new_type** | **string**| New document type. | |
841+
| **parameter** | **string**| Old document type. | [optional] |
840842
| **e_invoice** | **int**| New document e_invoice. | [optional] |
841843
| **transform_keep_copy** | **int**| Keep the old document. | [optional] |
842844

docs/Api/SettingsApi.md

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ All URIs are relative to https://api-v2.fattureincloud.it, except if the operati
1212
| [**deleteVatType()**](SettingsApi.md#deleteVatType) | **DELETE** /c/{company_id}/settings/vat_types/{vat_type_id} | Delete Vat Type |
1313
| [**getPaymentAccount()**](SettingsApi.md#getPaymentAccount) | **GET** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Get Payment Account |
1414
| [**getPaymentMethod()**](SettingsApi.md#getPaymentMethod) | **GET** /c/{company_id}/settings/payment_methods/{payment_method_id} | Get Payment Method |
15+
| [**getTaxProfile()**](SettingsApi.md#getTaxProfile) | **GET** /c/{company_id}/settings/tax_profile | Get Tax Profile |
1516
| [**getVatType()**](SettingsApi.md#getVatType) | **GET** /c/{company_id}/settings/vat_types/{vat_type_id} | Get Vat Type |
1617
| [**modifyPaymentAccount()**](SettingsApi.md#modifyPaymentAccount) | **PUT** /c/{company_id}/settings/payment_accounts/{payment_account_id} | Modify Payment Account |
1718
| [**modifyPaymentMethod()**](SettingsApi.md#modifyPaymentMethod) | **PUT** /c/{company_id}/settings/payment_methods/{payment_method_id} | Modify Payment Method |
@@ -519,6 +520,66 @@ try {
519520
[[Back to Model list]](../../README.md#models)
520521
[[Back to README]](../../README.md)
521522

523+
## `getTaxProfile()`
524+
525+
```php
526+
getTaxProfile($company_id): \FattureInCloud\Model\GetTaxProfileResponse
527+
```
528+
529+
Get Tax Profile
530+
531+
Gets the Tax Profile
532+
533+
### Example
534+
535+
```php
536+
<?php
537+
require_once(__DIR__ . '/vendor/autoload.php');
538+
539+
540+
// Configure OAuth2 access token for authorization: OAuth2AuthenticationCodeFlow
541+
$config = FattureInCloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
542+
543+
544+
$apiInstance = new FattureInCloud\Api\SettingsApi(
545+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
546+
// This is optional, `GuzzleHttp\Client` will be used as default.
547+
new GuzzleHttp\Client(),
548+
$config
549+
);
550+
$company_id = 12345; // int | The ID of the company.
551+
552+
try {
553+
$result = $apiInstance->getTaxProfile($company_id);
554+
print_r($result);
555+
} catch (Exception $e) {
556+
echo 'Exception when calling SettingsApi->getTaxProfile: ', $e->getMessage(), PHP_EOL;
557+
}
558+
```
559+
560+
### Parameters
561+
562+
| Name | Type | Description | Notes |
563+
| ------------- | ------------- | ------------- | ------------- |
564+
| **company_id** | **int**| The ID of the company. | |
565+
566+
### Return type
567+
568+
[**\FattureInCloud\Model\GetTaxProfileResponse**](../Model/GetTaxProfileResponse.md)
569+
570+
### Authorization
571+
572+
[OAuth2AuthenticationCodeFlow](../../README.md#OAuth2AuthenticationCodeFlow)
573+
574+
### HTTP request headers
575+
576+
- **Content-Type**: Not defined
577+
- **Accept**: `application/json`
578+
579+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
580+
[[Back to Model list]](../../README.md#models)
581+
[[Back to README]](../../README.md)
582+
522583
## `getVatType()`
523584

524585
```php

docs/Model/Email.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**id** | **int** | Email id | [optional]
88
**status** | [**\FattureInCloud\Model\EmailStatus**](EmailStatus.md) | | [optional]
9-
**sent_date** | **\DateTime** | Email sent date | [optional]
9+
**sent_date** | **string** | Email sent date | [optional]
1010
**errors_count** | **int** | Email errors count | [optional]
1111
**error_log** | **string** | Email errors log | [optional]
1212
**from_email** | **string** | Email sender email | [optional]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# # GetTaxProfileResponse
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**data** | [**\FattureInCloud\Model\TaxProfile**](TaxProfile.md) | | [optional]
8+
9+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

docs/Model/IssuedDocument.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
**year** | **int** | Issued document year | [optional]
1414
**currency** | [**\FattureInCloud\Model\Currency**](Currency.md) | | [optional]
1515
**language** | [**\FattureInCloud\Model\Language**](Language.md) | | [optional]
16-
**subject** | **string** | Issued document subject | [optional]
16+
**subject** | **string** | Issued document subject [not shown on the PDF] | [optional]
1717
**visible_subject** | **string** | Issued document visible subject | [optional]
1818
**rc_center** | **string** | Issued document revenue center [or cost center if type&#x3D;supplier_order]. | [optional]
1919
**notes** | **string** | Issued document extra notes | [optional]

docs/Model/TaxProfile.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# # TaxProfile
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**company_type** | **string** | The company type | [optional]
8+
**company_subtype** | **string** | The company subtype | [optional]
9+
**profession** | **string** | The profession | [optional]
10+
**regime** | **string** | The applied regime | [optional]
11+
**rivalsa_name** | **string** | The name of the rivalsa | [optional]
12+
**default_rivalsa** | **float** | The default rivalsa amount | [optional]
13+
**cassa_name** | **string** | The name of the cassa | [optional]
14+
**default_cassa** | **float** | The default cassa amount | [optional]
15+
**default_cassa_taxable** | **float** | The default taxable amount for the cassa | [optional]
16+
**cassa2_name** | **string** | The name of the second cassa | [optional]
17+
**default_cassa2** | **float** | The default second cassa amount | [optional]
18+
**default_cassa2_taxable** | **float** | The default taxable amount for the second cassa | [optional]
19+
**default_withholding_tax** | **float** | The default withholding tax | [optional]
20+
**default_withholding_tax_taxable** | **float** | The default taxable amount for the withholding tax | [optional]
21+
**default_other_withholding_tax** | **float** | The default other withholding tax | [optional]
22+
**enasarco** | **bool** | If it has enasarco | [optional]
23+
**enasarco_type** | **string** | The enasarco type | [optional]
24+
**contributions_percentage** | **float** | The contributions percentage | [optional]
25+
**profit_coefficient** | **float** | The profit coefficient | [optional]
26+
**med** | **bool** | If the health card system is active | [optional]
27+
**default_vat** | [**\FattureInCloud\Model\VatType**](VatType.md) | | [optional]
28+
29+
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)

0 commit comments

Comments
 (0)