@sp-api-sdk/invoices-api-2024-06-19 2.1.3 → 3.0.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 (109) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +1090 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/{types/api-model/api/invoices-api.d.ts → index.d.cts} +853 -45
  5. package/dist/index.d.ts +1408 -0
  6. package/dist/index.js +1042 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -12
  9. package/dist/cjs/api-model/api/invoices-api.js +0 -832
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/attribute-option.js +0 -15
  16. package/dist/cjs/api-model/models/carrier-details-context.js +0 -15
  17. package/dist/cjs/api-model/models/error-list.js +0 -15
  18. package/dist/cjs/api-model/models/export-invoices-request.js +0 -15
  19. package/dist/cjs/api-model/models/export-invoices-response.js +0 -15
  20. package/dist/cjs/api-model/models/export-status.js +0 -25
  21. package/dist/cjs/api-model/models/export.js +0 -15
  22. package/dist/cjs/api-model/models/file-format.js +0 -22
  23. package/dist/cjs/api-model/models/get-invoice-response.js +0 -15
  24. package/dist/cjs/api-model/models/get-invoices-attributes-response.js +0 -15
  25. package/dist/cjs/api-model/models/get-invoices-document-response.js +0 -15
  26. package/dist/cjs/api-model/models/get-invoices-export-response.js +0 -15
  27. package/dist/cjs/api-model/models/get-invoices-exports-response.js +0 -15
  28. package/dist/cjs/api-model/models/get-invoices-response.js +0 -15
  29. package/dist/cjs/api-model/models/government-invoice-creation-status.js +0 -24
  30. package/dist/cjs/api-model/models/government-invoice-request.js +0 -15
  31. package/dist/cjs/api-model/models/government-invoice-status-response.js +0 -15
  32. package/dist/cjs/api-model/models/govt-invoice-document-response.js +0 -15
  33. package/dist/cjs/api-model/models/index.js +0 -41
  34. package/dist/cjs/api-model/models/invoice-document.js +0 -15
  35. package/dist/cjs/api-model/models/invoice-error.js +0 -15
  36. package/dist/cjs/api-model/models/invoice.js +0 -15
  37. package/dist/cjs/api-model/models/invoices-attributes.js +0 -15
  38. package/dist/cjs/api-model/models/invoices-document.js +0 -15
  39. package/dist/cjs/api-model/models/model-error.js +0 -15
  40. package/dist/cjs/api-model/models/transaction-identifier.js +0 -15
  41. package/dist/cjs/client.js +0 -84
  42. package/dist/cjs/index.js +0 -19
  43. package/dist/es/api-model/api/invoices-api.js +0 -822
  44. package/dist/es/api-model/api.js +0 -14
  45. package/dist/es/api-model/base.js +0 -44
  46. package/dist/es/api-model/common.js +0 -110
  47. package/dist/es/api-model/configuration.js +0 -94
  48. package/dist/es/api-model/index.js +0 -16
  49. package/dist/es/api-model/models/attribute-option.js +0 -14
  50. package/dist/es/api-model/models/carrier-details-context.js +0 -14
  51. package/dist/es/api-model/models/error-list.js +0 -14
  52. package/dist/es/api-model/models/export-invoices-request.js +0 -14
  53. package/dist/es/api-model/models/export-invoices-response.js +0 -14
  54. package/dist/es/api-model/models/export-status.js +0 -22
  55. package/dist/es/api-model/models/export.js +0 -14
  56. package/dist/es/api-model/models/file-format.js +0 -19
  57. package/dist/es/api-model/models/get-invoice-response.js +0 -14
  58. package/dist/es/api-model/models/get-invoices-attributes-response.js +0 -14
  59. package/dist/es/api-model/models/get-invoices-document-response.js +0 -14
  60. package/dist/es/api-model/models/get-invoices-export-response.js +0 -14
  61. package/dist/es/api-model/models/get-invoices-exports-response.js +0 -14
  62. package/dist/es/api-model/models/get-invoices-response.js +0 -14
  63. package/dist/es/api-model/models/government-invoice-creation-status.js +0 -21
  64. package/dist/es/api-model/models/government-invoice-request.js +0 -14
  65. package/dist/es/api-model/models/government-invoice-status-response.js +0 -14
  66. package/dist/es/api-model/models/govt-invoice-document-response.js +0 -14
  67. package/dist/es/api-model/models/index.js +0 -25
  68. package/dist/es/api-model/models/invoice-document.js +0 -14
  69. package/dist/es/api-model/models/invoice-error.js +0 -14
  70. package/dist/es/api-model/models/invoice.js +0 -14
  71. package/dist/es/api-model/models/invoices-attributes.js +0 -14
  72. package/dist/es/api-model/models/invoices-document.js +0 -14
  73. package/dist/es/api-model/models/model-error.js +0 -14
  74. package/dist/es/api-model/models/transaction-identifier.js +0 -14
  75. package/dist/es/client.js +0 -80
  76. package/dist/es/index.js +0 -3
  77. package/dist/types/api-model/api.d.ts +0 -12
  78. package/dist/types/api-model/base.d.ts +0 -42
  79. package/dist/types/api-model/common.d.ts +0 -34
  80. package/dist/types/api-model/configuration.d.ts +0 -98
  81. package/dist/types/api-model/index.d.ts +0 -14
  82. package/dist/types/api-model/models/attribute-option.d.ts +0 -24
  83. package/dist/types/api-model/models/carrier-details-context.d.ts +0 -48
  84. package/dist/types/api-model/models/error-list.d.ts +0 -20
  85. package/dist/types/api-model/models/export-invoices-request.d.ts +0 -52
  86. package/dist/types/api-model/models/export-invoices-response.d.ts +0 -20
  87. package/dist/types/api-model/models/export-status.d.ts +0 -21
  88. package/dist/types/api-model/models/export.d.ts +0 -38
  89. package/dist/types/api-model/models/file-format.d.ts +0 -18
  90. package/dist/types/api-model/models/get-invoice-response.d.ts +0 -18
  91. package/dist/types/api-model/models/get-invoices-attributes-response.d.ts +0 -18
  92. package/dist/types/api-model/models/get-invoices-document-response.d.ts +0 -18
  93. package/dist/types/api-model/models/get-invoices-export-response.d.ts +0 -18
  94. package/dist/types/api-model/models/get-invoices-exports-response.d.ts +0 -25
  95. package/dist/types/api-model/models/get-invoices-response.d.ts +0 -25
  96. package/dist/types/api-model/models/government-invoice-creation-status.d.ts +0 -20
  97. package/dist/types/api-model/models/government-invoice-request.d.ts +0 -41
  98. package/dist/types/api-model/models/government-invoice-status-response.d.ts +0 -27
  99. package/dist/types/api-model/models/govt-invoice-document-response.d.ts +0 -18
  100. package/dist/types/api-model/models/index.d.ts +0 -25
  101. package/dist/types/api-model/models/invoice-document.d.ts +0 -20
  102. package/dist/types/api-model/models/invoice-error.d.ts +0 -24
  103. package/dist/types/api-model/models/invoice.d.ts +0 -57
  104. package/dist/types/api-model/models/invoices-attributes.d.ts +0 -33
  105. package/dist/types/api-model/models/invoices-document.d.ts +0 -24
  106. package/dist/types/api-model/models/model-error.d.ts +0 -28
  107. package/dist/types/api-model/models/transaction-identifier.d.ts +0 -24
  108. package/dist/types/client.d.ts +0 -6
  109. package/dist/types/index.d.ts +0 -3
@@ -0,0 +1,1408 @@
1
+ import { ClientConfiguration, RateLimit } from '@sp-api-sdk/common';
2
+ import * as axios from 'axios';
3
+ import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
4
+
5
+ /**
6
+ * The Selling Partner API for Invoices.
7
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
8
+ *
9
+ * The version of the OpenAPI document: 2024-06-19
10
+ *
11
+ *
12
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
+ * https://openapi-generator.tech
14
+ * Do not edit the class manually.
15
+ */
16
+ interface AWSv4Configuration {
17
+ options?: {
18
+ region?: string;
19
+ service?: string;
20
+ };
21
+ credentials?: {
22
+ accessKeyId?: string;
23
+ secretAccessKey?: string;
24
+ sessionToken?: string;
25
+ };
26
+ }
27
+ interface ConfigurationParameters {
28
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
+ username?: string;
30
+ password?: string;
31
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
32
+ awsv4?: AWSv4Configuration;
33
+ basePath?: string;
34
+ serverIndex?: number;
35
+ baseOptions?: any;
36
+ formDataCtor?: new () => any;
37
+ }
38
+ declare class Configuration {
39
+ /**
40
+ * parameter for apiKey security
41
+ * @param name security name
42
+ */
43
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
44
+ /**
45
+ * parameter for basic security
46
+ */
47
+ username?: string;
48
+ /**
49
+ * parameter for basic security
50
+ */
51
+ password?: string;
52
+ /**
53
+ * parameter for oauth2 security
54
+ * @param name security name
55
+ * @param scopes oauth2 scope
56
+ */
57
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
58
+ /**
59
+ * parameter for aws4 signature security
60
+ * @param {Object} AWS4Signature - AWS4 Signature security
61
+ * @param {string} options.region - aws region
62
+ * @param {string} options.service - name of the service.
63
+ * @param {string} credentials.accessKeyId - aws access key id
64
+ * @param {string} credentials.secretAccessKey - aws access key
65
+ * @param {string} credentials.sessionToken - aws session token
66
+ * @memberof Configuration
67
+ */
68
+ awsv4?: AWSv4Configuration;
69
+ /**
70
+ * override base path
71
+ */
72
+ basePath?: string;
73
+ /**
74
+ * override server index
75
+ */
76
+ serverIndex?: number;
77
+ /**
78
+ * base options for axios calls
79
+ */
80
+ baseOptions?: any;
81
+ /**
82
+ * The FormData constructor that will be used to create multipart form data
83
+ * requests. You can inject this here so that execution environments that
84
+ * do not support the FormData class can still run the generated client.
85
+ *
86
+ * @type {new () => FormData}
87
+ */
88
+ formDataCtor?: new () => any;
89
+ constructor(param?: ConfigurationParameters);
90
+ /**
91
+ * Check if the given MIME is a JSON MIME.
92
+ * JSON MIME examples:
93
+ * application/json
94
+ * application/json; charset=UTF8
95
+ * APPLICATION/JSON
96
+ * application/vnd.company+json
97
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
98
+ * @return True if the given MIME is JSON, false otherwise.
99
+ */
100
+ isJsonMime(mime: string): boolean;
101
+ }
102
+
103
+ /**
104
+ * The Selling Partner API for Invoices.
105
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
106
+ *
107
+ * The version of the OpenAPI document: 2024-06-19
108
+ *
109
+ *
110
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
111
+ * https://openapi-generator.tech
112
+ * Do not edit the class manually.
113
+ */
114
+
115
+ interface RequestArgs {
116
+ url: string;
117
+ options: RawAxiosRequestConfig;
118
+ }
119
+ declare class BaseAPI {
120
+ protected basePath: string;
121
+ protected axios: AxiosInstance;
122
+ protected configuration: Configuration | undefined;
123
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
124
+ }
125
+
126
+ /**
127
+ * The Selling Partner API for Invoices.
128
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
129
+ *
130
+ * The version of the OpenAPI document: 2024-06-19
131
+ *
132
+ *
133
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
134
+ * https://openapi-generator.tech
135
+ * Do not edit the class manually.
136
+ */
137
+ /**
138
+ * The definition of the attribute option.
139
+ */
140
+ interface AttributeOption {
141
+ /**
142
+ * The description of the attribute value.
143
+ */
144
+ 'description'?: string;
145
+ /**
146
+ * The possible values for the attribute option.
147
+ */
148
+ 'value'?: string;
149
+ }
150
+
151
+ /**
152
+ * The Selling Partner API for Invoices.
153
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
154
+ *
155
+ * The version of the OpenAPI document: 2024-06-19
156
+ *
157
+ *
158
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
159
+ * https://openapi-generator.tech
160
+ * Do not edit the class manually.
161
+ */
162
+ /**
163
+ * Additional information about a carrier.
164
+ */
165
+ interface CarrierDetailsContext {
166
+ /**
167
+ * The name of the carrier, as registered in state and federal tax authorities.
168
+ */
169
+ 'name'?: string;
170
+ /**
171
+ * The address of the carrier, as registered in state and federal tax authorities.
172
+ */
173
+ 'address'?: string;
174
+ /**
175
+ * Type of additional information.
176
+ */
177
+ 'contextType'?: string;
178
+ /**
179
+ * Tax Identification number of the carrier.
180
+ */
181
+ 'federalTaxId'?: string;
182
+ /**
183
+ * The code of the federal subdivision in which the carrier is registered.
184
+ */
185
+ 'regionCode'?: string;
186
+ /**
187
+ * The regional tax registration number of the carrier.
188
+ */
189
+ 'regionTaxId'?: string;
190
+ /**
191
+ * The identifier for the carrier vehicle as printed in its registration plate.
192
+ */
193
+ 'vehicleLicensePlate'?: string;
194
+ /**
195
+ * The code of the federal subdivision in which the carrier vehicle is registered.
196
+ */
197
+ 'vehicleRegistrationRegionCode'?: string;
198
+ }
199
+
200
+ /**
201
+ * The Selling Partner API for Invoices.
202
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
203
+ *
204
+ * The version of the OpenAPI document: 2024-06-19
205
+ *
206
+ *
207
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
208
+ * https://openapi-generator.tech
209
+ * Do not edit the class manually.
210
+ */
211
+ /**
212
+ * A list of error responses that are returned when a request is unsuccessful.
213
+ */
214
+ interface ErrorList {
215
+ /**
216
+ * List of errors.
217
+ */
218
+ 'errors': Array<Error>;
219
+ }
220
+
221
+ /**
222
+ * The Selling Partner API for Invoices.
223
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
224
+ *
225
+ * The version of the OpenAPI document: 2024-06-19
226
+ *
227
+ *
228
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
229
+ * https://openapi-generator.tech
230
+ * Do not edit the class manually.
231
+ */
232
+ /**
233
+ * The current status of the request.
234
+ */
235
+ declare const ExportStatus: {
236
+ readonly Requested: "REQUESTED";
237
+ readonly Processing: "PROCESSING";
238
+ readonly Done: "DONE";
239
+ readonly Error: "ERROR";
240
+ };
241
+ type ExportStatus = typeof ExportStatus[keyof typeof ExportStatus];
242
+
243
+ /**
244
+ * The Selling Partner API for Invoices.
245
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
246
+ *
247
+ * The version of the OpenAPI document: 2024-06-19
248
+ *
249
+ *
250
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
251
+ * https://openapi-generator.tech
252
+ * Do not edit the class manually.
253
+ */
254
+
255
+ /**
256
+ * Detailed information about the export.
257
+ */
258
+ interface Export {
259
+ /**
260
+ * When the export generation fails, this attribute contains a description of the error.
261
+ */
262
+ 'errorMessage'?: string;
263
+ /**
264
+ * The export identifier.
265
+ */
266
+ 'exportId'?: string;
267
+ /**
268
+ * The date and time when the export generation finished. Vales are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
269
+ */
270
+ 'generateExportFinishedAt'?: string;
271
+ /**
272
+ * The date and time when the export generation started. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
273
+ */
274
+ 'generateExportStartedAt'?: string;
275
+ /**
276
+ * The identifier for the export documents. To get the information required to retrieve the export document\'s contents, pass each ID in the `getInvoicesDocument` operation. This list is empty until the status is `DONE`.
277
+ */
278
+ 'invoicesDocumentIds'?: Array<string>;
279
+ 'status'?: ExportStatus;
280
+ }
281
+
282
+ /**
283
+ * The Selling Partner API for Invoices.
284
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
285
+ *
286
+ * The version of the OpenAPI document: 2024-06-19
287
+ *
288
+ *
289
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
290
+ * https://openapi-generator.tech
291
+ * Do not edit the class manually.
292
+ */
293
+ /**
294
+ * Supported invoice file extensions.
295
+ */
296
+ declare const FileFormat: {
297
+ readonly Xml: "XML";
298
+ };
299
+ type FileFormat = typeof FileFormat[keyof typeof FileFormat];
300
+
301
+ /**
302
+ * The Selling Partner API for Invoices.
303
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
304
+ *
305
+ * The version of the OpenAPI document: 2024-06-19
306
+ *
307
+ *
308
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
309
+ * https://openapi-generator.tech
310
+ * Do not edit the class manually.
311
+ */
312
+ /**
313
+ * The identifier for a transaction.
314
+ */
315
+ interface TransactionIdentifier {
316
+ /**
317
+ * The transaction identifier name. Use the `getInvoicesAttributes` operation to check `transactionIdentifierName` options.
318
+ */
319
+ 'name'?: string;
320
+ /**
321
+ * The transaction identifier.
322
+ */
323
+ 'id'?: string;
324
+ }
325
+
326
+ /**
327
+ * The Selling Partner API for Invoices.
328
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
329
+ *
330
+ * The version of the OpenAPI document: 2024-06-19
331
+ *
332
+ *
333
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
334
+ * https://openapi-generator.tech
335
+ * Do not edit the class manually.
336
+ */
337
+
338
+ /**
339
+ * The information required to create the export request.
340
+ */
341
+ interface ExportInvoicesRequest {
342
+ /**
343
+ * The latest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is the time of the request.
344
+ */
345
+ 'dateEnd'?: string;
346
+ /**
347
+ * The earliest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 24 hours prior to the time of the request.
348
+ */
349
+ 'dateStart'?: string;
350
+ /**
351
+ * The external ID of the invoices you want included in the response.
352
+ */
353
+ 'externalInvoiceId'?: string;
354
+ 'fileFormat'?: FileFormat;
355
+ /**
356
+ * The marketplace-specific classification of the invoice type. Use the `getInvoicesAttributes` operation to check `invoiceType` options.
357
+ */
358
+ 'invoiceType'?: string;
359
+ /**
360
+ * The ID of the marketplace from which you want the invoices.
361
+ */
362
+ 'marketplaceId': string;
363
+ /**
364
+ * The series number of the invoices you want included in the response.
365
+ */
366
+ 'series'?: string;
367
+ /**
368
+ * A list of statuses that you can use to filter invoices. Use the `getInvoicesAttributes` operation to check invoice status options. Min count: 1
369
+ */
370
+ 'statuses'?: Array<string>;
371
+ 'transactionIdentifier'?: TransactionIdentifier;
372
+ /**
373
+ * The marketplace-specific classification of the transaction type for which the invoice was created. Use the `getInvoicesAttributes` operation to check `transactionType` options
374
+ */
375
+ 'transactionType'?: string;
376
+ }
377
+
378
+ /**
379
+ * The Selling Partner API for Invoices.
380
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
381
+ *
382
+ * The version of the OpenAPI document: 2024-06-19
383
+ *
384
+ *
385
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
386
+ * https://openapi-generator.tech
387
+ * Do not edit the class manually.
388
+ */
389
+ /**
390
+ * Success.
391
+ */
392
+ interface ExportInvoicesResponse {
393
+ /**
394
+ * The export identifier.
395
+ */
396
+ 'exportId'?: string;
397
+ }
398
+
399
+ /**
400
+ * The Selling Partner API for Invoices.
401
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
402
+ *
403
+ * The version of the OpenAPI document: 2024-06-19
404
+ *
405
+ *
406
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
407
+ * https://openapi-generator.tech
408
+ * Do not edit the class manually.
409
+ */
410
+
411
+ /**
412
+ * Provides detailed information about an invoice.
413
+ */
414
+ interface Invoice {
415
+ /**
416
+ * The date and time the invoice is issued. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format.
417
+ */
418
+ 'date'?: string;
419
+ /**
420
+ * If the invoice is in an error state, this attribute displays the error code.
421
+ */
422
+ 'errorCode'?: string;
423
+ /**
424
+ * The invoice identifier that is used by an external party. This is typically the government agency that authorized the invoice.
425
+ */
426
+ 'externalInvoiceId'?: string;
427
+ /**
428
+ * The response message from the government authority when there is an error during invoice issuance.
429
+ */
430
+ 'govResponse'?: string;
431
+ /**
432
+ * The invoice identifier.
433
+ */
434
+ 'id'?: string;
435
+ /**
436
+ * The classification of the invoice type. This varies across marketplaces. Use the `getInvoicesAttributes` operation to check `invoiceType` options.
437
+ */
438
+ 'invoiceType'?: string;
439
+ /**
440
+ * Use this identifier in conjunction with `externalInvoiceId` to identify invoices from the same seller.
441
+ */
442
+ 'series'?: string;
443
+ /**
444
+ * The invoice status classification. Use the `getInvoicesAttributes` operation to check invoice status options.
445
+ */
446
+ 'status'?: string;
447
+ /**
448
+ * List with identifiers for the transactions associated to the invoice.
449
+ */
450
+ 'transactionIds'?: Array<TransactionIdentifier>;
451
+ /**
452
+ * Classification of the transaction that originated this invoice. Use the `getInvoicesAttributes` operation to check `transactionType` options.
453
+ */
454
+ 'transactionType'?: string;
455
+ }
456
+
457
+ /**
458
+ * The Selling Partner API for Invoices.
459
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
460
+ *
461
+ * The version of the OpenAPI document: 2024-06-19
462
+ *
463
+ *
464
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
465
+ * https://openapi-generator.tech
466
+ * Do not edit the class manually.
467
+ */
468
+
469
+ /**
470
+ * Success.
471
+ */
472
+ interface GetInvoiceResponse {
473
+ 'invoice'?: Invoice;
474
+ }
475
+
476
+ /**
477
+ * The Selling Partner API for Invoices.
478
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
479
+ *
480
+ * The version of the OpenAPI document: 2024-06-19
481
+ *
482
+ *
483
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
484
+ * https://openapi-generator.tech
485
+ * Do not edit the class manually.
486
+ */
487
+
488
+ /**
489
+ * An object that contains the invoice attributes definition.
490
+ */
491
+ interface InvoicesAttributes {
492
+ /**
493
+ * A list of all the options that are available for the invoice status attribute.
494
+ */
495
+ 'invoiceStatusOptions'?: Array<AttributeOption>;
496
+ /**
497
+ * A list of all the options that are available for the invoice type attribute.
498
+ */
499
+ 'invoiceTypeOptions'?: Array<AttributeOption>;
500
+ /**
501
+ * A list of all the options that are available for the transaction identifier name attribute.
502
+ */
503
+ 'transactionIdentifierNameOptions'?: Array<AttributeOption>;
504
+ /**
505
+ * A list of all the options that are available for the transaction type attribute.
506
+ */
507
+ 'transactionTypeOptions'?: Array<AttributeOption>;
508
+ }
509
+
510
+ /**
511
+ * The Selling Partner API for Invoices.
512
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
513
+ *
514
+ * The version of the OpenAPI document: 2024-06-19
515
+ *
516
+ *
517
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
518
+ * https://openapi-generator.tech
519
+ * Do not edit the class manually.
520
+ */
521
+
522
+ /**
523
+ * Success.
524
+ */
525
+ interface GetInvoicesAttributesResponse {
526
+ 'invoicesAttributes'?: InvoicesAttributes;
527
+ }
528
+
529
+ /**
530
+ * The Selling Partner API for Invoices.
531
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
532
+ *
533
+ * The version of the OpenAPI document: 2024-06-19
534
+ *
535
+ *
536
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
537
+ * https://openapi-generator.tech
538
+ * Do not edit the class manually.
539
+ */
540
+ /**
541
+ * An object that contains the `documentId` and an S3 pre-signed URL that you can use to download the specified file.
542
+ */
543
+ interface InvoicesDocument {
544
+ /**
545
+ * The identifier of the export document.
546
+ */
547
+ 'invoicesDocumentId'?: string;
548
+ /**
549
+ * A pre-signed URL that you can use to download the invoices document in zip format. This URL expires after 30 seconds.
550
+ */
551
+ 'invoicesDocumentUrl'?: string;
552
+ }
553
+
554
+ /**
555
+ * The Selling Partner API for Invoices.
556
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
557
+ *
558
+ * The version of the OpenAPI document: 2024-06-19
559
+ *
560
+ *
561
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
562
+ * https://openapi-generator.tech
563
+ * Do not edit the class manually.
564
+ */
565
+
566
+ /**
567
+ * Success.
568
+ */
569
+ interface GetInvoicesDocumentResponse {
570
+ 'invoicesDocument'?: InvoicesDocument;
571
+ }
572
+
573
+ /**
574
+ * The Selling Partner API for Invoices.
575
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
576
+ *
577
+ * The version of the OpenAPI document: 2024-06-19
578
+ *
579
+ *
580
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
581
+ * https://openapi-generator.tech
582
+ * Do not edit the class manually.
583
+ */
584
+
585
+ /**
586
+ * Success.
587
+ */
588
+ interface GetInvoicesExportResponse {
589
+ 'export'?: Export;
590
+ }
591
+
592
+ /**
593
+ * The Selling Partner API for Invoices.
594
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
595
+ *
596
+ * The version of the OpenAPI document: 2024-06-19
597
+ *
598
+ *
599
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
600
+ * https://openapi-generator.tech
601
+ * Do not edit the class manually.
602
+ */
603
+
604
+ /**
605
+ * Success.
606
+ */
607
+ interface GetInvoicesExportsResponse {
608
+ /**
609
+ * A list of exports.
610
+ */
611
+ 'exports'?: Array<Export>;
612
+ /**
613
+ * This token is returned when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the `getInvoices` operation and include this token with the previous call parameters.
614
+ */
615
+ 'nextToken'?: string;
616
+ }
617
+
618
+ /**
619
+ * The Selling Partner API for Invoices.
620
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
621
+ *
622
+ * The version of the OpenAPI document: 2024-06-19
623
+ *
624
+ *
625
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
626
+ * https://openapi-generator.tech
627
+ * Do not edit the class manually.
628
+ */
629
+
630
+ /**
631
+ * Success.
632
+ */
633
+ interface GetInvoicesResponse {
634
+ /**
635
+ * A list of invoices.
636
+ */
637
+ 'invoices'?: Array<Invoice>;
638
+ /**
639
+ * This token is returned when the number of results exceeds the specified `pageSize` value. To get the next page of results, call the `getInvoices` operation and include this token with the previous call parameters.
640
+ */
641
+ 'nextToken'?: string;
642
+ }
643
+
644
+ /**
645
+ * The Selling Partner API for Invoices.
646
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
647
+ *
648
+ * The version of the OpenAPI document: 2024-06-19
649
+ *
650
+ *
651
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
652
+ * https://openapi-generator.tech
653
+ * Do not edit the class manually.
654
+ */
655
+ /**
656
+ * The current status of a government invoice creation request.
657
+ */
658
+ declare const GovernmentInvoiceCreationStatus: {
659
+ readonly Processing: "PROCESSING";
660
+ readonly Success: "SUCCESS";
661
+ readonly Error: "ERROR";
662
+ };
663
+ type GovernmentInvoiceCreationStatus = typeof GovernmentInvoiceCreationStatus[keyof typeof GovernmentInvoiceCreationStatus];
664
+
665
+ /**
666
+ * The Selling Partner API for Invoices.
667
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
668
+ *
669
+ * The version of the OpenAPI document: 2024-06-19
670
+ *
671
+ *
672
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
673
+ * https://openapi-generator.tech
674
+ * Do not edit the class manually.
675
+ */
676
+
677
+ /**
678
+ * Information required to create the government invoice.
679
+ */
680
+ interface GovernmentInvoiceRequest {
681
+ /**
682
+ * Object that contains additional invoice creation information
683
+ */
684
+ 'contexts'?: Array<CarrierDetailsContext>;
685
+ /**
686
+ * The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
687
+ */
688
+ 'inboundPlanId'?: string;
689
+ /**
690
+ * Marketplace specific classification of the invoice type. Check \'invoiceType\' options using \'getInvoicesAttributes\' operation.
691
+ */
692
+ 'invoiceType': string;
693
+ /**
694
+ * The government invoices creation request will match the national authoritative source of the given marketplace.
695
+ */
696
+ 'marketplaceId': string;
697
+ /**
698
+ * The unique shipment identifier to get an invoice for.
699
+ */
700
+ 'shipmentId': string;
701
+ /**
702
+ * Marketplace specific classification of the transaction type that originated the invoice. Check \'transactionType\' options using \'getInvoicesAttributes\' operation.
703
+ */
704
+ 'transactionType': string;
705
+ }
706
+
707
+ /**
708
+ * The Selling Partner API for Invoices.
709
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
710
+ *
711
+ * The version of the OpenAPI document: 2024-06-19
712
+ *
713
+ *
714
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
715
+ * https://openapi-generator.tech
716
+ * Do not edit the class manually.
717
+ */
718
+ /**
719
+ * An invoice creation error occurrence.
720
+ */
721
+ interface InvoiceError {
722
+ /**
723
+ * A text description of the error.
724
+ */
725
+ 'description'?: string;
726
+ /**
727
+ * The code of the error.
728
+ */
729
+ 'errorCode'?: string;
730
+ }
731
+
732
+ /**
733
+ * The Selling Partner API for Invoices.
734
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
735
+ *
736
+ * The version of the OpenAPI document: 2024-06-19
737
+ *
738
+ *
739
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
740
+ * https://openapi-generator.tech
741
+ * Do not edit the class manually.
742
+ */
743
+
744
+ /**
745
+ * Success.
746
+ */
747
+ interface GovernmentInvoiceStatusResponse {
748
+ /**
749
+ * The errors that occurred during invoice creation.
750
+ */
751
+ 'invoiceErrors'?: Array<InvoiceError>;
752
+ /**
753
+ * Government Invoice ID of a successfully authorized invoice.
754
+ */
755
+ 'invoiceExternalDocumentId'?: string;
756
+ 'status'?: GovernmentInvoiceCreationStatus;
757
+ }
758
+
759
+ /**
760
+ * The Selling Partner API for Invoices.
761
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
762
+ *
763
+ * The version of the OpenAPI document: 2024-06-19
764
+ *
765
+ *
766
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
767
+ * https://openapi-generator.tech
768
+ * Do not edit the class manually.
769
+ */
770
+ /**
771
+ * Object containing the documentId and a S3 pre-signed URL to download the specified document file.
772
+ */
773
+ interface InvoiceDocument {
774
+ /**
775
+ * A pre-signed URL to download the invoice document in its original format. This URL expires after 30 seconds.
776
+ */
777
+ 'invoiceDocumentUrl'?: string;
778
+ }
779
+
780
+ /**
781
+ * The Selling Partner API for Invoices.
782
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
783
+ *
784
+ * The version of the OpenAPI document: 2024-06-19
785
+ *
786
+ *
787
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
788
+ * https://openapi-generator.tech
789
+ * Do not edit the class manually.
790
+ */
791
+
792
+ /**
793
+ * Success.
794
+ */
795
+ interface GovtInvoiceDocumentResponse {
796
+ 'invoiceDocument'?: InvoiceDocument;
797
+ }
798
+
799
+ /**
800
+ * The Selling Partner API for Invoices.
801
+ * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
802
+ *
803
+ * The version of the OpenAPI document: 2024-06-19
804
+ *
805
+ *
806
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
807
+ * https://openapi-generator.tech
808
+ * Do not edit the class manually.
809
+ */
810
+ /**
811
+ * The error response that is returned when the request is unsuccessful.
812
+ */
813
+ interface ModelError {
814
+ /**
815
+ * An error code that identifies the type of error that occurred.
816
+ */
817
+ 'code': string;
818
+ /**
819
+ * Additional details that can help the caller understand or fix the issue.
820
+ */
821
+ 'details'?: string;
822
+ /**
823
+ * A message that describes the error condition.
824
+ */
825
+ 'message': string;
826
+ }
827
+
828
+ /**
829
+ * InvoicesApi - axios parameter creator
830
+ */
831
+ declare const InvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
832
+ /**
833
+ * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
834
+ * @param {GovernmentInvoiceRequest} body Information required to create the government invoice.
835
+ * @param {*} [options] Override http request option.
836
+ * @throws {RequiredError}
837
+ */
838
+ createGovernmentInvoice: (body: GovernmentInvoiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
839
+ /**
840
+ * Creates an invoice export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
841
+ * @param {ExportInvoicesRequest} body Information required to create the export request.
842
+ * @param {*} [options] Override http request option.
843
+ * @throws {RequiredError}
844
+ */
845
+ createInvoicesExport: (body: ExportInvoicesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
846
+ /**
847
+ * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
848
+ * @param {string} marketplaceId The invoices returned will match the marketplace that you specify.
849
+ * @param {string} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check \&#39;transactionType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
850
+ * @param {string} shipmentId The unique shipment identifier to get an invoice for.
851
+ * @param {string} invoiceType Marketplace specific classification of the invoice type. Check \&#39;invoiceType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
852
+ * @param {string} [inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
853
+ * @param {string} [fileFormat] Requested file format. Default is XML
854
+ * @param {*} [options] Override http request option.
855
+ * @throws {RequiredError}
856
+ */
857
+ getGovernmentInvoiceDocument: (marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, inboundPlanId?: string, fileFormat?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
858
+ /**
859
+ * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
860
+ * @param {string} marketplaceId The invoices status will match the marketplace that you specify.
861
+ * @param {string} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check \&#39;transactionType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
862
+ * @param {string} shipmentId The unique shipment identifier to get an invoice for.
863
+ * @param {string} invoiceType Marketplace specific classification of the invoice type. Check \&#39;invoiceType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
864
+ * @param {string} [inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
865
+ * @param {*} [options] Override http request option.
866
+ * @throws {RequiredError}
867
+ */
868
+ getGovernmentInvoiceStatus: (marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, inboundPlanId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
869
+ /**
870
+ * Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the `createInvoicesExport` operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
871
+ * @param {string} marketplaceId The marketplace from which you want the invoice.
872
+ * @param {string} invoiceId The invoice identifier.
873
+ * @param {*} [options] Override http request option.
874
+ * @throws {RequiredError}
875
+ */
876
+ getInvoice: (marketplaceId: string, invoiceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
877
+ /**
878
+ * Returns invoice details for the invoices that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
879
+ * @param {string} marketplaceId The response includes only the invoices that match the specified marketplace.
880
+ * @param {string} [transactionIdentifierName] The name of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the &#x60;transactionIdentifierId&#x60; field.Use the &#x60;getInvoicesAttributes&#x60; operation to check &#x60;transactionIdentifierName&#x60; options.
881
+ * @param {number} [pageSize] The maximum number of invoices you want to return in a single call. Minimum: 1 Maximum: 200
882
+ * @param {string} [dateEnd] The latest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is the current date-time.
883
+ * @param {string} [transactionType] The marketplace-specific classification of the transaction type for which the invoice was created. Use the &#x60;getInvoicesAttributes&#x60; operation to check &#x60;transactionType&#x60; options.
884
+ * @param {string} [transactionIdentifierId] The ID of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the &#x60;transactionIdentifierName&#x60; field.
885
+ * @param {string} [dateStart] The earliest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 24 hours prior to the time of the request.
886
+ * @param {string} [series] Return invoices with the specified series number.
887
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
888
+ * @param {GetInvoicesSortOrderEnum} [sortOrder] Sort the invoices in the response in ascending or descending order.
889
+ * @param {string} [invoiceType] The marketplace-specific classification of the invoice type. Use the &#x60;getInvoicesAttributes&#x60; operation to check &#x60;invoiceType&#x60; options.
890
+ * @param {Array<string>} [statuses] A list of statuses that you can use to filter invoices. Use the &#x60;getInvoicesAttributes&#x60; operation to check invoice status options. Min count: 1
891
+ * @param {string} [externalInvoiceId] Return invoices that match this external ID. This is typically the Government Invoice ID.
892
+ * @param {GetInvoicesSortByEnum} [sortBy] The attribute by which you want to sort the invoices in the response.
893
+ * @param {*} [options] Override http request option.
894
+ * @throws {RequiredError}
895
+ */
896
+ getInvoices: (marketplaceId: string, transactionIdentifierName?: string, pageSize?: number, dateEnd?: string, transactionType?: string, transactionIdentifierId?: string, dateStart?: string, series?: string, nextToken?: string, sortOrder?: GetInvoicesSortOrderEnum, invoiceType?: string, statuses?: Array<string>, externalInvoiceId?: string, sortBy?: GetInvoicesSortByEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
897
+ /**
898
+ * Returns marketplace-dependent schemas and their respective set of possible values. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
899
+ * @param {string} marketplaceId The marketplace identifier.
900
+ * @param {*} [options] Override http request option.
901
+ * @throws {RequiredError}
902
+ */
903
+ getInvoicesAttributes: (marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
904
+ /**
905
+ * Returns the invoice document\'s ID and URL. Use the URL to download the ZIP file, which contains the invoices from the corresponding `createInvoicesExport` request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
906
+ * @param {string} invoicesDocumentId The export document identifier.
907
+ * @param {*} [options] Override http request option.
908
+ * @throws {RequiredError}
909
+ */
910
+ getInvoicesDocument: (invoicesDocumentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
911
+ /**
912
+ * Returns invoice export details (including the `exportDocumentId`, if available) for the export that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
913
+ * @param {string} exportId The unique identifier for the export.
914
+ * @param {*} [options] Override http request option.
915
+ * @throws {RequiredError}
916
+ */
917
+ getInvoicesExport: (exportId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
918
+ /**
919
+ * Returns invoice exports details for exports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
920
+ * @param {string} marketplaceId The returned exports match the specified marketplace.
921
+ * @param {string} [dateStart] The earliest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 30 days ago.
922
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
923
+ * @param {number} [pageSize] The maximum number of invoices to return in a single call. Minimum: 1 Maximum: 100
924
+ * @param {string} [dateEnd] The latest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default value is the time of the request.
925
+ * @param {GetInvoicesExportsStatusEnum} [status] Return exports matching the status specified.
926
+ * @param {*} [options] Override http request option.
927
+ * @throws {RequiredError}
928
+ */
929
+ getInvoicesExports: (marketplaceId: string, dateStart?: string, nextToken?: string, pageSize?: number, dateEnd?: string, status?: GetInvoicesExportsStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
930
+ };
931
+ /**
932
+ * InvoicesApi - functional programming interface
933
+ */
934
+ declare const InvoicesApiFp: (configuration?: Configuration) => {
935
+ /**
936
+ * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
937
+ * @param {GovernmentInvoiceRequest} body Information required to create the government invoice.
938
+ * @param {*} [options] Override http request option.
939
+ * @throws {RequiredError}
940
+ */
941
+ createGovernmentInvoice(body: GovernmentInvoiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
942
+ /**
943
+ * Creates an invoice export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
944
+ * @param {ExportInvoicesRequest} body Information required to create the export request.
945
+ * @param {*} [options] Override http request option.
946
+ * @throws {RequiredError}
947
+ */
948
+ createInvoicesExport(body: ExportInvoicesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportInvoicesResponse>>;
949
+ /**
950
+ * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
951
+ * @param {string} marketplaceId The invoices returned will match the marketplace that you specify.
952
+ * @param {string} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check \&#39;transactionType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
953
+ * @param {string} shipmentId The unique shipment identifier to get an invoice for.
954
+ * @param {string} invoiceType Marketplace specific classification of the invoice type. Check \&#39;invoiceType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
955
+ * @param {string} [inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
956
+ * @param {string} [fileFormat] Requested file format. Default is XML
957
+ * @param {*} [options] Override http request option.
958
+ * @throws {RequiredError}
959
+ */
960
+ getGovernmentInvoiceDocument(marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, inboundPlanId?: string, fileFormat?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GovtInvoiceDocumentResponse>>;
961
+ /**
962
+ * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
963
+ * @param {string} marketplaceId The invoices status will match the marketplace that you specify.
964
+ * @param {string} transactionType Marketplace specific classification of the transaction type that originated the invoice. Check \&#39;transactionType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
965
+ * @param {string} shipmentId The unique shipment identifier to get an invoice for.
966
+ * @param {string} invoiceType Marketplace specific classification of the invoice type. Check \&#39;invoiceType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
967
+ * @param {string} [inboundPlanId] The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
968
+ * @param {*} [options] Override http request option.
969
+ * @throws {RequiredError}
970
+ */
971
+ getGovernmentInvoiceStatus(marketplaceId: string, transactionType: string, shipmentId: string, invoiceType: string, inboundPlanId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GovernmentInvoiceStatusResponse>>;
972
+ /**
973
+ * Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the `createInvoicesExport` operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
974
+ * @param {string} marketplaceId The marketplace from which you want the invoice.
975
+ * @param {string} invoiceId The invoice identifier.
976
+ * @param {*} [options] Override http request option.
977
+ * @throws {RequiredError}
978
+ */
979
+ getInvoice(marketplaceId: string, invoiceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponse>>;
980
+ /**
981
+ * Returns invoice details for the invoices that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
982
+ * @param {string} marketplaceId The response includes only the invoices that match the specified marketplace.
983
+ * @param {string} [transactionIdentifierName] The name of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the &#x60;transactionIdentifierId&#x60; field.Use the &#x60;getInvoicesAttributes&#x60; operation to check &#x60;transactionIdentifierName&#x60; options.
984
+ * @param {number} [pageSize] The maximum number of invoices you want to return in a single call. Minimum: 1 Maximum: 200
985
+ * @param {string} [dateEnd] The latest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is the current date-time.
986
+ * @param {string} [transactionType] The marketplace-specific classification of the transaction type for which the invoice was created. Use the &#x60;getInvoicesAttributes&#x60; operation to check &#x60;transactionType&#x60; options.
987
+ * @param {string} [transactionIdentifierId] The ID of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the &#x60;transactionIdentifierName&#x60; field.
988
+ * @param {string} [dateStart] The earliest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 24 hours prior to the time of the request.
989
+ * @param {string} [series] Return invoices with the specified series number.
990
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
991
+ * @param {GetInvoicesSortOrderEnum} [sortOrder] Sort the invoices in the response in ascending or descending order.
992
+ * @param {string} [invoiceType] The marketplace-specific classification of the invoice type. Use the &#x60;getInvoicesAttributes&#x60; operation to check &#x60;invoiceType&#x60; options.
993
+ * @param {Array<string>} [statuses] A list of statuses that you can use to filter invoices. Use the &#x60;getInvoicesAttributes&#x60; operation to check invoice status options. Min count: 1
994
+ * @param {string} [externalInvoiceId] Return invoices that match this external ID. This is typically the Government Invoice ID.
995
+ * @param {GetInvoicesSortByEnum} [sortBy] The attribute by which you want to sort the invoices in the response.
996
+ * @param {*} [options] Override http request option.
997
+ * @throws {RequiredError}
998
+ */
999
+ getInvoices(marketplaceId: string, transactionIdentifierName?: string, pageSize?: number, dateEnd?: string, transactionType?: string, transactionIdentifierId?: string, dateStart?: string, series?: string, nextToken?: string, sortOrder?: GetInvoicesSortOrderEnum, invoiceType?: string, statuses?: Array<string>, externalInvoiceId?: string, sortBy?: GetInvoicesSortByEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesResponse>>;
1000
+ /**
1001
+ * Returns marketplace-dependent schemas and their respective set of possible values. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1002
+ * @param {string} marketplaceId The marketplace identifier.
1003
+ * @param {*} [options] Override http request option.
1004
+ * @throws {RequiredError}
1005
+ */
1006
+ getInvoicesAttributes(marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesAttributesResponse>>;
1007
+ /**
1008
+ * Returns the invoice document\'s ID and URL. Use the URL to download the ZIP file, which contains the invoices from the corresponding `createInvoicesExport` request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1009
+ * @param {string} invoicesDocumentId The export document identifier.
1010
+ * @param {*} [options] Override http request option.
1011
+ * @throws {RequiredError}
1012
+ */
1013
+ getInvoicesDocument(invoicesDocumentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesDocumentResponse>>;
1014
+ /**
1015
+ * Returns invoice export details (including the `exportDocumentId`, if available) for the export that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1016
+ * @param {string} exportId The unique identifier for the export.
1017
+ * @param {*} [options] Override http request option.
1018
+ * @throws {RequiredError}
1019
+ */
1020
+ getInvoicesExport(exportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesExportResponse>>;
1021
+ /**
1022
+ * Returns invoice exports details for exports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1023
+ * @param {string} marketplaceId The returned exports match the specified marketplace.
1024
+ * @param {string} [dateStart] The earliest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 30 days ago.
1025
+ * @param {string} [nextToken] The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
1026
+ * @param {number} [pageSize] The maximum number of invoices to return in a single call. Minimum: 1 Maximum: 100
1027
+ * @param {string} [dateEnd] The latest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default value is the time of the request.
1028
+ * @param {GetInvoicesExportsStatusEnum} [status] Return exports matching the status specified.
1029
+ * @param {*} [options] Override http request option.
1030
+ * @throws {RequiredError}
1031
+ */
1032
+ getInvoicesExports(marketplaceId: string, dateStart?: string, nextToken?: string, pageSize?: number, dateEnd?: string, status?: GetInvoicesExportsStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoicesExportsResponse>>;
1033
+ };
1034
+ /**
1035
+ * InvoicesApi - factory interface
1036
+ */
1037
+ declare const InvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1038
+ /**
1039
+ * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
1040
+ * @param {InvoicesApiCreateGovernmentInvoiceRequest} requestParameters Request parameters.
1041
+ * @param {*} [options] Override http request option.
1042
+ * @throws {RequiredError}
1043
+ */
1044
+ createGovernmentInvoice(requestParameters: InvoicesApiCreateGovernmentInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1045
+ /**
1046
+ * Creates an invoice export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1047
+ * @param {InvoicesApiCreateInvoicesExportRequest} requestParameters Request parameters.
1048
+ * @param {*} [options] Override http request option.
1049
+ * @throws {RequiredError}
1050
+ */
1051
+ createInvoicesExport(requestParameters: InvoicesApiCreateInvoicesExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExportInvoicesResponse>;
1052
+ /**
1053
+ * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
1054
+ * @param {InvoicesApiGetGovernmentInvoiceDocumentRequest} requestParameters Request parameters.
1055
+ * @param {*} [options] Override http request option.
1056
+ * @throws {RequiredError}
1057
+ */
1058
+ getGovernmentInvoiceDocument(requestParameters: InvoicesApiGetGovernmentInvoiceDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GovtInvoiceDocumentResponse>;
1059
+ /**
1060
+ * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
1061
+ * @param {InvoicesApiGetGovernmentInvoiceStatusRequest} requestParameters Request parameters.
1062
+ * @param {*} [options] Override http request option.
1063
+ * @throws {RequiredError}
1064
+ */
1065
+ getGovernmentInvoiceStatus(requestParameters: InvoicesApiGetGovernmentInvoiceStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<GovernmentInvoiceStatusResponse>;
1066
+ /**
1067
+ * Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the `createInvoicesExport` operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1068
+ * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
1069
+ * @param {*} [options] Override http request option.
1070
+ * @throws {RequiredError}
1071
+ */
1072
+ getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoiceResponse>;
1073
+ /**
1074
+ * Returns invoice details for the invoices that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1075
+ * @param {InvoicesApiGetInvoicesRequest} requestParameters Request parameters.
1076
+ * @param {*} [options] Override http request option.
1077
+ * @throws {RequiredError}
1078
+ */
1079
+ getInvoices(requestParameters: InvoicesApiGetInvoicesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesResponse>;
1080
+ /**
1081
+ * Returns marketplace-dependent schemas and their respective set of possible values. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1082
+ * @param {InvoicesApiGetInvoicesAttributesRequest} requestParameters Request parameters.
1083
+ * @param {*} [options] Override http request option.
1084
+ * @throws {RequiredError}
1085
+ */
1086
+ getInvoicesAttributes(requestParameters: InvoicesApiGetInvoicesAttributesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesAttributesResponse>;
1087
+ /**
1088
+ * Returns the invoice document\'s ID and URL. Use the URL to download the ZIP file, which contains the invoices from the corresponding `createInvoicesExport` request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1089
+ * @param {InvoicesApiGetInvoicesDocumentRequest} requestParameters Request parameters.
1090
+ * @param {*} [options] Override http request option.
1091
+ * @throws {RequiredError}
1092
+ */
1093
+ getInvoicesDocument(requestParameters: InvoicesApiGetInvoicesDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesDocumentResponse>;
1094
+ /**
1095
+ * Returns invoice export details (including the `exportDocumentId`, if available) for the export that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1096
+ * @param {InvoicesApiGetInvoicesExportRequest} requestParameters Request parameters.
1097
+ * @param {*} [options] Override http request option.
1098
+ * @throws {RequiredError}
1099
+ */
1100
+ getInvoicesExport(requestParameters: InvoicesApiGetInvoicesExportRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesExportResponse>;
1101
+ /**
1102
+ * Returns invoice exports details for exports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1103
+ * @param {InvoicesApiGetInvoicesExportsRequest} requestParameters Request parameters.
1104
+ * @param {*} [options] Override http request option.
1105
+ * @throws {RequiredError}
1106
+ */
1107
+ getInvoicesExports(requestParameters: InvoicesApiGetInvoicesExportsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetInvoicesExportsResponse>;
1108
+ };
1109
+ /**
1110
+ * Request parameters for createGovernmentInvoice operation in InvoicesApi.
1111
+ */
1112
+ interface InvoicesApiCreateGovernmentInvoiceRequest {
1113
+ /**
1114
+ * Information required to create the government invoice.
1115
+ */
1116
+ readonly body: GovernmentInvoiceRequest;
1117
+ }
1118
+ /**
1119
+ * Request parameters for createInvoicesExport operation in InvoicesApi.
1120
+ */
1121
+ interface InvoicesApiCreateInvoicesExportRequest {
1122
+ /**
1123
+ * Information required to create the export request.
1124
+ */
1125
+ readonly body: ExportInvoicesRequest;
1126
+ }
1127
+ /**
1128
+ * Request parameters for getGovernmentInvoiceDocument operation in InvoicesApi.
1129
+ */
1130
+ interface InvoicesApiGetGovernmentInvoiceDocumentRequest {
1131
+ /**
1132
+ * The invoices returned will match the marketplace that you specify.
1133
+ */
1134
+ readonly marketplaceId: string;
1135
+ /**
1136
+ * Marketplace specific classification of the transaction type that originated the invoice. Check \&#39;transactionType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
1137
+ */
1138
+ readonly transactionType: string;
1139
+ /**
1140
+ * The unique shipment identifier to get an invoice for.
1141
+ */
1142
+ readonly shipmentId: string;
1143
+ /**
1144
+ * Marketplace specific classification of the invoice type. Check \&#39;invoiceType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
1145
+ */
1146
+ readonly invoiceType: string;
1147
+ /**
1148
+ * The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
1149
+ */
1150
+ readonly inboundPlanId?: string;
1151
+ /**
1152
+ * Requested file format. Default is XML
1153
+ */
1154
+ readonly fileFormat?: string;
1155
+ }
1156
+ /**
1157
+ * Request parameters for getGovernmentInvoiceStatus operation in InvoicesApi.
1158
+ */
1159
+ interface InvoicesApiGetGovernmentInvoiceStatusRequest {
1160
+ /**
1161
+ * The invoices status will match the marketplace that you specify.
1162
+ */
1163
+ readonly marketplaceId: string;
1164
+ /**
1165
+ * Marketplace specific classification of the transaction type that originated the invoice. Check \&#39;transactionType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
1166
+ */
1167
+ readonly transactionType: string;
1168
+ /**
1169
+ * The unique shipment identifier to get an invoice for.
1170
+ */
1171
+ readonly shipmentId: string;
1172
+ /**
1173
+ * Marketplace specific classification of the invoice type. Check \&#39;invoiceType\&#39; options using \&#39;getInvoicesAttributes\&#39; operation.
1174
+ */
1175
+ readonly invoiceType: string;
1176
+ /**
1177
+ * The unique InboundPlan identifier in which the shipment is contained and for which the invoice will be created.
1178
+ */
1179
+ readonly inboundPlanId?: string;
1180
+ }
1181
+ /**
1182
+ * Request parameters for getInvoice operation in InvoicesApi.
1183
+ */
1184
+ interface InvoicesApiGetInvoiceRequest {
1185
+ /**
1186
+ * The marketplace from which you want the invoice.
1187
+ */
1188
+ readonly marketplaceId: string;
1189
+ /**
1190
+ * The invoice identifier.
1191
+ */
1192
+ readonly invoiceId: string;
1193
+ }
1194
+ /**
1195
+ * Request parameters for getInvoices operation in InvoicesApi.
1196
+ */
1197
+ interface InvoicesApiGetInvoicesRequest {
1198
+ /**
1199
+ * The response includes only the invoices that match the specified marketplace.
1200
+ */
1201
+ readonly marketplaceId: string;
1202
+ /**
1203
+ * The name of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the &#x60;transactionIdentifierId&#x60; field.Use the &#x60;getInvoicesAttributes&#x60; operation to check &#x60;transactionIdentifierName&#x60; options.
1204
+ */
1205
+ readonly transactionIdentifierName?: string;
1206
+ /**
1207
+ * The maximum number of invoices you want to return in a single call. Minimum: 1 Maximum: 200
1208
+ */
1209
+ readonly pageSize?: number;
1210
+ /**
1211
+ * The latest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is the current date-time.
1212
+ */
1213
+ readonly dateEnd?: string;
1214
+ /**
1215
+ * The marketplace-specific classification of the transaction type for which the invoice was created. Use the &#x60;getInvoicesAttributes&#x60; operation to check &#x60;transactionType&#x60; options.
1216
+ */
1217
+ readonly transactionType?: string;
1218
+ /**
1219
+ * The ID of the transaction identifier filter. If you provide a value for this field, you must also provide a value for the &#x60;transactionIdentifierName&#x60; field.
1220
+ */
1221
+ readonly transactionIdentifierId?: string;
1222
+ /**
1223
+ * The earliest invoice creation date for invoices that you want to include in the response. Dates are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 24 hours prior to the time of the request.
1224
+ */
1225
+ readonly dateStart?: string;
1226
+ /**
1227
+ * Return invoices with the specified series number.
1228
+ */
1229
+ readonly series?: string;
1230
+ /**
1231
+ * The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
1232
+ */
1233
+ readonly nextToken?: string;
1234
+ /**
1235
+ * Sort the invoices in the response in ascending or descending order.
1236
+ */
1237
+ readonly sortOrder?: GetInvoicesSortOrderEnum;
1238
+ /**
1239
+ * The marketplace-specific classification of the invoice type. Use the &#x60;getInvoicesAttributes&#x60; operation to check &#x60;invoiceType&#x60; options.
1240
+ */
1241
+ readonly invoiceType?: string;
1242
+ /**
1243
+ * A list of statuses that you can use to filter invoices. Use the &#x60;getInvoicesAttributes&#x60; operation to check invoice status options. Min count: 1
1244
+ */
1245
+ readonly statuses?: Array<string>;
1246
+ /**
1247
+ * Return invoices that match this external ID. This is typically the Government Invoice ID.
1248
+ */
1249
+ readonly externalInvoiceId?: string;
1250
+ /**
1251
+ * The attribute by which you want to sort the invoices in the response.
1252
+ */
1253
+ readonly sortBy?: GetInvoicesSortByEnum;
1254
+ }
1255
+ /**
1256
+ * Request parameters for getInvoicesAttributes operation in InvoicesApi.
1257
+ */
1258
+ interface InvoicesApiGetInvoicesAttributesRequest {
1259
+ /**
1260
+ * The marketplace identifier.
1261
+ */
1262
+ readonly marketplaceId: string;
1263
+ }
1264
+ /**
1265
+ * Request parameters for getInvoicesDocument operation in InvoicesApi.
1266
+ */
1267
+ interface InvoicesApiGetInvoicesDocumentRequest {
1268
+ /**
1269
+ * The export document identifier.
1270
+ */
1271
+ readonly invoicesDocumentId: string;
1272
+ }
1273
+ /**
1274
+ * Request parameters for getInvoicesExport operation in InvoicesApi.
1275
+ */
1276
+ interface InvoicesApiGetInvoicesExportRequest {
1277
+ /**
1278
+ * The unique identifier for the export.
1279
+ */
1280
+ readonly exportId: string;
1281
+ }
1282
+ /**
1283
+ * Request parameters for getInvoicesExports operation in InvoicesApi.
1284
+ */
1285
+ interface InvoicesApiGetInvoicesExportsRequest {
1286
+ /**
1287
+ * The returned exports match the specified marketplace.
1288
+ */
1289
+ readonly marketplaceId: string;
1290
+ /**
1291
+ * The earliest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default is 30 days ago.
1292
+ */
1293
+ readonly dateStart?: string;
1294
+ /**
1295
+ * The response includes &#x60;nextToken&#x60; when the number of results exceeds the specified &#x60;pageSize&#x60; value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until &#x60;nextToken&#x60; is null. Note that this operation can return empty pages.
1296
+ */
1297
+ readonly nextToken?: string;
1298
+ /**
1299
+ * The maximum number of invoices to return in a single call. Minimum: 1 Maximum: 100
1300
+ */
1301
+ readonly pageSize?: number;
1302
+ /**
1303
+ * The latest export creation date and time for exports that you want to include in the response. Values are in [ISO 8601](https://developer-docs.amazon.com/sp-api/docs/iso-8601) date-time format. The default value is the time of the request.
1304
+ */
1305
+ readonly dateEnd?: string;
1306
+ /**
1307
+ * Return exports matching the status specified.
1308
+ */
1309
+ readonly status?: GetInvoicesExportsStatusEnum;
1310
+ }
1311
+ /**
1312
+ * InvoicesApi - object-oriented interface
1313
+ */
1314
+ declare class InvoicesApi extends BaseAPI {
1315
+ /**
1316
+ * Submits an asynchronous government invoice creation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
1317
+ * @param {InvoicesApiCreateGovernmentInvoiceRequest} requestParameters Request parameters.
1318
+ * @param {*} [options] Override http request option.
1319
+ * @throws {RequiredError}
1320
+ */
1321
+ createGovernmentInvoice(requestParameters: InvoicesApiCreateGovernmentInvoiceRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any, {}>>;
1322
+ /**
1323
+ * Creates an invoice export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1324
+ * @param {InvoicesApiCreateInvoicesExportRequest} requestParameters Request parameters.
1325
+ * @param {*} [options] Override http request option.
1326
+ * @throws {RequiredError}
1327
+ */
1328
+ createInvoicesExport(requestParameters: InvoicesApiCreateInvoicesExportRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ExportInvoicesResponse, any, {}>>;
1329
+ /**
1330
+ * Returns an invoiceDocument object containing an invoiceDocumentUrl . **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
1331
+ * @param {InvoicesApiGetGovernmentInvoiceDocumentRequest} requestParameters Request parameters.
1332
+ * @param {*} [options] Override http request option.
1333
+ * @throws {RequiredError}
1334
+ */
1335
+ getGovernmentInvoiceDocument(requestParameters: InvoicesApiGetGovernmentInvoiceDocumentRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GovtInvoiceDocumentResponse, any, {}>>;
1336
+ /**
1337
+ * Returns the status of an invoice generation request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
1338
+ * @param {InvoicesApiGetGovernmentInvoiceStatusRequest} requestParameters Request parameters.
1339
+ * @param {*} [options] Override http request option.
1340
+ * @throws {RequiredError}
1341
+ */
1342
+ getGovernmentInvoiceStatus(requestParameters: InvoicesApiGetGovernmentInvoiceStatusRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GovernmentInvoiceStatusResponse, any, {}>>;
1343
+ /**
1344
+ * Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the `createInvoicesExport` operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1345
+ * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
1346
+ * @param {*} [options] Override http request option.
1347
+ * @throws {RequiredError}
1348
+ */
1349
+ getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoiceResponse, any, {}>>;
1350
+ /**
1351
+ * Returns invoice details for the invoices that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1352
+ * @param {InvoicesApiGetInvoicesRequest} requestParameters Request parameters.
1353
+ * @param {*} [options] Override http request option.
1354
+ * @throws {RequiredError}
1355
+ */
1356
+ getInvoices(requestParameters: InvoicesApiGetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoicesResponse, any, {}>>;
1357
+ /**
1358
+ * Returns marketplace-dependent schemas and their respective set of possible values. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1359
+ * @param {InvoicesApiGetInvoicesAttributesRequest} requestParameters Request parameters.
1360
+ * @param {*} [options] Override http request option.
1361
+ * @throws {RequiredError}
1362
+ */
1363
+ getInvoicesAttributes(requestParameters: InvoicesApiGetInvoicesAttributesRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoicesAttributesResponse, any, {}>>;
1364
+ /**
1365
+ * Returns the invoice document\'s ID and URL. Use the URL to download the ZIP file, which contains the invoices from the corresponding `createInvoicesExport` request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1366
+ * @param {InvoicesApiGetInvoicesDocumentRequest} requestParameters Request parameters.
1367
+ * @param {*} [options] Override http request option.
1368
+ * @throws {RequiredError}
1369
+ */
1370
+ getInvoicesDocument(requestParameters: InvoicesApiGetInvoicesDocumentRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoicesDocumentResponse, any, {}>>;
1371
+ /**
1372
+ * Returns invoice export details (including the `exportDocumentId`, if available) for the export that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1373
+ * @param {InvoicesApiGetInvoicesExportRequest} requestParameters Request parameters.
1374
+ * @param {*} [options] Override http request option.
1375
+ * @throws {RequiredError}
1376
+ */
1377
+ getInvoicesExport(requestParameters: InvoicesApiGetInvoicesExportRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoicesExportResponse, any, {}>>;
1378
+ /**
1379
+ * Returns invoice exports details for exports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1380
+ * @param {InvoicesApiGetInvoicesExportsRequest} requestParameters Request parameters.
1381
+ * @param {*} [options] Override http request option.
1382
+ * @throws {RequiredError}
1383
+ */
1384
+ getInvoicesExports(requestParameters: InvoicesApiGetInvoicesExportsRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoicesExportsResponse, any, {}>>;
1385
+ }
1386
+ declare const GetInvoicesSortOrderEnum: {
1387
+ readonly Desc: "DESC";
1388
+ readonly Asc: "ASC";
1389
+ };
1390
+ type GetInvoicesSortOrderEnum = typeof GetInvoicesSortOrderEnum[keyof typeof GetInvoicesSortOrderEnum];
1391
+ declare const GetInvoicesSortByEnum: {
1392
+ readonly StartDateTime: "START_DATE_TIME";
1393
+ };
1394
+ type GetInvoicesSortByEnum = typeof GetInvoicesSortByEnum[keyof typeof GetInvoicesSortByEnum];
1395
+ declare const GetInvoicesExportsStatusEnum: {
1396
+ readonly Requested: "REQUESTED";
1397
+ readonly Processing: "PROCESSING";
1398
+ readonly Done: "DONE";
1399
+ readonly Error: "ERROR";
1400
+ };
1401
+ type GetInvoicesExportsStatusEnum = typeof GetInvoicesExportsStatusEnum[keyof typeof GetInvoicesExportsStatusEnum];
1402
+
1403
+ declare const clientRateLimits: RateLimit[];
1404
+ declare class InvoicesApiClient extends InvoicesApi {
1405
+ constructor(configuration: ClientConfiguration);
1406
+ }
1407
+
1408
+ export { type AttributeOption, type CarrierDetailsContext, type ErrorList, type Export, type ExportInvoicesRequest, type ExportInvoicesResponse, ExportStatus, FileFormat, type GetInvoiceResponse, type GetInvoicesAttributesResponse, type GetInvoicesDocumentResponse, type GetInvoicesExportResponse, type GetInvoicesExportsResponse, GetInvoicesExportsStatusEnum, type GetInvoicesResponse, GetInvoicesSortByEnum, GetInvoicesSortOrderEnum, GovernmentInvoiceCreationStatus, type GovernmentInvoiceRequest, type GovernmentInvoiceStatusResponse, type GovtInvoiceDocumentResponse, type Invoice, type InvoiceDocument, type InvoiceError, InvoicesApi, InvoicesApiAxiosParamCreator, InvoicesApiClient, type InvoicesApiCreateGovernmentInvoiceRequest, type InvoicesApiCreateInvoicesExportRequest, InvoicesApiFactory, InvoicesApiFp, type InvoicesApiGetGovernmentInvoiceDocumentRequest, type InvoicesApiGetGovernmentInvoiceStatusRequest, type InvoicesApiGetInvoiceRequest, type InvoicesApiGetInvoicesAttributesRequest, type InvoicesApiGetInvoicesDocumentRequest, type InvoicesApiGetInvoicesExportRequest, type InvoicesApiGetInvoicesExportsRequest, type InvoicesApiGetInvoicesRequest, type InvoicesAttributes, type InvoicesDocument, type ModelError, type TransactionIdentifier, clientRateLimits };