@invoicetronic/ts-sdk 1.1.7 → 1.3.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 +1 -0
- package/common.ts +15 -2
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/common.d.ts +6 -0
- package/dist/common.js +17 -3
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/common.d.ts +6 -0
- package/dist/esm/common.js +15 -2
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/src/api/company-api.d.ts +35 -30
- package/dist/esm/src/api/company-api.js +34 -27
- package/dist/esm/src/api/export-api.d.ts +115 -0
- package/dist/esm/src/api/export-api.js +179 -0
- package/dist/esm/src/api/log-api.d.ts +10 -10
- package/dist/esm/src/api/log-api.js +8 -8
- package/dist/esm/src/api/receive-api.d.ts +15 -15
- package/dist/esm/src/api/receive-api.js +12 -12
- package/dist/esm/src/api/send-api.d.ts +55 -55
- package/dist/esm/src/api/send-api.js +44 -44
- package/dist/esm/src/api/status-api.d.ts +5 -5
- package/dist/esm/src/api/status-api.js +4 -4
- package/dist/esm/src/api/update-api.d.ts +10 -10
- package/dist/esm/src/api/update-api.js +8 -8
- package/dist/esm/src/api/webhook-api.d.ts +25 -25
- package/dist/esm/src/api/webhook-api.js +20 -20
- package/dist/esm/src/models/event.d.ts +2 -2
- package/dist/esm/src/models/receive.d.ts +3 -3
- package/dist/esm/src/models/send.d.ts +2 -2
- package/dist/esm/src/models/update.d.ts +2 -2
- package/dist/esm/src/models/web-hook-history.d.ts +1 -1
- package/dist/esm/src/models/web-hook.d.ts +2 -2
- package/dist/src/api/company-api.d.ts +35 -30
- package/dist/src/api/company-api.js +34 -27
- package/dist/src/api/export-api.d.ts +115 -0
- package/dist/src/api/export-api.js +186 -0
- package/dist/src/api/log-api.d.ts +10 -10
- package/dist/src/api/log-api.js +8 -8
- package/dist/src/api/receive-api.d.ts +15 -15
- package/dist/src/api/receive-api.js +12 -12
- package/dist/src/api/send-api.d.ts +55 -55
- package/dist/src/api/send-api.js +44 -44
- package/dist/src/api/status-api.d.ts +5 -5
- package/dist/src/api/status-api.js +4 -4
- package/dist/src/api/update-api.d.ts +10 -10
- package/dist/src/api/update-api.js +8 -8
- package/dist/src/api/webhook-api.d.ts +25 -25
- package/dist/src/api/webhook-api.js +20 -20
- package/dist/src/models/event.d.ts +2 -2
- package/dist/src/models/receive.d.ts +3 -3
- package/dist/src/models/send.d.ts +2 -2
- package/dist/src/models/update.d.ts +2 -2
- package/dist/src/models/web-hook-history.d.ts +1 -1
- package/dist/src/models/web-hook.d.ts +2 -2
- package/docs/CompanyApi.md +10 -6
- package/docs/Event.md +2 -2
- package/docs/ExportApi.md +79 -0
- package/docs/LogApi.md +2 -2
- package/docs/Receive.md +3 -3
- package/docs/ReceiveApi.md +4 -3
- package/docs/Send.md +2 -2
- package/docs/SendApi.md +11 -11
- package/docs/StatusApi.md +1 -1
- package/docs/Update.md +2 -2
- package/docs/UpdateApi.md +2 -2
- package/docs/WebHook.md +2 -2
- package/docs/WebHookHistory.md +1 -1
- package/docs/WebhookApi.md +6 -5
- package/package.json +1 -1
- package/src/api/company-api.ts +43 -34
- package/src/api/export-api.ts +211 -0
- package/src/api/log-api.ts +11 -11
- package/src/api/receive-api.ts +16 -16
- package/src/api/send-api.ts +56 -56
- package/src/api/status-api.ts +6 -6
- package/src/api/update-api.ts +11 -11
- package/src/api/webhook-api.ts +26 -26
- package/src/models/event.ts +2 -2
- package/src/models/receive.ts +3 -3
- package/src/models/send.ts +2 -2
- package/src/models/update.ts +2 -2
- package/src/models/web-hook-history.ts +1 -1
- package/src/models/web-hook.ts +2 -2
|
@@ -19,7 +19,7 @@ import type { Send } from '../../src/models';
|
|
|
19
19
|
*/
|
|
20
20
|
export declare const SendApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* 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).
|
|
23
23
|
* @summary Add an invoice by file
|
|
24
24
|
* @param {File} file
|
|
25
25
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -29,7 +29,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
29
29
|
*/
|
|
30
30
|
sendFilePost: (file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* 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/).
|
|
33
33
|
* @summary List invoices
|
|
34
34
|
* @param {number} [companyId] Company id
|
|
35
35
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -52,7 +52,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
52
52
|
*/
|
|
53
53
|
sendGet: (companyId?: number, identifier?: string, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* 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/).
|
|
56
56
|
* @summary Get a invoice by id
|
|
57
57
|
* @param {number} id Item id
|
|
58
58
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -61,7 +61,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
61
61
|
*/
|
|
62
62
|
sendIdGet: (id: number, includePayload?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* 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/).
|
|
65
65
|
* @summary Get a invoice by identifier
|
|
66
66
|
* @param {string} identifier
|
|
67
67
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -70,7 +70,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
70
70
|
*/
|
|
71
71
|
sendIdentifierGet: (identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
72
72
|
/**
|
|
73
|
-
* Send invoices are
|
|
73
|
+
* 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).
|
|
74
74
|
* @summary Add an invoice by json
|
|
75
75
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
76
76
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -80,7 +80,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
80
80
|
*/
|
|
81
81
|
sendJsonPost: (fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
82
82
|
/**
|
|
83
|
-
* Send
|
|
83
|
+
* 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).
|
|
84
84
|
* @summary Add an invoice
|
|
85
85
|
* @param {Send} send
|
|
86
86
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -90,7 +90,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
90
90
|
*/
|
|
91
91
|
sendPost: (send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
92
|
/**
|
|
93
|
-
* Send invoices are
|
|
93
|
+
* 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/).
|
|
94
94
|
* @summary Validate an invoice file
|
|
95
95
|
* @param {File} file
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
@@ -98,7 +98,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
98
98
|
*/
|
|
99
99
|
sendValidateFilePost: (file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
100
|
/**
|
|
101
|
-
* Send invoices are
|
|
101
|
+
* 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/).
|
|
102
102
|
* @summary Validate an invoice by json
|
|
103
103
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
@@ -106,7 +106,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
106
106
|
*/
|
|
107
107
|
sendValidateJsonPost: (fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
108
108
|
/**
|
|
109
|
-
* Send invoices are
|
|
109
|
+
* 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/).
|
|
110
110
|
* @summary Validate an invoice
|
|
111
111
|
* @param {Send} send
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
@@ -114,7 +114,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
114
114
|
*/
|
|
115
115
|
sendValidatePost: (send: Send, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
116
116
|
/**
|
|
117
|
-
* Send invoices are
|
|
117
|
+
* 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/).
|
|
118
118
|
* @summary Validate an invoice by xml
|
|
119
119
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
120
120
|
* @param {*} [options] Override http request option.
|
|
@@ -122,7 +122,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
122
122
|
*/
|
|
123
123
|
sendValidateXmlPost: (fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
124
124
|
/**
|
|
125
|
-
* Send invoices are
|
|
125
|
+
* 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).
|
|
126
126
|
* @summary Add an invoice by xml
|
|
127
127
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
128
128
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -137,7 +137,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
137
137
|
*/
|
|
138
138
|
export declare const SendApiFp: (configuration?: Configuration) => {
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
140
|
+
* 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).
|
|
141
141
|
* @summary Add an invoice by file
|
|
142
142
|
* @param {File} file
|
|
143
143
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -147,7 +147,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
147
147
|
*/
|
|
148
148
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Send>>;
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* 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/).
|
|
151
151
|
* @summary List invoices
|
|
152
152
|
* @param {number} [companyId] Company id
|
|
153
153
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -170,7 +170,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
170
170
|
*/
|
|
171
171
|
sendGet(companyId?: number, identifier?: string, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Send>>>;
|
|
172
172
|
/**
|
|
173
|
-
*
|
|
173
|
+
* 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/).
|
|
174
174
|
* @summary Get a invoice by id
|
|
175
175
|
* @param {number} id Item id
|
|
176
176
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -179,7 +179,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
179
179
|
*/
|
|
180
180
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Send>>;
|
|
181
181
|
/**
|
|
182
|
-
*
|
|
182
|
+
* 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/).
|
|
183
183
|
* @summary Get a invoice by identifier
|
|
184
184
|
* @param {string} identifier
|
|
185
185
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -188,7 +188,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
188
188
|
*/
|
|
189
189
|
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Send>>;
|
|
190
190
|
/**
|
|
191
|
-
* Send invoices are
|
|
191
|
+
* 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).
|
|
192
192
|
* @summary Add an invoice by json
|
|
193
193
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
194
194
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -198,7 +198,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
198
198
|
*/
|
|
199
199
|
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Send>>;
|
|
200
200
|
/**
|
|
201
|
-
* Send
|
|
201
|
+
* 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).
|
|
202
202
|
* @summary Add an invoice
|
|
203
203
|
* @param {Send} send
|
|
204
204
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -208,7 +208,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
208
208
|
*/
|
|
209
209
|
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Send>>;
|
|
210
210
|
/**
|
|
211
|
-
* Send invoices are
|
|
211
|
+
* 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/).
|
|
212
212
|
* @summary Validate an invoice file
|
|
213
213
|
* @param {File} file
|
|
214
214
|
* @param {*} [options] Override http request option.
|
|
@@ -216,7 +216,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
216
216
|
*/
|
|
217
217
|
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
218
218
|
/**
|
|
219
|
-
* Send invoices are
|
|
219
|
+
* 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/).
|
|
220
220
|
* @summary Validate an invoice by json
|
|
221
221
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
222
222
|
* @param {*} [options] Override http request option.
|
|
@@ -224,7 +224,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
224
224
|
*/
|
|
225
225
|
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
226
226
|
/**
|
|
227
|
-
* Send invoices are
|
|
227
|
+
* 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/).
|
|
228
228
|
* @summary Validate an invoice
|
|
229
229
|
* @param {Send} send
|
|
230
230
|
* @param {*} [options] Override http request option.
|
|
@@ -232,7 +232,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
232
232
|
*/
|
|
233
233
|
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
234
234
|
/**
|
|
235
|
-
* Send invoices are
|
|
235
|
+
* 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/).
|
|
236
236
|
* @summary Validate an invoice by xml
|
|
237
237
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
@@ -240,7 +240,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
240
240
|
*/
|
|
241
241
|
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
242
242
|
/**
|
|
243
|
-
* Send invoices are
|
|
243
|
+
* 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).
|
|
244
244
|
* @summary Add an invoice by xml
|
|
245
245
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
246
246
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -255,7 +255,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
255
255
|
*/
|
|
256
256
|
export declare const SendApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
257
257
|
/**
|
|
258
|
-
*
|
|
258
|
+
* 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).
|
|
259
259
|
* @summary Add an invoice by file
|
|
260
260
|
* @param {File} file
|
|
261
261
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -265,7 +265,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
265
265
|
*/
|
|
266
266
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
267
267
|
/**
|
|
268
|
-
*
|
|
268
|
+
* 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/).
|
|
269
269
|
* @summary List invoices
|
|
270
270
|
* @param {number} [companyId] Company id
|
|
271
271
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -288,7 +288,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
288
288
|
*/
|
|
289
289
|
sendGet(companyId?: number, identifier?: string, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Send>>;
|
|
290
290
|
/**
|
|
291
|
-
*
|
|
291
|
+
* 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/).
|
|
292
292
|
* @summary Get a invoice by id
|
|
293
293
|
* @param {number} id Item id
|
|
294
294
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -297,7 +297,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
297
297
|
*/
|
|
298
298
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
299
299
|
/**
|
|
300
|
-
*
|
|
300
|
+
* 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/).
|
|
301
301
|
* @summary Get a invoice by identifier
|
|
302
302
|
* @param {string} identifier
|
|
303
303
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -306,7 +306,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
306
306
|
*/
|
|
307
307
|
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
308
308
|
/**
|
|
309
|
-
* Send invoices are
|
|
309
|
+
* 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).
|
|
310
310
|
* @summary Add an invoice by json
|
|
311
311
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
312
312
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -316,7 +316,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
316
316
|
*/
|
|
317
317
|
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
318
318
|
/**
|
|
319
|
-
* Send
|
|
319
|
+
* 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).
|
|
320
320
|
* @summary Add an invoice
|
|
321
321
|
* @param {Send} send
|
|
322
322
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -326,7 +326,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
326
326
|
*/
|
|
327
327
|
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
328
328
|
/**
|
|
329
|
-
* Send invoices are
|
|
329
|
+
* 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/).
|
|
330
330
|
* @summary Validate an invoice file
|
|
331
331
|
* @param {File} file
|
|
332
332
|
* @param {*} [options] Override http request option.
|
|
@@ -334,7 +334,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
334
334
|
*/
|
|
335
335
|
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
336
336
|
/**
|
|
337
|
-
* Send invoices are
|
|
337
|
+
* 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/).
|
|
338
338
|
* @summary Validate an invoice by json
|
|
339
339
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
340
340
|
* @param {*} [options] Override http request option.
|
|
@@ -342,7 +342,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
342
342
|
*/
|
|
343
343
|
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
344
344
|
/**
|
|
345
|
-
* Send invoices are
|
|
345
|
+
* 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/).
|
|
346
346
|
* @summary Validate an invoice
|
|
347
347
|
* @param {Send} send
|
|
348
348
|
* @param {*} [options] Override http request option.
|
|
@@ -350,7 +350,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
350
350
|
*/
|
|
351
351
|
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
352
352
|
/**
|
|
353
|
-
* Send invoices are
|
|
353
|
+
* 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/).
|
|
354
354
|
* @summary Validate an invoice by xml
|
|
355
355
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
356
356
|
* @param {*} [options] Override http request option.
|
|
@@ -358,7 +358,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
358
358
|
*/
|
|
359
359
|
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
360
360
|
/**
|
|
361
|
-
* Send invoices are
|
|
361
|
+
* 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).
|
|
362
362
|
* @summary Add an invoice by xml
|
|
363
363
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
364
364
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -373,7 +373,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
373
373
|
*/
|
|
374
374
|
export interface SendApiInterface {
|
|
375
375
|
/**
|
|
376
|
-
*
|
|
376
|
+
* 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).
|
|
377
377
|
* @summary Add an invoice by file
|
|
378
378
|
* @param {File} file
|
|
379
379
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -383,7 +383,7 @@ export interface SendApiInterface {
|
|
|
383
383
|
*/
|
|
384
384
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
385
385
|
/**
|
|
386
|
-
*
|
|
386
|
+
* 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/).
|
|
387
387
|
* @summary List invoices
|
|
388
388
|
* @param {number} [companyId] Company id
|
|
389
389
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -406,7 +406,7 @@ export interface SendApiInterface {
|
|
|
406
406
|
*/
|
|
407
407
|
sendGet(companyId?: number, identifier?: string, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Send>>;
|
|
408
408
|
/**
|
|
409
|
-
*
|
|
409
|
+
* 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/).
|
|
410
410
|
* @summary Get a invoice by id
|
|
411
411
|
* @param {number} id Item id
|
|
412
412
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -415,7 +415,7 @@ export interface SendApiInterface {
|
|
|
415
415
|
*/
|
|
416
416
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
417
417
|
/**
|
|
418
|
-
*
|
|
418
|
+
* 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/).
|
|
419
419
|
* @summary Get a invoice by identifier
|
|
420
420
|
* @param {string} identifier
|
|
421
421
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -424,7 +424,7 @@ export interface SendApiInterface {
|
|
|
424
424
|
*/
|
|
425
425
|
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
426
426
|
/**
|
|
427
|
-
* Send invoices are
|
|
427
|
+
* 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).
|
|
428
428
|
* @summary Add an invoice by json
|
|
429
429
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
430
430
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -434,7 +434,7 @@ export interface SendApiInterface {
|
|
|
434
434
|
*/
|
|
435
435
|
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
436
436
|
/**
|
|
437
|
-
* Send
|
|
437
|
+
* 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).
|
|
438
438
|
* @summary Add an invoice
|
|
439
439
|
* @param {Send} send
|
|
440
440
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -444,7 +444,7 @@ export interface SendApiInterface {
|
|
|
444
444
|
*/
|
|
445
445
|
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
446
446
|
/**
|
|
447
|
-
* Send invoices are
|
|
447
|
+
* 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/).
|
|
448
448
|
* @summary Validate an invoice file
|
|
449
449
|
* @param {File} file
|
|
450
450
|
* @param {*} [options] Override http request option.
|
|
@@ -452,7 +452,7 @@ export interface SendApiInterface {
|
|
|
452
452
|
*/
|
|
453
453
|
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
454
454
|
/**
|
|
455
|
-
* Send invoices are
|
|
455
|
+
* 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/).
|
|
456
456
|
* @summary Validate an invoice by json
|
|
457
457
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
458
458
|
* @param {*} [options] Override http request option.
|
|
@@ -460,7 +460,7 @@ export interface SendApiInterface {
|
|
|
460
460
|
*/
|
|
461
461
|
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
462
462
|
/**
|
|
463
|
-
* Send invoices are
|
|
463
|
+
* 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/).
|
|
464
464
|
* @summary Validate an invoice
|
|
465
465
|
* @param {Send} send
|
|
466
466
|
* @param {*} [options] Override http request option.
|
|
@@ -468,7 +468,7 @@ export interface SendApiInterface {
|
|
|
468
468
|
*/
|
|
469
469
|
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
470
470
|
/**
|
|
471
|
-
* Send invoices are
|
|
471
|
+
* 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/).
|
|
472
472
|
* @summary Validate an invoice by xml
|
|
473
473
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
474
474
|
* @param {*} [options] Override http request option.
|
|
@@ -476,7 +476,7 @@ export interface SendApiInterface {
|
|
|
476
476
|
*/
|
|
477
477
|
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
478
478
|
/**
|
|
479
|
-
* Send invoices are
|
|
479
|
+
* 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).
|
|
480
480
|
* @summary Add an invoice by xml
|
|
481
481
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
482
482
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -491,7 +491,7 @@ export interface SendApiInterface {
|
|
|
491
491
|
*/
|
|
492
492
|
export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
493
493
|
/**
|
|
494
|
-
*
|
|
494
|
+
* 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).
|
|
495
495
|
* @summary Add an invoice by file
|
|
496
496
|
* @param {File} file
|
|
497
497
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -501,7 +501,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
501
501
|
*/
|
|
502
502
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
503
503
|
/**
|
|
504
|
-
*
|
|
504
|
+
* 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/).
|
|
505
505
|
* @summary List invoices
|
|
506
506
|
* @param {number} [companyId] Company id
|
|
507
507
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -524,7 +524,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
524
524
|
*/
|
|
525
525
|
sendGet(companyId?: number, identifier?: string, committente?: string, prestatore?: string, fileName?: string, lastUpdateFrom?: string, lastUpdateTo?: string, dateSentFrom?: string, dateSentTo?: string, documentDateFrom?: string, documentDateTo?: string, documentNumber?: string, includePayload?: boolean, page?: number, pageSize?: number, sort?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send[], any, {}>>;
|
|
526
526
|
/**
|
|
527
|
-
*
|
|
527
|
+
* 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/).
|
|
528
528
|
* @summary Get a invoice by id
|
|
529
529
|
* @param {number} id Item id
|
|
530
530
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -533,7 +533,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
533
533
|
*/
|
|
534
534
|
sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
535
535
|
/**
|
|
536
|
-
*
|
|
536
|
+
* 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/).
|
|
537
537
|
* @summary Get a invoice by identifier
|
|
538
538
|
* @param {string} identifier
|
|
539
539
|
* @param {boolean} [includePayload] Include payload in the response. Defaults to false.
|
|
@@ -542,7 +542,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
542
542
|
*/
|
|
543
543
|
sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
544
544
|
/**
|
|
545
|
-
* Send invoices are
|
|
545
|
+
* 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).
|
|
546
546
|
* @summary Add an invoice by json
|
|
547
547
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
548
548
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -552,7 +552,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
552
552
|
*/
|
|
553
553
|
sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
554
554
|
/**
|
|
555
|
-
* Send
|
|
555
|
+
* 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).
|
|
556
556
|
* @summary Add an invoice
|
|
557
557
|
* @param {Send} send
|
|
558
558
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
@@ -562,7 +562,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
562
562
|
*/
|
|
563
563
|
sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
564
564
|
/**
|
|
565
|
-
* Send invoices are
|
|
565
|
+
* 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/).
|
|
566
566
|
* @summary Validate an invoice file
|
|
567
567
|
* @param {File} file
|
|
568
568
|
* @param {*} [options] Override http request option.
|
|
@@ -570,7 +570,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
570
570
|
*/
|
|
571
571
|
sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
572
572
|
/**
|
|
573
|
-
* Send invoices are
|
|
573
|
+
* 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/).
|
|
574
574
|
* @summary Validate an invoice by json
|
|
575
575
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
576
576
|
* @param {*} [options] Override http request option.
|
|
@@ -578,7 +578,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
578
578
|
*/
|
|
579
579
|
sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
580
580
|
/**
|
|
581
|
-
* Send invoices are
|
|
581
|
+
* 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/).
|
|
582
582
|
* @summary Validate an invoice
|
|
583
583
|
* @param {Send} send
|
|
584
584
|
* @param {*} [options] Override http request option.
|
|
@@ -586,7 +586,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
586
586
|
*/
|
|
587
587
|
sendValidatePost(send: Send, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
588
588
|
/**
|
|
589
|
-
* Send invoices are
|
|
589
|
+
* 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/).
|
|
590
590
|
* @summary Validate an invoice by xml
|
|
591
591
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
592
592
|
* @param {*} [options] Override http request option.
|
|
@@ -594,7 +594,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
594
594
|
*/
|
|
595
595
|
sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
596
596
|
/**
|
|
597
|
-
* Send invoices are
|
|
597
|
+
* 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).
|
|
598
598
|
* @summary Add an invoice by xml
|
|
599
599
|
* @param {FatturaOrdinaria} fatturaOrdinaria
|
|
600
600
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|