@invoicetronic/ts-sdk 1.4.0 → 1.5.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/configuration.ts +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/src/api/company-api.d.ts +15 -10
- package/dist/esm/src/api/company-api.js +18 -11
- package/dist/esm/src/api/export-api.d.ts +10 -16
- package/dist/esm/src/api/export-api.js +4 -9
- package/dist/esm/src/api/health-api.d.ts +74 -0
- package/dist/esm/src/api/health-api.js +120 -0
- package/dist/esm/src/api/receive-api.d.ts +15 -10
- package/dist/esm/src/api/receive-api.js +18 -11
- package/dist/esm/src/api/send-api.d.ts +55 -51
- package/dist/esm/src/api/send-api.js +74 -67
- 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/models/document-data.d.ts +15 -0
- package/dist/esm/src/models/document-data.js +14 -0
- package/dist/esm/src/models/index.d.ts +5 -0
- package/dist/esm/src/models/index.js +5 -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/problem-http-result.d.ts +17 -0
- package/dist/esm/src/models/problem-http-result.js +14 -0
- package/dist/esm/src/models/receive.d.ts +4 -0
- 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 +4 -0
- package/dist/src/api/company-api.d.ts +15 -10
- package/dist/src/api/company-api.js +18 -11
- package/dist/src/api/export-api.d.ts +10 -16
- package/dist/src/api/export-api.js +5 -10
- package/dist/src/api/health-api.d.ts +74 -0
- package/dist/src/api/health-api.js +127 -0
- package/dist/src/api/receive-api.d.ts +15 -10
- package/dist/src/api/receive-api.js +18 -11
- package/dist/src/api/send-api.d.ts +55 -51
- package/dist/src/api/send-api.js +74 -67
- package/dist/src/api/update-api.d.ts +10 -10
- package/dist/src/api/update-api.js +8 -8
- package/dist/src/models/document-data.d.ts +15 -0
- package/dist/src/models/document-data.js +15 -0
- package/dist/src/models/index.d.ts +5 -0
- package/dist/src/models/index.js +5 -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/problem-http-result.d.ts +17 -0
- package/dist/src/models/problem-http-result.js +15 -0
- package/dist/src/models/receive.d.ts +4 -0
- 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 +4 -0
- package/docs/CompanyApi.md +5 -2
- package/docs/DocumentData.md +22 -0
- package/docs/Error.md +25 -0
- package/docs/ExportApi.md +2 -2
- package/docs/HealthApi.md +54 -0
- package/docs/ProblemDetails.md +28 -0
- package/docs/ProblemHttpResult.md +24 -0
- package/docs/Receive.md +2 -0
- package/docs/ReceiveApi.md +5 -2
- package/docs/Send.md +2 -0
- package/docs/SendApi.md +25 -26
- package/docs/SendReduced.md +29 -0
- package/docs/UpdateApi.md +2 -2
- package/package.json +1 -1
- package/src/api/company-api.ts +22 -13
- package/src/api/export-api.ts +10 -16
- package/src/api/health-api.ts +135 -0
- package/src/api/receive-api.ts +22 -13
- package/src/api/send-api.ts +86 -79
- package/src/api/update-api.ts +10 -10
- package/src/models/document-data.ts +21 -0
- package/src/models/index.ts +5 -0
- package/src/models/model-error.ts +34 -0
- package/src/models/problem-details.ts +26 -0
- package/src/models/problem-http-result.ts +25 -0
- package/src/models/receive.ts +4 -0
- package/src/models/send-reduced.ts +45 -0
- package/src/models/send.ts +4 -0
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
import type { Configuration } from '../../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../../base';
|
|
15
|
-
import type { FatturaOrdinaria } from '../../src/models';
|
|
16
15
|
import type { Send } from '../../src/models';
|
|
17
16
|
/**
|
|
18
17
|
* SendApi - axios parameter creator
|
|
@@ -29,7 +28,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
29
28
|
*/
|
|
30
29
|
sendFilePost: (file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
30
|
/**
|
|
32
|
-
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and
|
|
31
|
+
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). 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
32
|
* @summary List invoices
|
|
34
33
|
* @param {number} [companyId] Company id
|
|
35
34
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -47,10 +46,11 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
47
46
|
* @param {number} [page] Page number.
|
|
48
47
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
49
48
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
49
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
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>;
|
|
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, q?: 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
|
|
@@ -80,13 +80,13 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
80
80
|
/**
|
|
81
81
|
* 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).
|
|
82
82
|
* @summary Add an invoice by json
|
|
83
|
-
* @param {
|
|
83
|
+
* @param {object} body
|
|
84
84
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
85
85
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
89
|
-
sendJsonPost: (
|
|
89
|
+
sendJsonPost: (body: object, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
90
90
|
/**
|
|
91
91
|
* 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).
|
|
92
92
|
* @summary Add an invoice
|
|
@@ -108,11 +108,11 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
108
108
|
/**
|
|
109
109
|
* 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/).
|
|
110
110
|
* @summary Validate an invoice by json
|
|
111
|
-
* @param {
|
|
111
|
+
* @param {object} body
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
113
113
|
* @throws {RequiredError}
|
|
114
114
|
*/
|
|
115
|
-
sendValidateJsonPost: (
|
|
115
|
+
sendValidateJsonPost: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
116
116
|
/**
|
|
117
117
|
* 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/).
|
|
118
118
|
* @summary Validate an invoice
|
|
@@ -124,21 +124,21 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
124
124
|
/**
|
|
125
125
|
* 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/).
|
|
126
126
|
* @summary Validate an invoice by xml
|
|
127
|
-
* @param {
|
|
127
|
+
* @param {object} body
|
|
128
128
|
* @param {*} [options] Override http request option.
|
|
129
129
|
* @throws {RequiredError}
|
|
130
130
|
*/
|
|
131
|
-
sendValidateXmlPost: (
|
|
131
|
+
sendValidateXmlPost: (body: object, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
132
132
|
/**
|
|
133
133
|
* 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).
|
|
134
134
|
* @summary Add an invoice by xml
|
|
135
|
-
* @param {
|
|
135
|
+
* @param {object} body
|
|
136
136
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
137
137
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
138
138
|
* @param {*} [options] Override http request option.
|
|
139
139
|
* @throws {RequiredError}
|
|
140
140
|
*/
|
|
141
|
-
sendXmlPost: (
|
|
141
|
+
sendXmlPost: (body: object, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
142
142
|
};
|
|
143
143
|
/**
|
|
144
144
|
* SendApi - functional programming interface
|
|
@@ -155,7 +155,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
155
155
|
*/
|
|
156
156
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Send>>;
|
|
157
157
|
/**
|
|
158
|
-
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and
|
|
158
|
+
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). 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/).
|
|
159
159
|
* @summary List invoices
|
|
160
160
|
* @param {number} [companyId] Company id
|
|
161
161
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -173,10 +173,11 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
173
173
|
* @param {number} [page] Page number.
|
|
174
174
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
175
175
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
176
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
176
177
|
* @param {*} [options] Override http request option.
|
|
177
178
|
* @throws {RequiredError}
|
|
178
179
|
*/
|
|
179
|
-
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>>>;
|
|
180
|
+
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, q?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Send>>>;
|
|
180
181
|
/**
|
|
181
182
|
* 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/).
|
|
182
183
|
* @summary Get a invoice by id
|
|
@@ -206,13 +207,13 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
206
207
|
/**
|
|
207
208
|
* 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).
|
|
208
209
|
* @summary Add an invoice by json
|
|
209
|
-
* @param {
|
|
210
|
+
* @param {object} body
|
|
210
211
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
211
212
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
212
213
|
* @param {*} [options] Override http request option.
|
|
213
214
|
* @throws {RequiredError}
|
|
214
215
|
*/
|
|
215
|
-
sendJsonPost(
|
|
216
|
+
sendJsonPost(body: object, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Send>>;
|
|
216
217
|
/**
|
|
217
218
|
* 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).
|
|
218
219
|
* @summary Add an invoice
|
|
@@ -234,11 +235,11 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
234
235
|
/**
|
|
235
236
|
* 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/).
|
|
236
237
|
* @summary Validate an invoice by json
|
|
237
|
-
* @param {
|
|
238
|
+
* @param {object} body
|
|
238
239
|
* @param {*} [options] Override http request option.
|
|
239
240
|
* @throws {RequiredError}
|
|
240
241
|
*/
|
|
241
|
-
sendValidateJsonPost(
|
|
242
|
+
sendValidateJsonPost(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
242
243
|
/**
|
|
243
244
|
* 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/).
|
|
244
245
|
* @summary Validate an invoice
|
|
@@ -250,21 +251,21 @@ export declare const SendApiFp: (configuration?: Configuration) => {
|
|
|
250
251
|
/**
|
|
251
252
|
* 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/).
|
|
252
253
|
* @summary Validate an invoice by xml
|
|
253
|
-
* @param {
|
|
254
|
+
* @param {object} body
|
|
254
255
|
* @param {*} [options] Override http request option.
|
|
255
256
|
* @throws {RequiredError}
|
|
256
257
|
*/
|
|
257
|
-
sendValidateXmlPost(
|
|
258
|
+
sendValidateXmlPost(body: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
258
259
|
/**
|
|
259
260
|
* 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).
|
|
260
261
|
* @summary Add an invoice by xml
|
|
261
|
-
* @param {
|
|
262
|
+
* @param {object} body
|
|
262
263
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
263
264
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
264
265
|
* @param {*} [options] Override http request option.
|
|
265
266
|
* @throws {RequiredError}
|
|
266
267
|
*/
|
|
267
|
-
sendXmlPost(
|
|
268
|
+
sendXmlPost(body: object, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Send>>;
|
|
268
269
|
};
|
|
269
270
|
/**
|
|
270
271
|
* SendApi - factory interface
|
|
@@ -281,7 +282,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
281
282
|
*/
|
|
282
283
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
283
284
|
/**
|
|
284
|
-
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and
|
|
285
|
+
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). 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/).
|
|
285
286
|
* @summary List invoices
|
|
286
287
|
* @param {number} [companyId] Company id
|
|
287
288
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -299,10 +300,11 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
299
300
|
* @param {number} [page] Page number.
|
|
300
301
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
301
302
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
303
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
302
304
|
* @param {*} [options] Override http request option.
|
|
303
305
|
* @throws {RequiredError}
|
|
304
306
|
*/
|
|
305
|
-
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>>;
|
|
307
|
+
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, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Send>>;
|
|
306
308
|
/**
|
|
307
309
|
* 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/).
|
|
308
310
|
* @summary Get a invoice by id
|
|
@@ -332,13 +334,13 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
332
334
|
/**
|
|
333
335
|
* 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).
|
|
334
336
|
* @summary Add an invoice by json
|
|
335
|
-
* @param {
|
|
337
|
+
* @param {object} body
|
|
336
338
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
337
339
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
338
340
|
* @param {*} [options] Override http request option.
|
|
339
341
|
* @throws {RequiredError}
|
|
340
342
|
*/
|
|
341
|
-
sendJsonPost(
|
|
343
|
+
sendJsonPost(body: object, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
342
344
|
/**
|
|
343
345
|
* 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).
|
|
344
346
|
* @summary Add an invoice
|
|
@@ -360,11 +362,11 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
360
362
|
/**
|
|
361
363
|
* 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/).
|
|
362
364
|
* @summary Validate an invoice by json
|
|
363
|
-
* @param {
|
|
365
|
+
* @param {object} body
|
|
364
366
|
* @param {*} [options] Override http request option.
|
|
365
367
|
* @throws {RequiredError}
|
|
366
368
|
*/
|
|
367
|
-
sendValidateJsonPost(
|
|
369
|
+
sendValidateJsonPost(body: object, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
368
370
|
/**
|
|
369
371
|
* 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/).
|
|
370
372
|
* @summary Validate an invoice
|
|
@@ -376,21 +378,21 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
|
|
|
376
378
|
/**
|
|
377
379
|
* 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/).
|
|
378
380
|
* @summary Validate an invoice by xml
|
|
379
|
-
* @param {
|
|
381
|
+
* @param {object} body
|
|
380
382
|
* @param {*} [options] Override http request option.
|
|
381
383
|
* @throws {RequiredError}
|
|
382
384
|
*/
|
|
383
|
-
sendValidateXmlPost(
|
|
385
|
+
sendValidateXmlPost(body: object, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
384
386
|
/**
|
|
385
387
|
* 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).
|
|
386
388
|
* @summary Add an invoice by xml
|
|
387
|
-
* @param {
|
|
389
|
+
* @param {object} body
|
|
388
390
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
389
391
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
390
392
|
* @param {*} [options] Override http request option.
|
|
391
393
|
* @throws {RequiredError}
|
|
392
394
|
*/
|
|
393
|
-
sendXmlPost(
|
|
395
|
+
sendXmlPost(body: object, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
394
396
|
};
|
|
395
397
|
/**
|
|
396
398
|
* SendApi - interface
|
|
@@ -407,7 +409,7 @@ export interface SendApiInterface {
|
|
|
407
409
|
*/
|
|
408
410
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
409
411
|
/**
|
|
410
|
-
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and
|
|
412
|
+
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). 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/).
|
|
411
413
|
* @summary List invoices
|
|
412
414
|
* @param {number} [companyId] Company id
|
|
413
415
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -425,10 +427,11 @@ export interface SendApiInterface {
|
|
|
425
427
|
* @param {number} [page] Page number.
|
|
426
428
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
427
429
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
430
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
428
431
|
* @param {*} [options] Override http request option.
|
|
429
432
|
* @throws {RequiredError}
|
|
430
433
|
*/
|
|
431
|
-
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>>;
|
|
434
|
+
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, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Send>>;
|
|
432
435
|
/**
|
|
433
436
|
* 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/).
|
|
434
437
|
* @summary Get a invoice by id
|
|
@@ -458,13 +461,13 @@ export interface SendApiInterface {
|
|
|
458
461
|
/**
|
|
459
462
|
* 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).
|
|
460
463
|
* @summary Add an invoice by json
|
|
461
|
-
* @param {
|
|
464
|
+
* @param {object} body
|
|
462
465
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
463
466
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
464
467
|
* @param {*} [options] Override http request option.
|
|
465
468
|
* @throws {RequiredError}
|
|
466
469
|
*/
|
|
467
|
-
sendJsonPost(
|
|
470
|
+
sendJsonPost(body: object, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
468
471
|
/**
|
|
469
472
|
* 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).
|
|
470
473
|
* @summary Add an invoice
|
|
@@ -486,11 +489,11 @@ export interface SendApiInterface {
|
|
|
486
489
|
/**
|
|
487
490
|
* 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/).
|
|
488
491
|
* @summary Validate an invoice by json
|
|
489
|
-
* @param {
|
|
492
|
+
* @param {object} body
|
|
490
493
|
* @param {*} [options] Override http request option.
|
|
491
494
|
* @throws {RequiredError}
|
|
492
495
|
*/
|
|
493
|
-
sendValidateJsonPost(
|
|
496
|
+
sendValidateJsonPost(body: object, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
494
497
|
/**
|
|
495
498
|
* 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/).
|
|
496
499
|
* @summary Validate an invoice
|
|
@@ -502,21 +505,21 @@ export interface SendApiInterface {
|
|
|
502
505
|
/**
|
|
503
506
|
* 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/).
|
|
504
507
|
* @summary Validate an invoice by xml
|
|
505
|
-
* @param {
|
|
508
|
+
* @param {object} body
|
|
506
509
|
* @param {*} [options] Override http request option.
|
|
507
510
|
* @throws {RequiredError}
|
|
508
511
|
*/
|
|
509
|
-
sendValidateXmlPost(
|
|
512
|
+
sendValidateXmlPost(body: object, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
510
513
|
/**
|
|
511
514
|
* 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).
|
|
512
515
|
* @summary Add an invoice by xml
|
|
513
|
-
* @param {
|
|
516
|
+
* @param {object} body
|
|
514
517
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
515
518
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
516
519
|
* @param {*} [options] Override http request option.
|
|
517
520
|
* @throws {RequiredError}
|
|
518
521
|
*/
|
|
519
|
-
sendXmlPost(
|
|
522
|
+
sendXmlPost(body: object, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
|
|
520
523
|
}
|
|
521
524
|
/**
|
|
522
525
|
* SendApi - object-oriented interface
|
|
@@ -533,7 +536,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
533
536
|
*/
|
|
534
537
|
sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
535
538
|
/**
|
|
536
|
-
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and
|
|
539
|
+
* Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, document number, and free-text search (`q`). 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
540
|
* @summary List invoices
|
|
538
541
|
* @param {number} [companyId] Company id
|
|
539
542
|
* @param {string} [identifier] SDI identifier.
|
|
@@ -551,10 +554,11 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
551
554
|
* @param {number} [page] Page number.
|
|
552
555
|
* @param {number} [pageSize] Items per page. Cannot be greater than 200.
|
|
553
556
|
* @param {string} [sort] Sort by field. Prefix with \'-\' for descending order.
|
|
557
|
+
* @param {string} [q] Full-text search across committente, prestatore, identifier, and file name.
|
|
554
558
|
* @param {*} [options] Override http request option.
|
|
555
559
|
* @throws {RequiredError}
|
|
556
560
|
*/
|
|
557
|
-
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, {}>>;
|
|
561
|
+
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, q?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send[], any, {}>>;
|
|
558
562
|
/**
|
|
559
563
|
* 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/).
|
|
560
564
|
* @summary Get a invoice by id
|
|
@@ -584,13 +588,13 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
584
588
|
/**
|
|
585
589
|
* 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).
|
|
586
590
|
* @summary Add an invoice by json
|
|
587
|
-
* @param {
|
|
591
|
+
* @param {object} body
|
|
588
592
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
589
593
|
* @param {SendJsonPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
590
594
|
* @param {*} [options] Override http request option.
|
|
591
595
|
* @throws {RequiredError}
|
|
592
596
|
*/
|
|
593
|
-
sendJsonPost(
|
|
597
|
+
sendJsonPost(body: object, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
594
598
|
/**
|
|
595
599
|
* 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).
|
|
596
600
|
* @summary Add an invoice
|
|
@@ -612,11 +616,11 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
612
616
|
/**
|
|
613
617
|
* 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/).
|
|
614
618
|
* @summary Validate an invoice by json
|
|
615
|
-
* @param {
|
|
619
|
+
* @param {object} body
|
|
616
620
|
* @param {*} [options] Override http request option.
|
|
617
621
|
* @throws {RequiredError}
|
|
618
622
|
*/
|
|
619
|
-
sendValidateJsonPost(
|
|
623
|
+
sendValidateJsonPost(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
620
624
|
/**
|
|
621
625
|
* 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/).
|
|
622
626
|
* @summary Validate an invoice
|
|
@@ -628,21 +632,21 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
|
|
|
628
632
|
/**
|
|
629
633
|
* 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/).
|
|
630
634
|
* @summary Validate an invoice by xml
|
|
631
|
-
* @param {
|
|
635
|
+
* @param {object} body
|
|
632
636
|
* @param {*} [options] Override http request option.
|
|
633
637
|
* @throws {RequiredError}
|
|
634
638
|
*/
|
|
635
|
-
sendValidateXmlPost(
|
|
639
|
+
sendValidateXmlPost(body: object, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
636
640
|
/**
|
|
637
641
|
* 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).
|
|
638
642
|
* @summary Add an invoice by xml
|
|
639
|
-
* @param {
|
|
643
|
+
* @param {object} body
|
|
640
644
|
* @param {boolean} [validate] Validate the document first, and reject it on failure.
|
|
641
645
|
* @param {SendXmlPostSignatureEnum} [signature] Whether to digitally sign the document.
|
|
642
646
|
* @param {*} [options] Override http request option.
|
|
643
647
|
* @throws {RequiredError}
|
|
644
648
|
*/
|
|
645
|
-
sendXmlPost(
|
|
649
|
+
sendXmlPost(body: object, validate?: boolean, signature?: SendXmlPostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
|
|
646
650
|
}
|
|
647
651
|
export declare const SendFilePostSignatureEnum: {
|
|
648
652
|
readonly None: "None";
|