@invoicetronic/ts-sdk 1.1.7 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/README.md +2 -2
  3. package/api.ts +1 -0
  4. package/common.ts +15 -2
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +1 -0
  7. package/dist/api.js +1 -0
  8. package/dist/common.d.ts +6 -0
  9. package/dist/common.js +17 -3
  10. package/dist/configuration.js +1 -1
  11. package/dist/esm/api.d.ts +1 -0
  12. package/dist/esm/api.js +1 -0
  13. package/dist/esm/common.d.ts +6 -0
  14. package/dist/esm/common.js +15 -2
  15. package/dist/esm/configuration.js +1 -1
  16. package/dist/esm/src/api/company-api.d.ts +35 -30
  17. package/dist/esm/src/api/company-api.js +34 -27
  18. package/dist/esm/src/api/export-api.d.ts +115 -0
  19. package/dist/esm/src/api/export-api.js +179 -0
  20. package/dist/esm/src/api/log-api.d.ts +10 -10
  21. package/dist/esm/src/api/log-api.js +8 -8
  22. package/dist/esm/src/api/receive-api.d.ts +15 -15
  23. package/dist/esm/src/api/receive-api.js +12 -12
  24. package/dist/esm/src/api/send-api.d.ts +55 -55
  25. package/dist/esm/src/api/send-api.js +44 -44
  26. package/dist/esm/src/api/status-api.d.ts +5 -5
  27. package/dist/esm/src/api/status-api.js +4 -4
  28. package/dist/esm/src/api/update-api.d.ts +10 -10
  29. package/dist/esm/src/api/update-api.js +8 -8
  30. package/dist/esm/src/api/webhook-api.d.ts +25 -25
  31. package/dist/esm/src/api/webhook-api.js +20 -20
  32. package/dist/esm/src/models/event.d.ts +2 -2
  33. package/dist/esm/src/models/receive.d.ts +3 -3
  34. package/dist/esm/src/models/send.d.ts +2 -2
  35. package/dist/esm/src/models/update.d.ts +2 -2
  36. package/dist/esm/src/models/web-hook-history.d.ts +1 -1
  37. package/dist/esm/src/models/web-hook.d.ts +2 -2
  38. package/dist/src/api/company-api.d.ts +35 -30
  39. package/dist/src/api/company-api.js +34 -27
  40. package/dist/src/api/export-api.d.ts +115 -0
  41. package/dist/src/api/export-api.js +186 -0
  42. package/dist/src/api/log-api.d.ts +10 -10
  43. package/dist/src/api/log-api.js +8 -8
  44. package/dist/src/api/receive-api.d.ts +15 -15
  45. package/dist/src/api/receive-api.js +12 -12
  46. package/dist/src/api/send-api.d.ts +55 -55
  47. package/dist/src/api/send-api.js +44 -44
  48. package/dist/src/api/status-api.d.ts +5 -5
  49. package/dist/src/api/status-api.js +4 -4
  50. package/dist/src/api/update-api.d.ts +10 -10
  51. package/dist/src/api/update-api.js +8 -8
  52. package/dist/src/api/webhook-api.d.ts +25 -25
  53. package/dist/src/api/webhook-api.js +20 -20
  54. package/dist/src/models/event.d.ts +2 -2
  55. package/dist/src/models/receive.d.ts +3 -3
  56. package/dist/src/models/send.d.ts +2 -2
  57. package/dist/src/models/update.d.ts +2 -2
  58. package/dist/src/models/web-hook-history.d.ts +1 -1
  59. package/dist/src/models/web-hook.d.ts +2 -2
  60. package/docs/CompanyApi.md +10 -6
  61. package/docs/Event.md +2 -2
  62. package/docs/ExportApi.md +79 -0
  63. package/docs/LogApi.md +2 -2
  64. package/docs/Receive.md +3 -3
  65. package/docs/ReceiveApi.md +4 -3
  66. package/docs/Send.md +2 -2
  67. package/docs/SendApi.md +11 -11
  68. package/docs/StatusApi.md +1 -1
  69. package/docs/Update.md +2 -2
  70. package/docs/UpdateApi.md +2 -2
  71. package/docs/WebHook.md +2 -2
  72. package/docs/WebHookHistory.md +1 -1
  73. package/docs/WebhookApi.md +6 -5
  74. package/package.json +1 -1
  75. package/src/api/company-api.ts +43 -34
  76. package/src/api/export-api.ts +211 -0
  77. package/src/api/log-api.ts +11 -11
  78. package/src/api/receive-api.ts +16 -16
  79. package/src/api/send-api.ts +56 -56
  80. package/src/api/status-api.ts +6 -6
  81. package/src/api/update-api.ts +11 -11
  82. package/src/api/webhook-api.ts +26 -26
  83. package/src/models/event.ts +2 -2
  84. package/src/models/receive.ts +3 -3
  85. package/src/models/send.ts +2 -2
  86. package/src/models/update.ts +2 -2
  87. package/src/models/web-hook-history.ts +1 -1
  88. package/src/models/web-hook.ts +2 -2
@@ -21,7 +21,7 @@ import globalAxios from 'axios';
21
21
  import { URL, URLSearchParams } from 'url';
22
22
  // Some imports not used depending on template conditions
23
23
  // @ts-ignore
24
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../../common';
24
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../../common';
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../../base';
27
27
  // @ts-ignore
@@ -38,7 +38,7 @@ import type { Send } from '../../src/models';
38
38
  export const SendApiAxiosParamCreator = function (configuration?: Configuration) {
39
39
  return {
40
40
  /**
41
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
41
+ * Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
42
42
  * @summary Add an invoice by file
43
43
  * @param {File} file
44
44
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -92,7 +92,7 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
92
92
  };
93
93
  },
94
94
  /**
95
- * test **markdown**.
95
+ * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
96
96
  * @summary List invoices
97
97
  * @param {number} [companyId] Company id
98
98
  * @param {string} [identifier] SDI identifier.
@@ -218,7 +218,7 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
218
218
  };
219
219
  },
220
220
  /**
221
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
221
+ * 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/).
222
222
  * @summary Get a invoice by id
223
223
  * @param {number} id Item id
224
224
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -261,7 +261,7 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
261
261
  };
262
262
  },
263
263
  /**
264
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
264
+ * Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
265
265
  * @summary Get a invoice by identifier
266
266
  * @param {string} identifier
267
267
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -304,7 +304,7 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
304
304
  };
305
305
  },
306
306
  /**
307
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
307
+ * 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).
308
308
  * @summary Add an invoice by json
309
309
  * @param {FatturaOrdinaria} fatturaOrdinaria
310
310
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -353,7 +353,7 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
353
353
  };
354
354
  },
355
355
  /**
356
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
356
+ * 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).
357
357
  * @summary Add an invoice
358
358
  * @param {Send} send
359
359
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -402,7 +402,7 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
402
402
  };
403
403
  },
404
404
  /**
405
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
405
+ * Validate an invoice file without sending it to SDI. Supported formats are XML (FatturaPA) and P7M (signed). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
406
406
  * @summary Validate an invoice file
407
407
  * @param {File} file
408
408
  * @param {*} [options] Override http request option.
@@ -446,7 +446,7 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
446
446
  };
447
447
  },
448
448
  /**
449
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
449
+ * 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/).
450
450
  * @summary Validate an invoice by json
451
451
  * @param {FatturaOrdinaria} fatturaOrdinaria
452
452
  * @param {*} [options] Override http request option.
@@ -485,7 +485,7 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
485
485
  };
486
486
  },
487
487
  /**
488
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
488
+ * 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/).
489
489
  * @summary Validate an invoice
490
490
  * @param {Send} send
491
491
  * @param {*} [options] Override http request option.
@@ -524,7 +524,7 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
524
524
  };
525
525
  },
526
526
  /**
527
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
527
+ * 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/).
528
528
  * @summary Validate an invoice by xml
529
529
  * @param {FatturaOrdinaria} fatturaOrdinaria
530
530
  * @param {*} [options] Override http request option.
@@ -563,7 +563,7 @@ export const SendApiAxiosParamCreator = function (configuration?: Configuration)
563
563
  };
564
564
  },
565
565
  /**
566
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
566
+ * 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).
567
567
  * @summary Add an invoice by xml
568
568
  * @param {FatturaOrdinaria} fatturaOrdinaria
569
569
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -621,7 +621,7 @@ export const SendApiFp = function(configuration?: Configuration) {
621
621
  const localVarAxiosParamCreator = SendApiAxiosParamCreator(configuration)
622
622
  return {
623
623
  /**
624
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
624
+ * Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
625
625
  * @summary Add an invoice by file
626
626
  * @param {File} file
627
627
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -636,7 +636,7 @@ export const SendApiFp = function(configuration?: Configuration) {
636
636
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
637
637
  },
638
638
  /**
639
- * test **markdown**.
639
+ * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
640
640
  * @summary List invoices
641
641
  * @param {number} [companyId] Company id
642
642
  * @param {string} [identifier] SDI identifier.
@@ -664,7 +664,7 @@ export const SendApiFp = function(configuration?: Configuration) {
664
664
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
665
665
  },
666
666
  /**
667
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
667
+ * 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/).
668
668
  * @summary Get a invoice by id
669
669
  * @param {number} id Item id
670
670
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -678,7 +678,7 @@ export const SendApiFp = function(configuration?: Configuration) {
678
678
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
679
679
  },
680
680
  /**
681
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
681
+ * Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
682
682
  * @summary Get a invoice by identifier
683
683
  * @param {string} identifier
684
684
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -692,7 +692,7 @@ export const SendApiFp = function(configuration?: Configuration) {
692
692
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
693
693
  },
694
694
  /**
695
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
695
+ * 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).
696
696
  * @summary Add an invoice by json
697
697
  * @param {FatturaOrdinaria} fatturaOrdinaria
698
698
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -707,7 +707,7 @@ export const SendApiFp = function(configuration?: Configuration) {
707
707
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
708
708
  },
709
709
  /**
710
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
710
+ * 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).
711
711
  * @summary Add an invoice
712
712
  * @param {Send} send
713
713
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -722,7 +722,7 @@ export const SendApiFp = function(configuration?: Configuration) {
722
722
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
723
723
  },
724
724
  /**
725
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
725
+ * Validate an invoice file without sending it to SDI. Supported formats are XML (FatturaPA) and P7M (signed). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
726
726
  * @summary Validate an invoice file
727
727
  * @param {File} file
728
728
  * @param {*} [options] Override http request option.
@@ -735,7 +735,7 @@ export const SendApiFp = function(configuration?: Configuration) {
735
735
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
736
736
  },
737
737
  /**
738
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
738
+ * 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/).
739
739
  * @summary Validate an invoice by json
740
740
  * @param {FatturaOrdinaria} fatturaOrdinaria
741
741
  * @param {*} [options] Override http request option.
@@ -748,7 +748,7 @@ export const SendApiFp = function(configuration?: Configuration) {
748
748
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
749
749
  },
750
750
  /**
751
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
751
+ * 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/).
752
752
  * @summary Validate an invoice
753
753
  * @param {Send} send
754
754
  * @param {*} [options] Override http request option.
@@ -761,7 +761,7 @@ export const SendApiFp = function(configuration?: Configuration) {
761
761
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
762
762
  },
763
763
  /**
764
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
764
+ * 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/).
765
765
  * @summary Validate an invoice by xml
766
766
  * @param {FatturaOrdinaria} fatturaOrdinaria
767
767
  * @param {*} [options] Override http request option.
@@ -774,7 +774,7 @@ export const SendApiFp = function(configuration?: Configuration) {
774
774
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
775
775
  },
776
776
  /**
777
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
777
+ * 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).
778
778
  * @summary Add an invoice by xml
779
779
  * @param {FatturaOrdinaria} fatturaOrdinaria
780
780
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -798,7 +798,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
798
798
  const localVarFp = SendApiFp(configuration)
799
799
  return {
800
800
  /**
801
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
801
+ * Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
802
802
  * @summary Add an invoice by file
803
803
  * @param {File} file
804
804
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -810,7 +810,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
810
810
  return localVarFp.sendFilePost(file, validate, signature, options).then((request) => request(axios, basePath));
811
811
  },
812
812
  /**
813
- * test **markdown**.
813
+ * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
814
814
  * @summary List invoices
815
815
  * @param {number} [companyId] Company id
816
816
  * @param {string} [identifier] SDI identifier.
@@ -835,7 +835,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
835
835
  return localVarFp.sendGet(companyId, identifier, committente, prestatore, fileName, lastUpdateFrom, lastUpdateTo, dateSentFrom, dateSentTo, documentDateFrom, documentDateTo, documentNumber, includePayload, page, pageSize, sort, options).then((request) => request(axios, basePath));
836
836
  },
837
837
  /**
838
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
838
+ * 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/).
839
839
  * @summary Get a invoice by id
840
840
  * @param {number} id Item id
841
841
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -846,7 +846,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
846
846
  return localVarFp.sendIdGet(id, includePayload, options).then((request) => request(axios, basePath));
847
847
  },
848
848
  /**
849
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
849
+ * Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
850
850
  * @summary Get a invoice by identifier
851
851
  * @param {string} identifier
852
852
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -857,7 +857,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
857
857
  return localVarFp.sendIdentifierGet(identifier, includePayload, options).then((request) => request(axios, basePath));
858
858
  },
859
859
  /**
860
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
860
+ * 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).
861
861
  * @summary Add an invoice by json
862
862
  * @param {FatturaOrdinaria} fatturaOrdinaria
863
863
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -869,7 +869,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
869
869
  return localVarFp.sendJsonPost(fatturaOrdinaria, validate, signature, options).then((request) => request(axios, basePath));
870
870
  },
871
871
  /**
872
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
872
+ * 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).
873
873
  * @summary Add an invoice
874
874
  * @param {Send} send
875
875
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -881,7 +881,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
881
881
  return localVarFp.sendPost(send, validate, signature, options).then((request) => request(axios, basePath));
882
882
  },
883
883
  /**
884
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
884
+ * Validate an invoice file without sending it to SDI. Supported formats are XML (FatturaPA) and P7M (signed). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
885
885
  * @summary Validate an invoice file
886
886
  * @param {File} file
887
887
  * @param {*} [options] Override http request option.
@@ -891,7 +891,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
891
891
  return localVarFp.sendValidateFilePost(file, options).then((request) => request(axios, basePath));
892
892
  },
893
893
  /**
894
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
894
+ * 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/).
895
895
  * @summary Validate an invoice by json
896
896
  * @param {FatturaOrdinaria} fatturaOrdinaria
897
897
  * @param {*} [options] Override http request option.
@@ -901,7 +901,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
901
901
  return localVarFp.sendValidateJsonPost(fatturaOrdinaria, options).then((request) => request(axios, basePath));
902
902
  },
903
903
  /**
904
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
904
+ * 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/).
905
905
  * @summary Validate an invoice
906
906
  * @param {Send} send
907
907
  * @param {*} [options] Override http request option.
@@ -911,7 +911,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
911
911
  return localVarFp.sendValidatePost(send, options).then((request) => request(axios, basePath));
912
912
  },
913
913
  /**
914
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
914
+ * 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/).
915
915
  * @summary Validate an invoice by xml
916
916
  * @param {FatturaOrdinaria} fatturaOrdinaria
917
917
  * @param {*} [options] Override http request option.
@@ -921,7 +921,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
921
921
  return localVarFp.sendValidateXmlPost(fatturaOrdinaria, options).then((request) => request(axios, basePath));
922
922
  },
923
923
  /**
924
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
924
+ * 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).
925
925
  * @summary Add an invoice by xml
926
926
  * @param {FatturaOrdinaria} fatturaOrdinaria
927
927
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -940,7 +940,7 @@ export const SendApiFactory = function (configuration?: Configuration, basePath?
940
940
  */
941
941
  export interface SendApiInterface {
942
942
  /**
943
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
943
+ * Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
944
944
  * @summary Add an invoice by file
945
945
  * @param {File} file
946
946
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -951,7 +951,7 @@ export interface SendApiInterface {
951
951
  sendFilePost(file: File, validate?: boolean, signature?: SendFilePostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
952
952
 
953
953
  /**
954
- * test **markdown**.
954
+ * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
955
955
  * @summary List invoices
956
956
  * @param {number} [companyId] Company id
957
957
  * @param {string} [identifier] SDI identifier.
@@ -975,7 +975,7 @@ export interface SendApiInterface {
975
975
  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>>;
976
976
 
977
977
  /**
978
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
978
+ * 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/).
979
979
  * @summary Get a invoice by id
980
980
  * @param {number} id Item id
981
981
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -985,7 +985,7 @@ export interface SendApiInterface {
985
985
  sendIdGet(id: number, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
986
986
 
987
987
  /**
988
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
988
+ * Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
989
989
  * @summary Get a invoice by identifier
990
990
  * @param {string} identifier
991
991
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -995,7 +995,7 @@ export interface SendApiInterface {
995
995
  sendIdentifierGet(identifier: string, includePayload?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
996
996
 
997
997
  /**
998
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
998
+ * 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).
999
999
  * @summary Add an invoice by json
1000
1000
  * @param {FatturaOrdinaria} fatturaOrdinaria
1001
1001
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -1006,7 +1006,7 @@ export interface SendApiInterface {
1006
1006
  sendJsonPost(fatturaOrdinaria: FatturaOrdinaria, validate?: boolean, signature?: SendJsonPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
1007
1007
 
1008
1008
  /**
1009
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1009
+ * 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).
1010
1010
  * @summary Add an invoice
1011
1011
  * @param {Send} send
1012
1012
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -1017,7 +1017,7 @@ export interface SendApiInterface {
1017
1017
  sendPost(send: Send, validate?: boolean, signature?: SendPostSignatureEnum, options?: RawAxiosRequestConfig): AxiosPromise<Send>;
1018
1018
 
1019
1019
  /**
1020
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1020
+ * Validate an invoice file without sending it to SDI. Supported formats are XML (FatturaPA) and P7M (signed). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
1021
1021
  * @summary Validate an invoice file
1022
1022
  * @param {File} file
1023
1023
  * @param {*} [options] Override http request option.
@@ -1026,7 +1026,7 @@ export interface SendApiInterface {
1026
1026
  sendValidateFilePost(file: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1027
1027
 
1028
1028
  /**
1029
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1029
+ * 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/).
1030
1030
  * @summary Validate an invoice by json
1031
1031
  * @param {FatturaOrdinaria} fatturaOrdinaria
1032
1032
  * @param {*} [options] Override http request option.
@@ -1035,7 +1035,7 @@ export interface SendApiInterface {
1035
1035
  sendValidateJsonPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1036
1036
 
1037
1037
  /**
1038
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1038
+ * 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/).
1039
1039
  * @summary Validate an invoice
1040
1040
  * @param {Send} send
1041
1041
  * @param {*} [options] Override http request option.
@@ -1044,7 +1044,7 @@ export interface SendApiInterface {
1044
1044
  sendValidatePost(send: Send, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1045
1045
 
1046
1046
  /**
1047
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1047
+ * 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/).
1048
1048
  * @summary Validate an invoice by xml
1049
1049
  * @param {FatturaOrdinaria} fatturaOrdinaria
1050
1050
  * @param {*} [options] Override http request option.
@@ -1053,7 +1053,7 @@ export interface SendApiInterface {
1053
1053
  sendValidateXmlPost(fatturaOrdinaria: FatturaOrdinaria, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1054
1054
 
1055
1055
  /**
1056
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1056
+ * 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).
1057
1057
  * @summary Add an invoice by xml
1058
1058
  * @param {FatturaOrdinaria} fatturaOrdinaria
1059
1059
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -1070,7 +1070,7 @@ export interface SendApiInterface {
1070
1070
  */
1071
1071
  export class SendApi extends BaseAPI implements SendApiInterface {
1072
1072
  /**
1073
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1073
+ * Add a new invoice by uploading a file. Supported formats are XML (FatturaPA) and P7M (signed). The invoice will be signed (if requested), validated (if requested), and queued for delivery to SDI. Status updates from SDI will be available in the `update` endpoint. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/). You can also upload invoices via the [Dashboard](https://dashboard.invoicetronic.com).
1074
1074
  * @summary Add an invoice by file
1075
1075
  * @param {File} file
1076
1076
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -1083,7 +1083,7 @@ export class SendApi extends BaseAPI implements SendApiInterface {
1083
1083
  }
1084
1084
 
1085
1085
  /**
1086
- * test **markdown**.
1086
+ * Retrieve a paginated list of send invoices. Results can be filtered by various criteria such as company, date ranges, and document number. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
1087
1087
  * @summary List invoices
1088
1088
  * @param {number} [companyId] Company id
1089
1089
  * @param {string} [identifier] SDI identifier.
@@ -1109,7 +1109,7 @@ export class SendApi extends BaseAPI implements SendApiInterface {
1109
1109
  }
1110
1110
 
1111
1111
  /**
1112
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1112
+ * 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/).
1113
1113
  * @summary Get a invoice by id
1114
1114
  * @param {number} id Item id
1115
1115
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -1121,7 +1121,7 @@ export class SendApi extends BaseAPI implements SendApiInterface {
1121
1121
  }
1122
1122
 
1123
1123
  /**
1124
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1124
+ * Retrieve a send invoice by its SDI identifier. The `identifier` is assigned by the SDI and becomes available after the invoice has been accepted. Returns invoice metadata; set `include_payload` to true to include the full invoice content. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
1125
1125
  * @summary Get a invoice by identifier
1126
1126
  * @param {string} identifier
1127
1127
  * @param {boolean} [includePayload] Include payload in the response. Defaults to false.
@@ -1133,7 +1133,7 @@ export class SendApi extends BaseAPI implements SendApiInterface {
1133
1133
  }
1134
1134
 
1135
1135
  /**
1136
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1136
+ * 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).
1137
1137
  * @summary Add an invoice by json
1138
1138
  * @param {FatturaOrdinaria} fatturaOrdinaria
1139
1139
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -1146,7 +1146,7 @@ export class SendApi extends BaseAPI implements SendApiInterface {
1146
1146
  }
1147
1147
 
1148
1148
  /**
1149
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1149
+ * 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).
1150
1150
  * @summary Add an invoice
1151
1151
  * @param {Send} send
1152
1152
  * @param {boolean} [validate] Validate the document first, and reject it on failure.
@@ -1159,7 +1159,7 @@ export class SendApi extends BaseAPI implements SendApiInterface {
1159
1159
  }
1160
1160
 
1161
1161
  /**
1162
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1162
+ * Validate an invoice file without sending it to SDI. Supported formats are XML (FatturaPA) and P7M (signed). Use this to check for errors before actual submission. Returns validation results with any errors found. **Send** invoices are outbound sales invoices transmitted to customers through Italy\'s SDI (Sistema di Interscambio). Preserved for two years in the live environment and 15 days in the [Sandbox](https://invoicetronic.com/en/docs/sandbox/).
1163
1163
  * @summary Validate an invoice file
1164
1164
  * @param {File} file
1165
1165
  * @param {*} [options] Override http request option.
@@ -1170,7 +1170,7 @@ export class SendApi extends BaseAPI implements SendApiInterface {
1170
1170
  }
1171
1171
 
1172
1172
  /**
1173
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1173
+ * 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/).
1174
1174
  * @summary Validate an invoice by json
1175
1175
  * @param {FatturaOrdinaria} fatturaOrdinaria
1176
1176
  * @param {*} [options] Override http request option.
@@ -1181,7 +1181,7 @@ export class SendApi extends BaseAPI implements SendApiInterface {
1181
1181
  }
1182
1182
 
1183
1183
  /**
1184
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1184
+ * 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/).
1185
1185
  * @summary Validate an invoice
1186
1186
  * @param {Send} send
1187
1187
  * @param {*} [options] Override http request option.
@@ -1192,7 +1192,7 @@ export class SendApi extends BaseAPI implements SendApiInterface {
1192
1192
  }
1193
1193
 
1194
1194
  /**
1195
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1195
+ * 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/).
1196
1196
  * @summary Validate an invoice by xml
1197
1197
  * @param {FatturaOrdinaria} fatturaOrdinaria
1198
1198
  * @param {*} [options] Override http request option.
@@ -1203,7 +1203,7 @@ export class SendApi extends BaseAPI implements SendApiInterface {
1203
1203
  }
1204
1204
 
1205
1205
  /**
1206
- * Send invoices are the invoices that are sent to the SDI. They are preserved for two years in the live environment and 15 days in the Sandbox.
1206
+ * 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).
1207
1207
  * @summary Add an invoice by xml
1208
1208
  * @param {FatturaOrdinaria} fatturaOrdinaria
1209
1209
  * @param {boolean} [validate] Validate the document first, and reject it on failure.