Skip to content

Commit 5e25459

Browse files
author
Invoicetronic bot
committed
Publish SDKs for tag sdk-1.2
1 parent 0d244b1 commit 5e25459

File tree

155 files changed

+273
-214
lines changed

Some content is hidden

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

155 files changed

+273
-214
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Changelog\n\n## [1.1.7.0] - 2026-01-07\nSee main repository changelog for details.
1+
# Changelog\n\n## [1.2.0] - 2026-02-10\nSee main repository changelog for details.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ For more information, see [Invoicetronic website][2]
77
[1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/
88
[2]: https://invoicetronic.com/
99

10-
For more information, please visit [https://invoicetronic.com](https://invoicetronic.com).
10+
For more information, please visit [https://invoicetronic.com/en/contact/](https://invoicetronic.com/en/contact/).
1111

1212
## Installation & Usage
1313

@@ -198,5 +198,5 @@ info@invoicetronic.com
198198
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
199199

200200
- API version: `1`
201-
- Generator version: `7.18.0`
201+
- Generator version: `7.19.0`
202202
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`

docs/Api/CompanyApi.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ companyGet($page, $page_size, $sort): \Invoicetronic\Model\Company[]
2121

2222
List companies
2323

24-
Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
24+
Retrieve a paginated list of companies. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
2525

2626
### Example
2727

@@ -82,12 +82,12 @@ try {
8282
## `companyIdDelete()`
8383

8484
```php
85-
companyIdDelete($id): \Invoicetronic\Model\Company
85+
companyIdDelete($id, $force): \Invoicetronic\Model\Company
8686
```
8787

8888
Delete a company
8989

90-
Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
90+
Delete a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received. **Warning:** Deleting a company will permanently remove all associated data, including sent invoices, received invoices, invoice updates from SDI, logs, and webhooks. If the company has any linked invoices, you must explicitly confirm deletion by adding `?force=true` to the request. Without this parameter, the API will return `409 Conflict` with details about the linked data.
9191

9292
### Example
9393

@@ -109,9 +109,10 @@ $apiInstance = new Invoicetronic\Api\CompanyApi(
109109
$config
110110
);
111111
$id = 56; // int | Item id
112+
$force = false; // bool | Force delete including all related data.
112113

113114
try {
114-
$result = $apiInstance->companyIdDelete($id);
115+
$result = $apiInstance->companyIdDelete($id, $force);
115116
print_r($result);
116117
} catch (Exception $e) {
117118
echo 'Exception when calling CompanyApi->companyIdDelete: ', $e->getMessage(), PHP_EOL;
@@ -123,6 +124,7 @@ try {
123124
| Name | Type | Description | Notes |
124125
| ------------- | ------------- | ------------- | ------------- |
125126
| **id** | **int**| Item id | |
127+
| **force** | **bool**| Force delete including all related data. | [optional] [default to false] |
126128

127129
### Return type
128130

@@ -149,7 +151,7 @@ companyIdGet($id): \Invoicetronic\Model\Company
149151

150152
Get a company by id
151153

152-
Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
154+
Retrieve a company by its internal id. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
153155

154156
### Example
155157

@@ -211,7 +213,7 @@ companyPost($company): \Invoicetronic\Model\Company
211213

212214
Add a company
213215

214-
Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
216+
Add a new company. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
215217

216218
### Example
217219

@@ -273,7 +275,7 @@ companyPut($company): \Invoicetronic\Model\Company
273275

274276
Update a company
275277

276-
Companies are the entities that send and receive invoices. As you send invoices, companies are added as needed (company details are extrapolated). **You can only receive invoices for existing companies, so ensure they exist**.
278+
Update an existing company. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
277279

278280
### Example
279281

docs/Api/LogApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ logGet($company_id, $endpoint, $method, $api_verion, $status_code, $date_created
1818

1919
List events
2020

21-
Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
21+
Retrieve a paginated list of log events. Results can be filtered by various criteria such as endpoint, method, status code, and date ranges. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
2222

2323
### Example
2424

@@ -106,7 +106,7 @@ logIdGet($id): \Invoicetronic\Model\Event
106106

107107
Get an event by id
108108

109-
Every API operation is logged and can be retrieved here. Log records are preserved for 15 days.
109+
Retrieve a log event by its internal id. **Logs** record every API request. They are preserved for 15 days. You can also view logs in the Events section of the [Dashboard](https://dashboard.invoicetronic.com).
110110

111111
### Example
112112

docs/Api/ReceiveApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ receiveGet($company_id, $identifier, $unread, $committente, $prestatore, $file_n
1919

2020
List incoming invoices
2121

22-
Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
22+
Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
2323

2424
### Example
2525

@@ -113,7 +113,7 @@ receiveIdDelete($id): \Invoicetronic\Model\Receive
113113

114114
Delete an incoming invoice by id
115115

116-
Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
116+
Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
117117

118118
### Example
119119

@@ -175,7 +175,7 @@ receiveIdGet($id, $include_payload): \Invoicetronic\Model\Receive
175175

176176
Get an incoming invoice by id
177177

178-
Receive invoices are the invoices that are received from other companies. They are preserved for two years in the live environment and 24 hours in the Sandbox.
178+
Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
179179

180180
### Example
181181

docs/Api/SendApi.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ sendFilePost($file, $validate, $signature): \Invoicetronic\Model\Send
2727

2828
Add an invoice by file
2929

30-
Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
30+
Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
3131

3232
### Example
3333

@@ -93,7 +93,7 @@ sendGet($company_id, $identifier, $committente, $prestatore, $file_name, $last_u
9393

9494
List invoices
9595

96-
test **markdown**.
96+
Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
9797

9898
### Example
9999

@@ -185,7 +185,7 @@ sendIdGet($id, $include_payload): \Invoicetronic\Model\Send
185185

186186
Get a invoice by id
187187

188-
Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
188+
Retrieve a send invoice by its internal id. The `id` is unique and assigned by the system when the invoice is created. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
189189

190190
### Example
191191

@@ -249,7 +249,7 @@ sendIdentifierGet($identifier, $include_payload): \Invoicetronic\Model\Send
249249

250250
Get a invoice by identifier
251251

252-
Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
252+
Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
253253

254254
### Example
255255

@@ -313,7 +313,7 @@ sendJsonPost($fattura_ordinaria, $validate, $signature): \Invoicetronic\Model\Se
313313

314314
Add an invoice by json
315315

316-
Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
316+
Add a new invoice using a FatturaPA JSON representation. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
317317

318318
### Example
319319

@@ -379,7 +379,7 @@ sendPost($send, $validate, $signature): \Invoicetronic\Model\Send
379379

380380
Add an invoice
381381

382-
Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
382+
Add a new invoice using a structured Send object. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
383383

384384
### Example
385385

@@ -445,7 +445,7 @@ sendValidateFilePost($file)
445445

446446
Validate an invoice file
447447

448-
Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
448+
Validate an invoice file without sending it to SDI. Supported formats are XML (FatturaPA) and P7M (signed). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
449449

450450
### Example
451451

@@ -506,7 +506,7 @@ sendValidateJsonPost($fattura_ordinaria)
506506

507507
Validate an invoice by json
508508

509-
Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
509+
Validate a JSON invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
510510

511511
### Example
512512

@@ -567,7 +567,7 @@ sendValidatePost($send)
567567

568568
Validate an invoice
569569

570-
Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
570+
Validate an invoice without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
571571

572572
### Example
573573

@@ -628,7 +628,7 @@ sendValidateXmlPost($fattura_ordinaria)
628628

629629
Validate an invoice by xml
630630

631-
Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
631+
Validate an XML invoice document without sending it to SDI. Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
632632

633633
### Example
634634

@@ -689,7 +689,7 @@ sendXmlPost($fattura_ordinaria, $validate, $signature): \Invoicetronic\Model\Sen
689689

690690
Add an invoice by xml
691691

692-
Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
692+
Add a new invoice using a raw XML document in FatturaPA format. The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy's SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
693693

694694
### Example
695695

docs/Api/StatusApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ statusGet(): \Invoicetronic\Model\Status
1717

1818
Account status
1919

20-
This endpoint is used to know how many operations (invoices + validations) and signatures are left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response if you try to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can raise the limits by purchasing operations and/or signatures from the [Dashboard](https://dashboard.invoicetronic.com). __Please note__ that these values are not enforced if you are on the Sandbox. See the [API Keys & Sandbox](https://invoicetronic.com/apikeys/) documentation section to learn more about the Sandbox.
20+
Retrieve the number of operations (invoices + validations) and signatures left on your account. When `signature_left` is 0, you will receive a `403 Forbidden` response when trying to sign an invoice. Likewise, if `operation_left` is 0, you will receive a `403 Forbidden` response when storing or validating an invoice. You can also check your account status from the [Dashboard](https://dashboard.invoicetronic.com), where you can purchase additional operations and/or signatures. **Please note** that these values are not enforced if you are on the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
2121

2222
### Example
2323

0 commit comments

Comments
 (0)