@invoicetronic/ts-sdk 1.6.0 → 1.8.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.
Files changed (151) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +2 -2
  3. package/api.ts +1 -1
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +1 -1
  8. package/dist/api.js +1 -1
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +2 -2
  15. package/dist/esm/api.d.ts +1 -1
  16. package/dist/esm/api.js +1 -1
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +2 -2
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/esm/src/api/company-api.d.ts +1 -1
  26. package/dist/esm/src/api/company-api.js +20 -2
  27. package/dist/esm/src/api/export-api.d.ts +1 -1
  28. package/dist/esm/src/api/export-api.js +5 -2
  29. package/dist/esm/src/api/health-api.d.ts +1 -1
  30. package/dist/esm/src/api/health-api.js +5 -2
  31. package/dist/esm/src/api/log-api.d.ts +1 -1
  32. package/dist/esm/src/api/log-api.js +8 -2
  33. package/dist/esm/src/api/receive-api.d.ts +16 -16
  34. package/dist/esm/src/api/receive-api.js +26 -14
  35. package/dist/esm/src/api/send-api.d.ts +16 -11
  36. package/dist/esm/src/api/send-api.js +56 -13
  37. package/dist/esm/src/api/status-api.d.ts +1 -1
  38. package/dist/esm/src/api/status-api.js +5 -2
  39. package/dist/esm/src/api/update-api.d.ts +1 -1
  40. package/dist/esm/src/api/update-api.js +8 -2
  41. package/dist/esm/src/api/webhook-api.d.ts +1 -1
  42. package/dist/esm/src/api/webhook-api.js +23 -2
  43. package/dist/esm/src/models/company.d.ts +3 -3
  44. package/dist/esm/src/models/company.js +1 -1
  45. package/dist/esm/src/models/document-data.d.ts +1 -1
  46. package/dist/esm/src/models/document-data.js +1 -1
  47. package/dist/esm/src/models/event.d.ts +2 -2
  48. package/dist/esm/src/models/event.js +1 -1
  49. package/dist/esm/src/models/model-error.d.ts +1 -1
  50. package/dist/esm/src/models/model-error.js +1 -1
  51. package/dist/esm/src/models/problem-details.d.ts +1 -1
  52. package/dist/esm/src/models/problem-details.js +1 -1
  53. package/dist/esm/src/models/receive.d.ts +5 -5
  54. package/dist/esm/src/models/receive.js +1 -1
  55. package/dist/esm/src/models/send-reduced.d.ts +17 -1
  56. package/dist/esm/src/models/send-reduced.js +12 -2
  57. package/dist/esm/src/models/send.d.ts +21 -5
  58. package/dist/esm/src/models/send.js +12 -1
  59. package/dist/esm/src/models/status.d.ts +9 -1
  60. package/dist/esm/src/models/status.js +1 -1
  61. package/dist/esm/src/models/update.d.ts +2 -2
  62. package/dist/esm/src/models/update.js +1 -1
  63. package/dist/esm/src/models/web-hook-history.d.ts +7 -3
  64. package/dist/esm/src/models/web-hook-history.js +1 -1
  65. package/dist/esm/src/models/web-hook.d.ts +8 -4
  66. package/dist/esm/src/models/web-hook.js +1 -1
  67. package/dist/index.d.ts +1 -1
  68. package/dist/index.js +1 -1
  69. package/dist/src/api/company-api.d.ts +1 -1
  70. package/dist/src/api/company-api.js +19 -1
  71. package/dist/src/api/export-api.d.ts +1 -1
  72. package/dist/src/api/export-api.js +4 -1
  73. package/dist/src/api/health-api.d.ts +1 -1
  74. package/dist/src/api/health-api.js +4 -1
  75. package/dist/src/api/log-api.d.ts +1 -1
  76. package/dist/src/api/log-api.js +7 -1
  77. package/dist/src/api/receive-api.d.ts +16 -16
  78. package/dist/src/api/receive-api.js +25 -13
  79. package/dist/src/api/send-api.d.ts +16 -11
  80. package/dist/src/api/send-api.js +55 -12
  81. package/dist/src/api/status-api.d.ts +1 -1
  82. package/dist/src/api/status-api.js +4 -1
  83. package/dist/src/api/update-api.d.ts +1 -1
  84. package/dist/src/api/update-api.js +7 -1
  85. package/dist/src/api/webhook-api.d.ts +1 -1
  86. package/dist/src/api/webhook-api.js +22 -1
  87. package/dist/src/models/company.d.ts +3 -3
  88. package/dist/src/models/company.js +1 -1
  89. package/dist/src/models/document-data.d.ts +1 -1
  90. package/dist/src/models/document-data.js +1 -1
  91. package/dist/src/models/event.d.ts +2 -2
  92. package/dist/src/models/event.js +1 -1
  93. package/dist/src/models/model-error.d.ts +1 -1
  94. package/dist/src/models/model-error.js +1 -1
  95. package/dist/src/models/problem-details.d.ts +1 -1
  96. package/dist/src/models/problem-details.js +1 -1
  97. package/dist/src/models/receive.d.ts +5 -5
  98. package/dist/src/models/receive.js +1 -1
  99. package/dist/src/models/send-reduced.d.ts +17 -1
  100. package/dist/src/models/send-reduced.js +13 -1
  101. package/dist/src/models/send.d.ts +21 -5
  102. package/dist/src/models/send.js +13 -2
  103. package/dist/src/models/status.d.ts +9 -1
  104. package/dist/src/models/status.js +1 -1
  105. package/dist/src/models/update.d.ts +2 -2
  106. package/dist/src/models/update.js +1 -1
  107. package/dist/src/models/web-hook-history.d.ts +7 -3
  108. package/dist/src/models/web-hook-history.js +1 -1
  109. package/dist/src/models/web-hook.d.ts +8 -4
  110. package/dist/src/models/web-hook.js +1 -1
  111. package/docs/Company.md +4 -4
  112. package/docs/CompanyApi.md +6 -6
  113. package/docs/Event.md +3 -3
  114. package/docs/ExportApi.md +1 -1
  115. package/docs/HealthApi.md +1 -1
  116. package/docs/LogApi.md +2 -2
  117. package/docs/Receive.md +12 -12
  118. package/docs/ReceiveApi.md +7 -7
  119. package/docs/Send.md +15 -13
  120. package/docs/SendApi.md +16 -13
  121. package/docs/SendReduced.md +2 -0
  122. package/docs/Status.md +4 -0
  123. package/docs/StatusApi.md +1 -1
  124. package/docs/Update.md +3 -3
  125. package/docs/UpdateApi.md +2 -2
  126. package/docs/WebHook.md +7 -5
  127. package/docs/WebHookHistory.md +6 -4
  128. package/docs/WebhookApi.md +7 -7
  129. package/index.ts +1 -1
  130. package/package.json +1 -1
  131. package/src/api/company-api.ts +25 -1
  132. package/src/api/export-api.ts +5 -1
  133. package/src/api/health-api.ts +5 -1
  134. package/src/api/log-api.ts +9 -1
  135. package/src/api/receive-api.ts +32 -16
  136. package/src/api/send-api.ts +71 -14
  137. package/src/api/status-api.ts +5 -1
  138. package/src/api/update-api.ts +9 -1
  139. package/src/api/webhook-api.ts +29 -1
  140. package/src/models/company.ts +3 -3
  141. package/src/models/document-data.ts +1 -1
  142. package/src/models/event.ts +2 -2
  143. package/src/models/model-error.ts +1 -1
  144. package/src/models/problem-details.ts +1 -1
  145. package/src/models/receive.ts +5 -5
  146. package/src/models/send-reduced.ts +20 -1
  147. package/src/models/send.ts +22 -5
  148. package/src/models/status.ts +9 -1
  149. package/src/models/update.ts +2 -2
  150. package/src/models/web-hook-history.ts +7 -3
  151. package/src/models/web-hook.ts +8 -4
@@ -2,7 +2,7 @@
2
2
  * Invoicetronic API
3
3
  * The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
4
4
  *
5
- * The version of the OpenAPI document: 1.6.1
5
+ * The version of the OpenAPI document: 1.12.0
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -18,7 +18,7 @@ import type { Receive } from '../../src/models';
18
18
  */
19
19
  export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration) => {
20
20
  /**
21
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
21
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
22
22
  * @summary List incoming invoices
23
23
  * @param {number} [companyId] Company id
24
24
  * @param {string} [identifier] SDI identifier.
@@ -43,7 +43,7 @@ export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration
43
43
  */
44
44
  receiveGet: (companyId?: number, identifier?: string, unread?: boolean, 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>;
45
45
  /**
46
- * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
46
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
47
47
  * @summary Delete an incoming invoice by id
48
48
  * @param {number} id Item id
49
49
  * @param {*} [options] Override http request option.
@@ -51,7 +51,7 @@ export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration
51
51
  */
52
52
  receiveIdDelete: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
53
53
  /**
54
- * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
54
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
55
55
  * @summary Get an incoming invoice by id
56
56
  * @param {number} id Item id
57
57
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -73,7 +73,7 @@ export declare const ReceiveApiAxiosParamCreator: (configuration?: Configuration
73
73
  */
74
74
  export declare const ReceiveApiFp: (configuration?: Configuration) => {
75
75
  /**
76
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
76
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
77
77
  * @summary List incoming invoices
78
78
  * @param {number} [companyId] Company id
79
79
  * @param {string} [identifier] SDI identifier.
@@ -98,7 +98,7 @@ export declare const ReceiveApiFp: (configuration?: Configuration) => {
98
98
  */
99
99
  receiveGet(companyId?: number, identifier?: string, unread?: boolean, 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<Receive>>>;
100
100
  /**
101
- * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
101
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
102
102
  * @summary Delete an incoming invoice by id
103
103
  * @param {number} id Item id
104
104
  * @param {*} [options] Override http request option.
@@ -106,7 +106,7 @@ export declare const ReceiveApiFp: (configuration?: Configuration) => {
106
106
  */
107
107
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Receive>>;
108
108
  /**
109
- * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
109
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
110
110
  * @summary Get an incoming invoice by id
111
111
  * @param {number} id Item id
112
112
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -128,7 +128,7 @@ export declare const ReceiveApiFp: (configuration?: Configuration) => {
128
128
  */
129
129
  export declare const ReceiveApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
130
130
  /**
131
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
131
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
132
132
  * @summary List incoming invoices
133
133
  * @param {number} [companyId] Company id
134
134
  * @param {string} [identifier] SDI identifier.
@@ -153,7 +153,7 @@ export declare const ReceiveApiFactory: (configuration?: Configuration, basePath
153
153
  */
154
154
  receiveGet(companyId?: number, identifier?: string, unread?: boolean, 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<Receive>>;
155
155
  /**
156
- * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
156
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
157
157
  * @summary Delete an incoming invoice by id
158
158
  * @param {number} id Item id
159
159
  * @param {*} [options] Override http request option.
@@ -161,7 +161,7 @@ export declare const ReceiveApiFactory: (configuration?: Configuration, basePath
161
161
  */
162
162
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
163
163
  /**
164
- * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
164
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
165
165
  * @summary Get an incoming invoice by id
166
166
  * @param {number} id Item id
167
167
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -183,7 +183,7 @@ export declare const ReceiveApiFactory: (configuration?: Configuration, basePath
183
183
  */
184
184
  export interface ReceiveApiInterface {
185
185
  /**
186
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
186
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
187
187
  * @summary List incoming invoices
188
188
  * @param {number} [companyId] Company id
189
189
  * @param {string} [identifier] SDI identifier.
@@ -208,7 +208,7 @@ export interface ReceiveApiInterface {
208
208
  */
209
209
  receiveGet(companyId?: number, identifier?: string, unread?: boolean, 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<Receive>>;
210
210
  /**
211
- * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
211
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
212
212
  * @summary Delete an incoming invoice by id
213
213
  * @param {number} id Item id
214
214
  * @param {*} [options] Override http request option.
@@ -216,7 +216,7 @@ export interface ReceiveApiInterface {
216
216
  */
217
217
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Receive>;
218
218
  /**
219
- * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
219
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
220
220
  * @summary Get an incoming invoice by id
221
221
  * @param {number} id Item id
222
222
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -238,7 +238,7 @@ export interface ReceiveApiInterface {
238
238
  */
239
239
  export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
240
240
  /**
241
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
241
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
242
242
  * @summary List incoming invoices
243
243
  * @param {number} [companyId] Company id
244
244
  * @param {string} [identifier] SDI identifier.
@@ -263,7 +263,7 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
263
263
  */
264
264
  receiveGet(companyId?: number, identifier?: string, unread?: boolean, 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<Receive[], any, {}>>;
265
265
  /**
266
- * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
266
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
267
267
  * @summary Delete an incoming invoice by id
268
268
  * @param {number} id Item id
269
269
  * @param {*} [options] Override http request option.
@@ -271,7 +271,7 @@ export declare class ReceiveApi extends BaseAPI implements ReceiveApiInterface {
271
271
  */
272
272
  receiveIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Receive, any, {}>>;
273
273
  /**
274
- * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
274
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
275
275
  * @summary Get an incoming invoice by id
276
276
  * @param {number} id Item id
277
277
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -5,7 +5,7 @@
5
5
  * Invoicetronic API
6
6
  * The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
7
7
  *
8
- * The version of the OpenAPI document: 1.6.1
8
+ * The version of the OpenAPI document: 1.12.0
9
9
  * Contact: info@invoicetronic.com
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -38,7 +38,7 @@ const base_1 = require("../../base");
38
38
  const ReceiveApiAxiosParamCreator = function (configuration) {
39
39
  return {
40
40
  /**
41
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
41
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
42
42
  * @summary List incoming invoices
43
43
  * @param {number} [companyId] Company id
44
44
  * @param {string} [identifier] SDI identifier.
@@ -72,6 +72,9 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
72
72
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
73
73
  const localVarHeaderParameter = {};
74
74
  const localVarQueryParameter = {};
75
+ // authentication Basic required
76
+ // http basic authentication required
77
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
75
78
  if (companyId !== undefined) {
76
79
  localVarQueryParameter['company_id'] = companyId;
77
80
  }
@@ -148,7 +151,7 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
148
151
  };
149
152
  }),
150
153
  /**
151
- * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
154
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
152
155
  * @summary Delete an incoming invoice by id
153
156
  * @param {number} id Item id
154
157
  * @param {*} [options] Override http request option.
@@ -168,6 +171,9 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
168
171
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
169
172
  const localVarHeaderParameter = {};
170
173
  const localVarQueryParameter = {};
174
+ // authentication Basic required
175
+ // http basic authentication required
176
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
171
177
  localVarHeaderParameter['Accept'] = 'application/json';
172
178
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
173
179
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -178,7 +184,7 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
178
184
  };
179
185
  }),
180
186
  /**
181
- * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
187
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
182
188
  * @summary Get an incoming invoice by id
183
189
  * @param {number} id Item id
184
190
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -199,6 +205,9 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
199
205
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
200
206
  const localVarHeaderParameter = {};
201
207
  const localVarQueryParameter = {};
208
+ // authentication Basic required
209
+ // http basic authentication required
210
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
202
211
  if (includePayload !== undefined) {
203
212
  localVarQueryParameter['include_payload'] = includePayload;
204
213
  }
@@ -232,6 +241,9 @@ const ReceiveApiAxiosParamCreator = function (configuration) {
232
241
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
233
242
  const localVarHeaderParameter = {};
234
243
  const localVarQueryParameter = {};
244
+ // authentication Basic required
245
+ // http basic authentication required
246
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
235
247
  localVarHeaderParameter['Accept'] = 'application/problem+json';
236
248
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
237
249
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -251,7 +263,7 @@ const ReceiveApiFp = function (configuration) {
251
263
  const localVarAxiosParamCreator = (0, exports.ReceiveApiAxiosParamCreator)(configuration);
252
264
  return {
253
265
  /**
254
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
266
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
255
267
  * @summary List incoming invoices
256
268
  * @param {number} [companyId] Company id
257
269
  * @param {string} [identifier] SDI identifier.
@@ -284,7 +296,7 @@ const ReceiveApiFp = function (configuration) {
284
296
  });
285
297
  },
286
298
  /**
287
- * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
299
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
288
300
  * @summary Delete an incoming invoice by id
289
301
  * @param {number} id Item id
290
302
  * @param {*} [options] Override http request option.
@@ -300,7 +312,7 @@ const ReceiveApiFp = function (configuration) {
300
312
  });
301
313
  },
302
314
  /**
303
- * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
315
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
304
316
  * @summary Get an incoming invoice by id
305
317
  * @param {number} id Item id
306
318
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -342,7 +354,7 @@ const ReceiveApiFactory = function (configuration, basePath, axios) {
342
354
  const localVarFp = (0, exports.ReceiveApiFp)(configuration);
343
355
  return {
344
356
  /**
345
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
357
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
346
358
  * @summary List incoming invoices
347
359
  * @param {number} [companyId] Company id
348
360
  * @param {string} [identifier] SDI identifier.
@@ -369,7 +381,7 @@ const ReceiveApiFactory = function (configuration, basePath, axios) {
369
381
  return localVarFp.receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options).then((request) => request(axios, basePath));
370
382
  },
371
383
  /**
372
- * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
384
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
373
385
  * @summary Delete an incoming invoice by id
374
386
  * @param {number} id Item id
375
387
  * @param {*} [options] Override http request option.
@@ -379,7 +391,7 @@ const ReceiveApiFactory = function (configuration, basePath, axios) {
379
391
  return localVarFp.receiveIdDelete(id, options).then((request) => request(axios, basePath));
380
392
  },
381
393
  /**
382
- * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
394
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
383
395
  * @summary Get an incoming invoice by id
384
396
  * @param {number} id Item id
385
397
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -407,7 +419,7 @@ exports.ReceiveApiFactory = ReceiveApiFactory;
407
419
  */
408
420
  class ReceiveApi extends base_1.BaseAPI {
409
421
  /**
410
- * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
422
+ * Retrieve a paginated list of receive invoices. Results can be filtered by various criteria such as company, date ranges, sender, document number, and free-text search (`q`). Returns invoice metadata; set `include_payload` to true to include the full invoice content. Invoices are marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
411
423
  * @summary List incoming invoices
412
424
  * @param {number} [companyId] Company id
413
425
  * @param {string} [identifier] SDI identifier.
@@ -434,7 +446,7 @@ class ReceiveApi extends base_1.BaseAPI {
434
446
  return (0, exports.ReceiveApiFp)(this.configuration).receiveGet(companyId, identifier, unread, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, q, options).then((request) => request(this.axios, this.basePath));
435
447
  }
436
448
  /**
437
- * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
449
+ * Permanently delete a receive invoice by its internal id. This action cannot be undone. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
438
450
  * @summary Delete an incoming invoice by id
439
451
  * @param {number} id Item id
440
452
  * @param {*} [options] Override http request option.
@@ -444,7 +456,7 @@ class ReceiveApi extends base_1.BaseAPI {
444
456
  return (0, exports.ReceiveApiFp)(this.configuration).receiveIdDelete(id, options).then((request) => request(this.axios, this.basePath));
445
457
  }
446
458
  /**
447
- * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
459
+ * Retrieve an incoming invoice by its internal id. The `id` is unique and assigned by the system when the invoice is received. Returns invoice metadata; set `include_payload` to true to include the full invoice content. The invoice is marked as read (`is_read` = true) only when `include_payload` is true. **Receive** invoices are inbound purchase invoices received from suppliers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 24 hours in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). Inbound invoices are routed to your account via the recipient VAT number, so the recipient company must exist in Invoicetronic for the invoice to be matched. If an invoice arrives before its company has been registered, it is held by our SDI infrastructure and automatically re-processed once the company is created—no invoice is lost. See [Prerequisites](https://invoicetronic.com/en/docs/prerequisites/) for the recommended setup order.
448
460
  * @summary Get an incoming invoice by id
449
461
  * @param {number} id Item id
450
462
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -2,7 +2,7 @@
2
2
  * Invoicetronic API
3
3
  * The [Invoicetronic API][2] is a RESTful service that allows you to send and receive invoices through the Italian [Servizio di Interscambio (SDI)][1], or Interchange Service. The API is designed to be simple and easy to use, abstracting away SDI complexity while providing complete control over the invoice send/receive process. It provides advanced features as encryption at rest, multi-language pre-flight invoice validation, multiple upload formats, webhooks, event logging, client SDKs, and CLI tools. For more information, see [Invoicetronic website][2] [1]: https://www.fatturapa.gov.it/it/sistemainterscambio/cose-il-sdi/ [2]: https://invoicetronic.com/
4
4
  *
5
- * The version of the OpenAPI document: 1.6.1
5
+ * The version of the OpenAPI document: 1.12.0
6
6
  * Contact: info@invoicetronic.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
28
28
  */
29
29
  sendFilePost: (file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
30
  /**
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/).
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`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). 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/).
32
32
  * @summary List invoices
33
33
  * @param {number} [companyId] Company id
34
34
  * @param {string} [identifier] SDI identifier.
@@ -43,6 +43,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
43
43
  * @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
44
44
  * @param {string} [documentNumber] Document number.
45
45
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
46
+ * @param {string} [ids] Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped.
46
47
  * @param {number} [page] Page number.
47
48
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
48
49
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
@@ -50,7 +51,7 @@ export declare const SendApiAxiosParamCreator: (configuration?: Configuration) =
50
51
  * @param {*} [options] Override http request option.
51
52
  * @throws {RequiredError}
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, q?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
+ 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, ids?: string, page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
54
55
  /**
55
56
  * 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
57
  * @summary Get a invoice by id
@@ -155,7 +156,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
155
156
  */
156
157
  sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Send>>;
157
158
  /**
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
+ * 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`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). 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
160
  * @summary List invoices
160
161
  * @param {number} [companyId] Company id
161
162
  * @param {string} [identifier] SDI identifier.
@@ -170,6 +171,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
170
171
  * @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
171
172
  * @param {string} [documentNumber] Document number.
172
173
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
174
+ * @param {string} [ids] Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped.
173
175
  * @param {number} [page] Page number.
174
176
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
175
177
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
@@ -177,7 +179,7 @@ export declare const SendApiFp: (configuration?: Configuration) => {
177
179
  * @param {*} [options] Override http request option.
178
180
  * @throws {RequiredError}
179
181
  */
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>>>;
182
+ 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, ids?: string, page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Send>>>;
181
183
  /**
182
184
  * 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/).
183
185
  * @summary Get a invoice by id
@@ -282,7 +284,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
282
284
  */
283
285
  sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
284
286
  /**
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/).
287
+ * 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`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). 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/).
286
288
  * @summary List invoices
287
289
  * @param {number} [companyId] Company id
288
290
  * @param {string} [identifier] SDI identifier.
@@ -297,6 +299,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
297
299
  * @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
298
300
  * @param {string} [documentNumber] Document number.
299
301
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
302
+ * @param {string} [ids] Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped.
300
303
  * @param {number} [page] Page number.
301
304
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
302
305
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
@@ -304,7 +307,7 @@ export declare const SendApiFactory: (configuration?: Configuration, basePath?:
304
307
  * @param {*} [options] Override http request option.
305
308
  * @throws {RequiredError}
306
309
  */
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>>;
310
+ 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, ids?: string, page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Send>>;
308
311
  /**
309
312
  * 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/).
310
313
  * @summary Get a invoice by id
@@ -409,7 +412,7 @@ export interface SendApiInterface {
409
412
  */
410
413
  sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
411
414
  /**
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/).
415
+ * 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`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). 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/).
413
416
  * @summary List invoices
414
417
  * @param {number} [companyId] Company id
415
418
  * @param {string} [identifier] SDI identifier.
@@ -424,6 +427,7 @@ export interface SendApiInterface {
424
427
  * @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
425
428
  * @param {string} [documentNumber] Document number.
426
429
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
430
+ * @param {string} [ids] Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped.
427
431
  * @param {number} [page] Page number.
428
432
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
429
433
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
@@ -431,7 +435,7 @@ export interface SendApiInterface {
431
435
  * @param {*} [options] Override http request option.
432
436
  * @throws {RequiredError}
433
437
  */
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>>;
438
+ 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, ids?: string, page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Send>>;
435
439
  /**
436
440
  * 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/).
437
441
  * @summary Get a invoice by id
@@ -536,7 +540,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
536
540
  */
537
541
  sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send, any, {}>>;
538
542
  /**
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/).
543
+ * 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`). Use `ids` to fetch specific Send records in a single call (comma-separated, up to 100). 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/).
540
544
  * @summary List invoices
541
545
  * @param {number} [companyId] Company id
542
546
  * @param {string} [identifier] SDI identifier.
@@ -551,6 +555,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
551
555
  * @param {string} [documentDateTo] UTC ISO 8601 (2024-11-29T12:34:56Z)
552
556
  * @param {string} [documentNumber] Document number.
553
557
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
558
+ * @param {string} [ids] Comma-separated list of Send ids (max 100). Filters the collection to the matching rows; unknown or unauthorized ids are silently skipped.
554
559
  * @param {number} [page] Page number.
555
560
  * @param {number} [pageSize] Items per page. Cannot be greater than 200.
556
561
  * @param {string} [sort] Sort by field. Prefix with \&#39;-\&#39; for descending order.
@@ -558,7 +563,7 @@ export declare class SendApi extends BaseAPI implements SendApiInterface {
558
563
  * @param {*} [options] Override http request option.
559
564
  * @throws {RequiredError}
560
565
  */
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, {}>>;
566
+ 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, ids?: string, page?: number, pageSize?: number, sort?: string, q?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Send[], any, {}>>;
562
567
  /**
563
568
  * 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/).
564
569
  * @summary Get a invoice by id