Skip to content

Commit 260105f

Browse files
author
Invoicetronic bot
committed
Publish SDKs for tag sdk-1.4
1 parent 19b8511 commit 260105f

File tree

199 files changed

+1034
-37704
lines changed

Some content is hidden

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

199 files changed

+1034
-37704
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.3.0] - 2026-02-13\nSee main repository changelog for details.
1+
# Changelog\n\n## [1.4.0] - 2026-02-25\nSee main repository changelog for details.

README.md

Lines changed: 4 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,18 @@ Class | Method | HTTP request | Description
8383
*CompanyApi* | [**companyIdGet**](docs/Api/CompanyApi.md#companyidget) | **GET** /company/{id} | Get a company by id
8484
*CompanyApi* | [**companyPost**](docs/Api/CompanyApi.md#companypost) | **POST** /company | Add a company
8585
*CompanyApi* | [**companyPut**](docs/Api/CompanyApi.md#companyput) | **PUT** /company | Update a company
86+
*CompanyApi* | [**companyVatGet**](docs/Api/CompanyApi.md#companyvatget) | **GET** /company/{vat} | Get a company by vat number
8687
*ExportApi* | [**exportGet**](docs/Api/ExportApi.md#exportget) | **GET** /export | Export invoices as a ZIP archive
8788
*LogApi* | [**logGet**](docs/Api/LogApi.md#logget) | **GET** /log | List events
8889
*LogApi* | [**logIdGet**](docs/Api/LogApi.md#logidget) | **GET** /log/{id} | Get an event by id
8990
*ReceiveApi* | [**receiveGet**](docs/Api/ReceiveApi.md#receiveget) | **GET** /receive | List incoming invoices
9091
*ReceiveApi* | [**receiveIdDelete**](docs/Api/ReceiveApi.md#receiveiddelete) | **DELETE** /receive/{id} | Delete an incoming invoice by id
9192
*ReceiveApi* | [**receiveIdGet**](docs/Api/ReceiveApi.md#receiveidget) | **GET** /receive/{id} | Get an incoming invoice by id
93+
*ReceiveApi* | [**receiveIdPayloadGet**](docs/Api/ReceiveApi.md#receiveidpayloadget) | **GET** /receive/{id}/payload | Get a receive invoice payload by id
9294
*SendApi* | [**sendFilePost**](docs/Api/SendApi.md#sendfilepost) | **POST** /send/file | Add an invoice by file
9395
*SendApi* | [**sendGet**](docs/Api/SendApi.md#sendget) | **GET** /send | List invoices
9496
*SendApi* | [**sendIdGet**](docs/Api/SendApi.md#sendidget) | **GET** /send/{id} | Get a invoice by id
97+
*SendApi* | [**sendIdPayloadGet**](docs/Api/SendApi.md#sendidpayloadget) | **GET** /send/{id}/payload | Get a send invoice payload by id
9598
*SendApi* | [**sendIdentifierGet**](docs/Api/SendApi.md#sendidentifierget) | **GET** /send/{identifier} | Get a invoice by identifier
9699
*SendApi* | [**sendJsonPost**](docs/Api/SendApi.md#sendjsonpost) | **POST** /send/json | Add an invoice by json
97100
*SendApi* | [**sendPost**](docs/Api/SendApi.md#sendpost) | **POST** /send | Add an invoice
@@ -113,63 +116,11 @@ Class | Method | HTTP request | Description
113116

114117
## Models
115118

116-
- [Allegati](docs/Model/Allegati.md)
117-
- [AltriDatiGestionali](docs/Model/AltriDatiGestionali.md)
118-
- [Anagrafica](docs/Model/Anagrafica.md)
119-
- [CedentePrestatore](docs/Model/CedentePrestatore.md)
120-
- [CessionarioCommittente](docs/Model/CessionarioCommittente.md)
121-
- [CodiceArticolo](docs/Model/CodiceArticolo.md)
122119
- [Company](docs/Model/Company.md)
123-
- [Contatti](docs/Model/Contatti.md)
124-
- [ContattiTrasmittente](docs/Model/ContattiTrasmittente.md)
125-
- [DatiAnagrafici](docs/Model/DatiAnagrafici.md)
126-
- [DatiAnagraficiCedentePrestatore](docs/Model/DatiAnagraficiCedentePrestatore.md)
127-
- [DatiAnagraficiCessionarioCommittente](docs/Model/DatiAnagraficiCessionarioCommittente.md)
128-
- [DatiAnagraficiVettore](docs/Model/DatiAnagraficiVettore.md)
129-
- [DatiBeniServizi](docs/Model/DatiBeniServizi.md)
130-
- [DatiBollo](docs/Model/DatiBollo.md)
131-
- [DatiCassaPrevidenziale](docs/Model/DatiCassaPrevidenziale.md)
132-
- [DatiContratto](docs/Model/DatiContratto.md)
133-
- [DatiConvenzione](docs/Model/DatiConvenzione.md)
134-
- [DatiDDT](docs/Model/DatiDDT.md)
135-
- [DatiFattureCollegate](docs/Model/DatiFattureCollegate.md)
136-
- [DatiGenerali](docs/Model/DatiGenerali.md)
137-
- [DatiGeneraliDocumento](docs/Model/DatiGeneraliDocumento.md)
138-
- [DatiOrdineAcquisto](docs/Model/DatiOrdineAcquisto.md)
139-
- [DatiPagamento](docs/Model/DatiPagamento.md)
140-
- [DatiRicezione](docs/Model/DatiRicezione.md)
141-
- [DatiRiepilogo](docs/Model/DatiRiepilogo.md)
142-
- [DatiRitenuta](docs/Model/DatiRitenuta.md)
143-
- [DatiSAL](docs/Model/DatiSAL.md)
144-
- [DatiTrasmissione](docs/Model/DatiTrasmissione.md)
145-
- [DatiTrasporto](docs/Model/DatiTrasporto.md)
146-
- [DatiVeicoli](docs/Model/DatiVeicoli.md)
147-
- [DettaglioLinee](docs/Model/DettaglioLinee.md)
148-
- [DettaglioPagamento](docs/Model/DettaglioPagamento.md)
149-
- [DocumentData](docs/Model/DocumentData.md)
150-
- [Error](docs/Model/Error.md)
151120
- [Event](docs/Model/Event.md)
152-
- [FatturaElettronicaBody](docs/Model/FatturaElettronicaBody.md)
153-
- [FatturaElettronicaHeader](docs/Model/FatturaElettronicaHeader.md)
154-
- [FatturaOrdinaria](docs/Model/FatturaOrdinaria.md)
155-
- [FatturaPrincipale](docs/Model/FatturaPrincipale.md)
156-
- [IdFiscaleIVA](docs/Model/IdFiscaleIVA.md)
157-
- [IdTrasmittente](docs/Model/IdTrasmittente.md)
158-
- [IndirizzoResa](docs/Model/IndirizzoResa.md)
159-
- [IscrizioneREA](docs/Model/IscrizioneREA.md)
160-
- [ProblemDetails](docs/Model/ProblemDetails.md)
161-
- [ProblemHttpResult](docs/Model/ProblemHttpResult.md)
162-
- [RappresentanteFiscale](docs/Model/RappresentanteFiscale.md)
163-
- [RappresentanteFiscaleCessionarioCommittente](docs/Model/RappresentanteFiscaleCessionarioCommittente.md)
164121
- [Receive](docs/Model/Receive.md)
165-
- [ScontoMaggiorazione](docs/Model/ScontoMaggiorazione.md)
166-
- [SedeCedentePrestatore](docs/Model/SedeCedentePrestatore.md)
167-
- [SedeCessionarioCommittente](docs/Model/SedeCessionarioCommittente.md)
168122
- [Send](docs/Model/Send.md)
169-
- [SendReduced](docs/Model/SendReduced.md)
170-
- [StabileOrganizzazione](docs/Model/StabileOrganizzazione.md)
171123
- [Status](docs/Model/Status.md)
172-
- [TerzoIntermediarioOSoggettoEmittente](docs/Model/TerzoIntermediarioOSoggettoEmittente.md)
173124
- [Update](docs/Model/Update.md)
174125
- [WebHook](docs/Model/WebHook.md)
175126
- [WebHookHistory](docs/Model/WebHookHistory.md)
@@ -199,5 +150,5 @@ info@invoicetronic.com
199150
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
200151

201152
- API version: `1`
202-
- Generator version: `7.19.0`
153+
- Generator version: `7.20.0`
203154
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`

docs/Api/CompanyApi.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ All URIs are relative to https://api.invoicetronic.com, except if the operation
1111
| [**companyIdGet()**](CompanyApi.md#companyIdGet) | **GET** /company/{id} | Get a company by id |
1212
| [**companyPost()**](CompanyApi.md#companyPost) | **POST** /company | Add a company |
1313
| [**companyPut()**](CompanyApi.md#companyPut) | **PUT** /company | Update a company |
14+
| [**companyVatGet()**](CompanyApi.md#companyVatGet) | **GET** /company/{vat} | Get a company by vat number |
1415

1516

1617
## `companyGet()`
@@ -328,3 +329,65 @@ try {
328329
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
329330
[[Back to Model list]](../../README.md#models)
330331
[[Back to README]](../../README.md)
332+
333+
## `companyVatGet()`
334+
335+
```php
336+
companyVatGet($vat): \Invoicetronic\Model\Company
337+
```
338+
339+
Get a company by vat number
340+
341+
Retrieve a company by its VAT number. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
342+
343+
### Example
344+
345+
```php
346+
<?php
347+
require_once(__DIR__ . '/vendor/autoload.php');
348+
349+
350+
// Configure HTTP basic authorization: Basic
351+
$config = Invoicetronic\Configuration::getDefaultConfiguration()
352+
->setUsername('YOUR_USERNAME')
353+
->setPassword('YOUR_PASSWORD');
354+
355+
356+
$apiInstance = new Invoicetronic\Api\CompanyApi(
357+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
358+
// This is optional, `GuzzleHttp\Client` will be used as default.
359+
new GuzzleHttp\Client(),
360+
$config
361+
);
362+
$vat = 'vat_example'; // string
363+
364+
try {
365+
$result = $apiInstance->companyVatGet($vat);
366+
print_r($result);
367+
} catch (Exception $e) {
368+
echo 'Exception when calling CompanyApi->companyVatGet: ', $e->getMessage(), PHP_EOL;
369+
}
370+
```
371+
372+
### Parameters
373+
374+
| Name | Type | Description | Notes |
375+
| ------------- | ------------- | ------------- | ------------- |
376+
| **vat** | **string**| | |
377+
378+
### Return type
379+
380+
[**\Invoicetronic\Model\Company**](../Model/Company.md)
381+
382+
### Authorization
383+
384+
[Basic](../../README.md#Basic)
385+
386+
### HTTP request headers
387+
388+
- **Content-Type**: Not defined
389+
- **Accept**: `application/json`
390+
391+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
392+
[[Back to Model list]](../../README.md#models)
393+
[[Back to README]](../../README.md)

docs/Api/ReceiveApi.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All URIs are relative to https://api.invoicetronic.com, except if the operation
99
| [**receiveGet()**](ReceiveApi.md#receiveGet) | **GET** /receive | List incoming invoices |
1010
| [**receiveIdDelete()**](ReceiveApi.md#receiveIdDelete) | **DELETE** /receive/{id} | Delete an incoming invoice by id |
1111
| [**receiveIdGet()**](ReceiveApi.md#receiveIdGet) | **GET** /receive/{id} | Get an incoming invoice by id |
12+
| [**receiveIdPayloadGet()**](ReceiveApi.md#receiveIdPayloadGet) | **GET** /receive/{id}/payload | Get a receive invoice payload by id |
1213

1314

1415
## `receiveGet()`
@@ -230,3 +231,64 @@ try {
230231
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
231232
[[Back to Model list]](../../README.md#models)
232233
[[Back to README]](../../README.md)
234+
235+
## `receiveIdPayloadGet()`
236+
237+
```php
238+
receiveIdPayloadGet($id)
239+
```
240+
241+
Get a receive invoice payload by id
242+
243+
Retrieve only the payload of a receive invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. The invoice is marked as read (`is_read` = true) and counted as an operation, same as when retrieving the full invoice with `include_payload=true`.
244+
245+
### Example
246+
247+
```php
248+
<?php
249+
require_once(__DIR__ . '/vendor/autoload.php');
250+
251+
252+
// Configure HTTP basic authorization: Basic
253+
$config = Invoicetronic\Configuration::getDefaultConfiguration()
254+
->setUsername('YOUR_USERNAME')
255+
->setPassword('YOUR_PASSWORD');
256+
257+
258+
$apiInstance = new Invoicetronic\Api\ReceiveApi(
259+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
260+
// This is optional, `GuzzleHttp\Client` will be used as default.
261+
new GuzzleHttp\Client(),
262+
$config
263+
);
264+
$id = 56; // int | Item id
265+
266+
try {
267+
$apiInstance->receiveIdPayloadGet($id);
268+
} catch (Exception $e) {
269+
echo 'Exception when calling ReceiveApi->receiveIdPayloadGet: ', $e->getMessage(), PHP_EOL;
270+
}
271+
```
272+
273+
### Parameters
274+
275+
| Name | Type | Description | Notes |
276+
| ------------- | ------------- | ------------- | ------------- |
277+
| **id** | **int**| Item id | |
278+
279+
### Return type
280+
281+
void (empty response body)
282+
283+
### Authorization
284+
285+
[Basic](../../README.md#Basic)
286+
287+
### HTTP request headers
288+
289+
- **Content-Type**: Not defined
290+
- **Accept**: `application/problem+json`
291+
292+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
293+
[[Back to Model list]](../../README.md#models)
294+
[[Back to README]](../../README.md)

docs/Api/SendApi.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All URIs are relative to https://api.invoicetronic.com, except if the operation
99
| [**sendFilePost()**](SendApi.md#sendFilePost) | **POST** /send/file | Add an invoice by file |
1010
| [**sendGet()**](SendApi.md#sendGet) | **GET** /send | List invoices |
1111
| [**sendIdGet()**](SendApi.md#sendIdGet) | **GET** /send/{id} | Get a invoice by id |
12+
| [**sendIdPayloadGet()**](SendApi.md#sendIdPayloadGet) | **GET** /send/{id}/payload | Get a send invoice payload by id |
1213
| [**sendIdentifierGet()**](SendApi.md#sendIdentifierGet) | **GET** /send/{identifier} | Get a invoice by identifier |
1314
| [**sendJsonPost()**](SendApi.md#sendJsonPost) | **POST** /send/json | Add an invoice by json |
1415
| [**sendPost()**](SendApi.md#sendPost) | **POST** /send | Add an invoice |
@@ -241,6 +242,67 @@ try {
241242
[[Back to Model list]](../../README.md#models)
242243
[[Back to README]](../../README.md)
243244

245+
## `sendIdPayloadGet()`
246+
247+
```php
248+
sendIdPayloadGet($id)
249+
```
250+
251+
Get a send invoice payload by id
252+
253+
Retrieve only the payload of a send invoice, without the full invoice metadata. This is useful when you already have the invoice metadata and only need the XML content. The response is a `text/plain` string, identical to the `payload` field returned by the standard GET endpoint with `include_payload=true`. Depending on how the invoice was originally submitted, the payload may be Base64-encoded or plain XML.
254+
255+
### Example
256+
257+
```php
258+
<?php
259+
require_once(__DIR__ . '/vendor/autoload.php');
260+
261+
262+
// Configure HTTP basic authorization: Basic
263+
$config = Invoicetronic\Configuration::getDefaultConfiguration()
264+
->setUsername('YOUR_USERNAME')
265+
->setPassword('YOUR_PASSWORD');
266+
267+
268+
$apiInstance = new Invoicetronic\Api\SendApi(
269+
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
270+
// This is optional, `GuzzleHttp\Client` will be used as default.
271+
new GuzzleHttp\Client(),
272+
$config
273+
);
274+
$id = 56; // int | Item id
275+
276+
try {
277+
$apiInstance->sendIdPayloadGet($id);
278+
} catch (Exception $e) {
279+
echo 'Exception when calling SendApi->sendIdPayloadGet: ', $e->getMessage(), PHP_EOL;
280+
}
281+
```
282+
283+
### Parameters
284+
285+
| Name | Type | Description | Notes |
286+
| ------------- | ------------- | ------------- | ------------- |
287+
| **id** | **int**| Item id | |
288+
289+
### Return type
290+
291+
void (empty response body)
292+
293+
### Authorization
294+
295+
[Basic](../../README.md#Basic)
296+
297+
### HTTP request headers
298+
299+
- **Content-Type**: Not defined
300+
- **Accept**: `application/problem+json`
301+
302+
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
303+
[[Back to Model list]](../../README.md#models)
304+
[[Back to README]](../../README.md)
305+
244306
## `sendIdentifierGet()`
245307

246308
```php

docs/Model/Allegati.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/Model/AltriDatiGestionali.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/Model/Anagrafica.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/Model/CedentePrestatore.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/Model/CessionarioCommittente.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)