@invoicetronic/ts-sdk 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +2 -2
- package/api.ts +2 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +2 -1
- package/dist/esm/api.js +2 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/src/api/company-api.d.ts +16 -11
- package/dist/esm/src/api/company-api.js +20 -31
- package/dist/esm/src/api/export-api.d.ts +11 -17
- package/dist/esm/src/api/export-api.js +6 -14
- package/dist/esm/src/api/health-api.d.ts +74 -0
- package/dist/esm/src/api/health-api.js +117 -0
- package/dist/esm/src/api/log-api.d.ts +11 -6
- package/dist/esm/src/api/log-api.js +16 -15
- package/dist/esm/src/api/receive-api.d.ts +16 -11
- package/dist/esm/src/api/receive-api.js +20 -25
- package/dist/esm/src/api/send-api.d.ts +56 -52
- package/dist/esm/src/api/send-api.js +76 -105
- package/dist/esm/src/api/status-api.d.ts +1 -1
- package/dist/esm/src/api/status-api.js +2 -5
- package/dist/esm/src/api/update-api.d.ts +11 -11
- package/dist/esm/src/api/update-api.js +10 -16
- package/dist/esm/src/api/webhook-api.d.ts +1 -1
- package/dist/esm/src/api/webhook-api.js +2 -23
- package/dist/esm/src/models/company.d.ts +1 -1
- package/dist/esm/src/models/company.js +1 -1
- package/dist/esm/src/models/document-data.d.ts +15 -0
- package/dist/esm/src/models/document-data.js +14 -0
- package/dist/esm/src/models/event.d.ts +5 -1
- package/dist/esm/src/models/event.js +1 -1
- package/dist/esm/src/models/index.d.ts +4 -0
- package/dist/esm/src/models/index.js +4 -0
- package/dist/esm/src/models/model-error.d.ts +28 -0
- package/dist/esm/src/models/model-error.js +14 -0
- package/dist/esm/src/models/problem-details.d.ts +19 -0
- package/dist/esm/src/models/problem-details.js +14 -0
- package/dist/esm/src/models/receive.d.ts +6 -2
- package/dist/esm/src/models/receive.js +1 -1
- package/dist/esm/src/models/send-reduced.d.ts +39 -0
- package/dist/esm/src/models/send-reduced.js +14 -0
- package/dist/esm/src/models/send.d.ts +6 -2
- package/dist/esm/src/models/send.js +1 -1
- package/dist/esm/src/models/status.d.ts +1 -1
- package/dist/esm/src/models/status.js +1 -1
- package/dist/esm/src/models/update.d.ts +1 -1
- package/dist/esm/src/models/update.js +1 -1
- package/dist/esm/src/models/web-hook-history.d.ts +1 -1
- package/dist/esm/src/models/web-hook-history.js +1 -1
- package/dist/esm/src/models/web-hook.d.ts +2 -2
- package/dist/esm/src/models/web-hook.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/src/api/company-api.d.ts +16 -11
- package/dist/src/api/company-api.js +19 -30
- package/dist/src/api/export-api.d.ts +11 -17
- package/dist/src/api/export-api.js +6 -14
- package/dist/src/api/health-api.d.ts +74 -0
- package/dist/src/api/health-api.js +124 -0
- package/dist/src/api/log-api.d.ts +11 -6
- package/dist/src/api/log-api.js +15 -14
- package/dist/src/api/receive-api.d.ts +16 -11
- package/dist/src/api/receive-api.js +19 -24
- package/dist/src/api/send-api.d.ts +56 -52
- package/dist/src/api/send-api.js +75 -104
- package/dist/src/api/status-api.d.ts +1 -1
- package/dist/src/api/status-api.js +1 -4
- package/dist/src/api/update-api.d.ts +11 -11
- package/dist/src/api/update-api.js +9 -15
- package/dist/src/api/webhook-api.d.ts +1 -1
- package/dist/src/api/webhook-api.js +1 -22
- package/dist/src/models/company.d.ts +1 -1
- package/dist/src/models/company.js +1 -1
- package/dist/src/models/document-data.d.ts +15 -0
- package/dist/src/models/document-data.js +15 -0
- package/dist/src/models/event.d.ts +5 -1
- package/dist/src/models/event.js +1 -1
- package/dist/src/models/index.d.ts +4 -0
- package/dist/src/models/index.js +4 -0
- package/dist/src/models/model-error.d.ts +28 -0
- package/dist/src/models/model-error.js +15 -0
- package/dist/src/models/problem-details.d.ts +19 -0
- package/dist/src/models/problem-details.js +15 -0
- package/dist/src/models/receive.d.ts +6 -2
- package/dist/src/models/receive.js +1 -1
- package/dist/src/models/send-reduced.d.ts +39 -0
- package/dist/src/models/send-reduced.js +15 -0
- package/dist/src/models/send.d.ts +6 -2
- package/dist/src/models/send.js +1 -1
- package/dist/src/models/status.d.ts +1 -1
- package/dist/src/models/status.js +1 -1
- package/dist/src/models/update.d.ts +1 -1
- package/dist/src/models/update.js +1 -1
- package/dist/src/models/web-hook-history.d.ts +1 -1
- package/dist/src/models/web-hook-history.js +1 -1
- package/dist/src/models/web-hook.d.ts +2 -2
- package/dist/src/models/web-hook.js +1 -1
- package/docs/CompanyApi.md +11 -15
- package/docs/DocumentData.md +22 -0
- package/docs/Error.md +25 -0
- package/docs/Event.md +2 -0
- package/docs/ExportApi.md +3 -3
- package/docs/HealthApi.md +54 -0
- package/docs/LogApi.md +6 -4
- package/docs/ProblemDetails.md +28 -0
- package/docs/Receive.md +3 -1
- package/docs/ReceiveApi.md +9 -10
- package/docs/Send.md +3 -1
- package/docs/SendApi.md +37 -48
- package/docs/SendReduced.md +29 -0
- package/docs/StatusApi.md +1 -1
- package/docs/UpdateApi.md +4 -5
- package/docs/WebHook.md +1 -1
- package/docs/WebhookApi.md +7 -14
- package/index.ts +1 -1
- package/package.json +1 -1
- package/src/api/company-api.ts +23 -40
- package/src/api/export-api.ts +11 -21
- package/src/api/health-api.ts +131 -0
- package/src/api/log-api.ts +18 -19
- package/src/api/receive-api.ts +23 -32
- package/src/api/send-api.ts +87 -130
- package/src/api/status-api.ts +1 -5
- package/src/api/update-api.ts +11 -21
- package/src/api/webhook-api.ts +1 -31
- package/src/models/company.ts +1 -1
- package/src/models/document-data.ts +21 -0
- package/src/models/event.ts +5 -1
- package/src/models/index.ts +4 -0
- package/src/models/model-error.ts +34 -0
- package/src/models/problem-details.ts +26 -0
- package/src/models/receive.ts +6 -2
- package/src/models/send-reduced.ts +45 -0
- package/src/models/send.ts +6 -2
- package/src/models/status.ts +1 -1
- package/src/models/update.ts +1 -1
- package/src/models/web-hook-history.ts +1 -1
- package/src/models/web-hook.ts +2 -2
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Invoicetronic API
|
|
6
|
+
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
|
+
* Contact: info@invoicetronic.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Invoicetronic API
|
|
3
3
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: info@invoicetronic.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,7 @@ export interface Receive {
|
|
|
31
31
|
*/
|
|
32
32
|
'user_id'?: number;
|
|
33
33
|
/**
|
|
34
|
-
* Company id. On send, this is the sender and must be set in advance. On receive, it will be
|
|
34
|
+
* Company id. On send, this is the sender and must be set in advance. On receive, it will be automatically set based on the recipient\'s VAT number. If a matching company is not found, the invoice will be rejected until the company is created.
|
|
35
35
|
*/
|
|
36
36
|
'company_id'?: number;
|
|
37
37
|
/**
|
|
@@ -74,6 +74,10 @@ export interface Receive {
|
|
|
74
74
|
* Whether the payload is Base64 encoded or a plain XML (text).
|
|
75
75
|
*/
|
|
76
76
|
'encoding'?: ReceiveEncodingEnum;
|
|
77
|
+
/**
|
|
78
|
+
* Business name of the prestatore (supplier/seller) extracted from the invoice XML.
|
|
79
|
+
*/
|
|
80
|
+
'nome_prestatore'?: string | null;
|
|
77
81
|
/**
|
|
78
82
|
* Whether the invoice has been read at least once. Set to true only when the invoice is requested with include_payload=true.
|
|
79
83
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Invoicetronic API
|
|
6
6
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: info@invoicetronic.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Invoicetronic API
|
|
3
|
+
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
|
+
* Contact: info@invoicetronic.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DocumentData } from './document-data';
|
|
13
|
+
/**
|
|
14
|
+
* Reduced Send data for Update responses, containing only the essential fields.
|
|
15
|
+
*/
|
|
16
|
+
export interface SendReduced {
|
|
17
|
+
/**
|
|
18
|
+
* SDI identifier.
|
|
19
|
+
*/
|
|
20
|
+
'identifier'?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* VAT number of the Cedente/Prestatore (vendor).
|
|
23
|
+
*/
|
|
24
|
+
'prestatore'?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Optional metadata, as json.
|
|
27
|
+
*/
|
|
28
|
+
'meta_data'?: {
|
|
29
|
+
[key: string]: string;
|
|
30
|
+
} | null;
|
|
31
|
+
/**
|
|
32
|
+
* The invoices included in the payload.
|
|
33
|
+
*/
|
|
34
|
+
'documents'?: Array<DocumentData> | null;
|
|
35
|
+
/**
|
|
36
|
+
* When the invoice was sent to SDI.
|
|
37
|
+
*/
|
|
38
|
+
'date_sent'?: string | null;
|
|
39
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Invoicetronic API
|
|
6
|
+
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
|
+
* Contact: info@invoicetronic.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Invoicetronic API
|
|
3
3
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: info@invoicetronic.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,7 +32,7 @@ export interface Send {
|
|
|
32
32
|
*/
|
|
33
33
|
'user_id'?: number;
|
|
34
34
|
/**
|
|
35
|
-
* Company id. On send, this is the sender and must be set in advance. On receive, it will be
|
|
35
|
+
* Company id. On send, this is the sender and must be set in advance. On receive, it will be automatically set based on the recipient\'s VAT number. If a matching company is not found, the invoice will be rejected until the company is created.
|
|
36
36
|
*/
|
|
37
37
|
'company_id'?: number;
|
|
38
38
|
/**
|
|
@@ -75,6 +75,10 @@ export interface Send {
|
|
|
75
75
|
* Whether the payload is Base64 encoded or a plain XML (text).
|
|
76
76
|
*/
|
|
77
77
|
'encoding'?: SendEncodingEnum;
|
|
78
|
+
/**
|
|
79
|
+
* Business name of the committente (client/buyer) extracted from the invoice XML.
|
|
80
|
+
*/
|
|
81
|
+
'nome_committente'?: string | null;
|
|
78
82
|
/**
|
|
79
83
|
* Optional metadata, as json.
|
|
80
84
|
*/
|
package/dist/src/models/send.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Invoicetronic API
|
|
6
6
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: info@invoicetronic.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Invoicetronic API
|
|
3
3
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: info@invoicetronic.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Invoicetronic API
|
|
6
6
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: info@invoicetronic.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Invoicetronic API
|
|
3
3
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: info@invoicetronic.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Invoicetronic API
|
|
6
6
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: info@invoicetronic.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Invoicetronic API
|
|
3
3
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: info@invoicetronic.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Invoicetronic API
|
|
6
6
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: info@invoicetronic.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Invoicetronic API
|
|
3
3
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1
|
|
5
|
+
* The version of the OpenAPI document: 1.6.1
|
|
6
6
|
* Contact: info@invoicetronic.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -50,7 +50,7 @@ export interface WebHook {
|
|
|
50
50
|
*/
|
|
51
51
|
'description'?: string | null;
|
|
52
52
|
/**
|
|
53
|
-
* List of events that trigger the webhook.
|
|
53
|
+
* List of events that trigger the webhook. See Invoicetronic.SupportedEvents.Available for a list of valid event names.
|
|
54
54
|
*/
|
|
55
55
|
'events'?: Array<string> | null;
|
|
56
56
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Invoicetronic API
|
|
6
6
|
* The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1
|
|
8
|
+
* The version of the OpenAPI document: 1.6.1
|
|
9
9
|
* Contact: info@invoicetronic.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/CompanyApi.md
CHANGED
|
@@ -14,7 +14,7 @@ All URIs are relative to *http://localhost*
|
|
|
14
14
|
# **companyGet**
|
|
15
15
|
> Array<Company> companyGet()
|
|
16
16
|
|
|
17
|
-
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.
|
|
17
|
+
Retrieve a paginated list of companies. Results can be filtered by free-text search (`q`) across name, VAT number, and fiscal code. **Companies** are the entities that send and receive invoices. They are automatically created from invoice data when invoices are sent or received.
|
|
18
18
|
|
|
19
19
|
### Example
|
|
20
20
|
|
|
@@ -30,11 +30,13 @@ const apiInstance = new CompanyApi(configuration);
|
|
|
30
30
|
let page: number; //Page number. (optional) (default to 1)
|
|
31
31
|
let pageSize: number; //Items per page. Cannot be greater than 200. (optional) (default to 100)
|
|
32
32
|
let sort: string; //Sort by field. Prefix with \'-\' for descending order. (optional) (default to undefined)
|
|
33
|
+
let q: string; //Full-text search across committente, prestatore, identifier, and file name. (optional) (default to undefined)
|
|
33
34
|
|
|
34
35
|
const { status, data } = await apiInstance.companyGet(
|
|
35
36
|
page,
|
|
36
37
|
pageSize,
|
|
37
|
-
sort
|
|
38
|
+
sort,
|
|
39
|
+
q
|
|
38
40
|
);
|
|
39
41
|
```
|
|
40
42
|
|
|
@@ -45,6 +47,7 @@ const { status, data } = await apiInstance.companyGet(
|
|
|
45
47
|
| **page** | [**number**] | Page number. | (optional) defaults to 1|
|
|
46
48
|
| **pageSize** | [**number**] | Items per page. Cannot be greater than 200. | (optional) defaults to 100|
|
|
47
49
|
| **sort** | [**string**] | Sort by field. Prefix with \'-\' for descending order. | (optional) defaults to undefined|
|
|
50
|
+
| **q** | [**string**] | Full-text search across committente, prestatore, identifier, and file name. | (optional) defaults to undefined|
|
|
48
51
|
|
|
49
52
|
|
|
50
53
|
### Return type
|
|
@@ -53,7 +56,7 @@ const { status, data } = await apiInstance.companyGet(
|
|
|
53
56
|
|
|
54
57
|
### Authorization
|
|
55
58
|
|
|
56
|
-
|
|
59
|
+
No authorization required
|
|
57
60
|
|
|
58
61
|
### HTTP request headers
|
|
59
62
|
|
|
@@ -66,7 +69,6 @@ const { status, data } = await apiInstance.companyGet(
|
|
|
66
69
|
|-------------|-------------|------------------|
|
|
67
70
|
|**200** | OK | - |
|
|
68
71
|
|**404** | Not Found | - |
|
|
69
|
-
|**400** | Bad Request | - |
|
|
70
72
|
|
|
71
73
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
72
74
|
|
|
@@ -109,7 +111,7 @@ const { status, data } = await apiInstance.companyIdDelete(
|
|
|
109
111
|
|
|
110
112
|
### Authorization
|
|
111
113
|
|
|
112
|
-
|
|
114
|
+
No authorization required
|
|
113
115
|
|
|
114
116
|
### HTTP request headers
|
|
115
117
|
|
|
@@ -121,9 +123,6 @@ const { status, data } = await apiInstance.companyIdDelete(
|
|
|
121
123
|
| Status code | Description | Response headers |
|
|
122
124
|
|-------------|-------------|------------------|
|
|
123
125
|
|**200** | OK | - |
|
|
124
|
-
|**422** | Unprocessable Content | - |
|
|
125
|
-
|**400** | Bad Request | - |
|
|
126
|
-
|**409** | Conflict | - |
|
|
127
126
|
|**404** | Not Found | - |
|
|
128
127
|
|
|
129
128
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -164,7 +163,7 @@ const { status, data } = await apiInstance.companyIdGet(
|
|
|
164
163
|
|
|
165
164
|
### Authorization
|
|
166
165
|
|
|
167
|
-
|
|
166
|
+
No authorization required
|
|
168
167
|
|
|
169
168
|
### HTTP request headers
|
|
170
169
|
|
|
@@ -217,7 +216,7 @@ const { status, data } = await apiInstance.companyPost(
|
|
|
217
216
|
|
|
218
217
|
### Authorization
|
|
219
218
|
|
|
220
|
-
|
|
219
|
+
No authorization required
|
|
221
220
|
|
|
222
221
|
### HTTP request headers
|
|
223
222
|
|
|
@@ -229,7 +228,6 @@ const { status, data } = await apiInstance.companyPost(
|
|
|
229
228
|
| Status code | Description | Response headers |
|
|
230
229
|
|-------------|-------------|------------------|
|
|
231
230
|
|**201** | Created | - |
|
|
232
|
-
|**400** | Bad Request | - |
|
|
233
231
|
|**422** | Unprocessable Content | - |
|
|
234
232
|
|
|
235
233
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
@@ -271,7 +269,7 @@ const { status, data } = await apiInstance.companyPut(
|
|
|
271
269
|
|
|
272
270
|
### Authorization
|
|
273
271
|
|
|
274
|
-
|
|
272
|
+
No authorization required
|
|
275
273
|
|
|
276
274
|
### HTTP request headers
|
|
277
275
|
|
|
@@ -284,7 +282,6 @@ const { status, data } = await apiInstance.companyPut(
|
|
|
284
282
|
|-------------|-------------|------------------|
|
|
285
283
|
|**200** | OK | - |
|
|
286
284
|
|**422** | Unprocessable Content | - |
|
|
287
|
-
|**400** | Bad Request | - |
|
|
288
285
|
|
|
289
286
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
290
287
|
|
|
@@ -324,7 +321,7 @@ const { status, data } = await apiInstance.companyVatGet(
|
|
|
324
321
|
|
|
325
322
|
### Authorization
|
|
326
323
|
|
|
327
|
-
|
|
324
|
+
No authorization required
|
|
328
325
|
|
|
329
326
|
### HTTP request headers
|
|
330
327
|
|
|
@@ -337,7 +334,6 @@ const { status, data } = await apiInstance.companyVatGet(
|
|
|
337
334
|
|-------------|-------------|------------------|
|
|
338
335
|
|**200** | OK | - |
|
|
339
336
|
|**404** | Not Found | - |
|
|
340
|
-
|**400** | Bad Request | - |
|
|
341
337
|
|
|
342
338
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
343
339
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# DocumentData
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**number** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**date** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { DocumentData } from '@invoicetronic/ts-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: DocumentData = {
|
|
17
|
+
number,
|
|
18
|
+
date,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Error.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# ModelError
|
|
2
|
+
|
|
3
|
+
Validation error from the SDI.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**code** | **string** | Error code. | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | Error description. | [optional] [default to undefined]
|
|
11
|
+
**hint** | **string** | Hint on how to solve the issue. | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { ModelError } from '@invoicetronic/ts-sdk';
|
|
17
|
+
|
|
18
|
+
const instance: ModelError = {
|
|
19
|
+
code,
|
|
20
|
+
description,
|
|
21
|
+
hint,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Event.md
CHANGED
|
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
|
|
|
19
19
|
**date_time** | **string** | Date and time of the request. | [optional] [default to undefined]
|
|
20
20
|
**error** | **string** | Response error. | [optional] [default to undefined]
|
|
21
21
|
**resource_id** | **number** | ID of the resource created or modified by this request. | [optional] [default to undefined]
|
|
22
|
+
**user_agent** | **string** | User-Agent header from the HTTP request. | [optional] [default to undefined]
|
|
22
23
|
**success** | **boolean** | Whether the request was successful. | [optional] [readonly] [default to undefined]
|
|
23
24
|
**query** | **string** | Request query. Only used for internal logging, not sent to webhooks. | [optional] [default to undefined]
|
|
24
25
|
**response_body** | **string** | Response payload. It is guaranteed to be encrypted at rest. | [optional] [default to undefined]
|
|
@@ -42,6 +43,7 @@ const instance: Event = {
|
|
|
42
43
|
date_time,
|
|
43
44
|
error,
|
|
44
45
|
resource_id,
|
|
46
|
+
user_agent,
|
|
45
47
|
success,
|
|
46
48
|
query,
|
|
47
49
|
response_body,
|
package/docs/ExportApi.md
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
const configuration = new Configuration();
|
|
23
23
|
const apiInstance = new ExportApi(configuration);
|
|
24
24
|
|
|
25
|
-
let type:
|
|
25
|
+
let type: string; // (optional) (default to undefined)
|
|
26
26
|
let companyId: number; //Company id (optional) (default to undefined)
|
|
27
27
|
let year: number; // (optional) (default to undefined)
|
|
28
28
|
let month: number; // (optional) (default to undefined)
|
|
@@ -45,7 +45,7 @@ const { status, data } = await apiInstance.exportGet(
|
|
|
45
45
|
|
|
46
46
|
|Name | Type | Description | Notes|
|
|
47
47
|
|------------- | ------------- | ------------- | -------------|
|
|
48
|
-
| **type** | [
|
|
48
|
+
| **type** | [**string**] | | (optional) defaults to undefined|
|
|
49
49
|
| **companyId** | [**number**] | Company id | (optional) defaults to undefined|
|
|
50
50
|
| **year** | [**number**] | | (optional) defaults to undefined|
|
|
51
51
|
| **month** | [**number**] | | (optional) defaults to undefined|
|
|
@@ -60,7 +60,7 @@ void (empty response body)
|
|
|
60
60
|
|
|
61
61
|
### Authorization
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
No authorization required
|
|
64
64
|
|
|
65
65
|
### HTTP request headers
|
|
66
66
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# HealthApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**healthGet**](#healthget) | **GET** /health | Health check|
|
|
8
|
+
|
|
9
|
+
# **healthGet**
|
|
10
|
+
> healthGet()
|
|
11
|
+
|
|
12
|
+
Returns the health status of the API and its dependencies. No authentication required. Rate limited to 12 requests per minute.
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
HealthApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@invoicetronic/ts-sdk';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new HealthApi(configuration);
|
|
24
|
+
|
|
25
|
+
const { status, data } = await apiInstance.healthGet();
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Parameters
|
|
29
|
+
This endpoint does not have any parameters.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Return type
|
|
33
|
+
|
|
34
|
+
void (empty response body)
|
|
35
|
+
|
|
36
|
+
### Authorization
|
|
37
|
+
|
|
38
|
+
No authorization required
|
|
39
|
+
|
|
40
|
+
### HTTP request headers
|
|
41
|
+
|
|
42
|
+
- **Content-Type**: Not defined
|
|
43
|
+
- **Accept**: Not defined
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### HTTP response details
|
|
47
|
+
| Status code | Description | Response headers |
|
|
48
|
+
|-------------|-------------|------------------|
|
|
49
|
+
|**200** | OK | - |
|
|
50
|
+
|**429** | Too Many Requests | - |
|
|
51
|
+
|**503** | Service Unavailable | - |
|
|
52
|
+
|
|
53
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
54
|
+
|
package/docs/LogApi.md
CHANGED
|
@@ -37,6 +37,7 @@ let query: string; // (optional) (default to undefined)
|
|
|
37
37
|
let success: boolean; // (optional) (default to undefined)
|
|
38
38
|
let dateTimeFrom: string; //Date and time of the event (optional) (default to undefined)
|
|
39
39
|
let dateTimeTo: string; //Date and time of the event (optional) (default to undefined)
|
|
40
|
+
let userAgent: string; // (optional) (default to undefined)
|
|
40
41
|
|
|
41
42
|
const { status, data } = await apiInstance.logGet(
|
|
42
43
|
companyId,
|
|
@@ -52,7 +53,8 @@ const { status, data } = await apiInstance.logGet(
|
|
|
52
53
|
query,
|
|
53
54
|
success,
|
|
54
55
|
dateTimeFrom,
|
|
55
|
-
dateTimeTo
|
|
56
|
+
dateTimeTo,
|
|
57
|
+
userAgent
|
|
56
58
|
);
|
|
57
59
|
```
|
|
58
60
|
|
|
@@ -74,6 +76,7 @@ const { status, data } = await apiInstance.logGet(
|
|
|
74
76
|
| **success** | [**boolean**] | | (optional) defaults to undefined|
|
|
75
77
|
| **dateTimeFrom** | [**string**] | Date and time of the event | (optional) defaults to undefined|
|
|
76
78
|
| **dateTimeTo** | [**string**] | Date and time of the event | (optional) defaults to undefined|
|
|
79
|
+
| **userAgent** | [**string**] | | (optional) defaults to undefined|
|
|
77
80
|
|
|
78
81
|
|
|
79
82
|
### Return type
|
|
@@ -82,7 +85,7 @@ const { status, data } = await apiInstance.logGet(
|
|
|
82
85
|
|
|
83
86
|
### Authorization
|
|
84
87
|
|
|
85
|
-
|
|
88
|
+
No authorization required
|
|
86
89
|
|
|
87
90
|
### HTTP request headers
|
|
88
91
|
|
|
@@ -95,7 +98,6 @@ const { status, data } = await apiInstance.logGet(
|
|
|
95
98
|
|-------------|-------------|------------------|
|
|
96
99
|
|**200** | OK | - |
|
|
97
100
|
|**404** | Not Found | - |
|
|
98
|
-
|**400** | Bad Request | - |
|
|
99
101
|
|
|
100
102
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
101
103
|
|
|
@@ -135,7 +137,7 @@ const { status, data } = await apiInstance.logIdGet(
|
|
|
135
137
|
|
|
136
138
|
### Authorization
|
|
137
139
|
|
|
138
|
-
|
|
140
|
+
No authorization required
|
|
139
141
|
|
|
140
142
|
### HTTP request headers
|
|
141
143
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# ProblemDetails
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**status** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**detail** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**instance** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { ProblemDetails } from '@invoicetronic/ts-sdk';
|
|
18
|
+
|
|
19
|
+
const instance: ProblemDetails = {
|
|
20
|
+
type,
|
|
21
|
+
title,
|
|
22
|
+
status,
|
|
23
|
+
detail,
|
|
24
|
+
instance,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/Receive.md
CHANGED
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**created** | **string** | Creation date. It is set automatically. | [optional] [default to undefined]
|
|
11
11
|
**version** | **number** | Row version, for optimistic concurrency. It is set automatically. | [optional] [default to undefined]
|
|
12
12
|
**user_id** | **number** | User id. | [optional] [default to undefined]
|
|
13
|
-
**company_id** | **number** | Company id. On send, this is the sender and must be set in advance. On receive, it will be
|
|
13
|
+
**company_id** | **number** | Company id. On send, this is the sender and must be set in advance. On receive, it will be automatically set based on the recipient\'s VAT number. If a matching company is not found, the invoice will be rejected until the company is created. | [optional] [default to undefined]
|
|
14
14
|
**committente** | **string** | VAT number of the Cessionario/Committente (customer). This is automatically set based on the recipient\'s VAT number. | [optional] [default to undefined]
|
|
15
15
|
**prestatore** | **string** | VAT number of the Cedente/Prestatore (vendor). This is automatically set based on the sender\'s VAT number. | [optional] [default to undefined]
|
|
16
16
|
**identifier** | **string** | SDI identifier. This is set by the SDI and is guaranteed to be unique within the SDI system. | [optional] [default to undefined]
|
|
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**date_sent** | **string** | When the invoice was sent to SDI. | [optional] [default to undefined]
|
|
22
22
|
**documents** | [**Array<DocumentData>**](DocumentData.md) | The invoices included in the payload. This is set by the system, based on the xml content. | [optional] [default to undefined]
|
|
23
23
|
**encoding** | **string** | Whether the payload is Base64 encoded or a plain XML (text). | [optional] [default to undefined]
|
|
24
|
+
**nome_prestatore** | **string** | Business name of the prestatore (supplier/seller) extracted from the invoice XML. | [optional] [default to undefined]
|
|
24
25
|
**is_read** | **boolean** | Whether the invoice has been read at least once. Set to true only when the invoice is requested with include_payload=true. | [optional] [default to undefined]
|
|
25
26
|
**message_id** | **string** | SDI message id. | [optional] [default to undefined]
|
|
26
27
|
|
|
@@ -45,6 +46,7 @@ const instance: Receive = {
|
|
|
45
46
|
date_sent,
|
|
46
47
|
documents,
|
|
47
48
|
encoding,
|
|
49
|
+
nome_prestatore,
|
|
48
50
|
is_read,
|
|
49
51
|
message_id,
|
|
50
52
|
};
|