@sp-api-sdk/invoices-api-2024-06-19 2.1.4 → 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.
- package/README.md +4 -4
- package/dist/index.cjs +1090 -0
- package/dist/index.cjs.map +1 -0
- package/dist/{types/api-model/api/invoices-api.d.ts → index.d.cts} +853 -45
- package/dist/index.d.ts +1408 -0
- package/dist/index.js +1042 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/invoices-api.js +0 -832
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/attribute-option.js +0 -15
- package/dist/cjs/api-model/models/carrier-details-context.js +0 -15
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/export-invoices-request.js +0 -15
- package/dist/cjs/api-model/models/export-invoices-response.js +0 -15
- package/dist/cjs/api-model/models/export-status.js +0 -25
- package/dist/cjs/api-model/models/export.js +0 -15
- package/dist/cjs/api-model/models/file-format.js +0 -22
- package/dist/cjs/api-model/models/get-invoice-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-attributes-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-document-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-export-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-exports-response.js +0 -15
- package/dist/cjs/api-model/models/get-invoices-response.js +0 -15
- package/dist/cjs/api-model/models/government-invoice-creation-status.js +0 -24
- package/dist/cjs/api-model/models/government-invoice-request.js +0 -15
- package/dist/cjs/api-model/models/government-invoice-status-response.js +0 -15
- package/dist/cjs/api-model/models/govt-invoice-document-response.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -41
- package/dist/cjs/api-model/models/invoice-document.js +0 -15
- package/dist/cjs/api-model/models/invoice-error.js +0 -15
- package/dist/cjs/api-model/models/invoice.js +0 -15
- package/dist/cjs/api-model/models/invoices-attributes.js +0 -15
- package/dist/cjs/api-model/models/invoices-document.js +0 -15
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/transaction-identifier.js +0 -15
- package/dist/cjs/client.js +0 -84
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/invoices-api.js +0 -822
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/attribute-option.js +0 -14
- package/dist/es/api-model/models/carrier-details-context.js +0 -14
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/export-invoices-request.js +0 -14
- package/dist/es/api-model/models/export-invoices-response.js +0 -14
- package/dist/es/api-model/models/export-status.js +0 -22
- package/dist/es/api-model/models/export.js +0 -14
- package/dist/es/api-model/models/file-format.js +0 -19
- package/dist/es/api-model/models/get-invoice-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-attributes-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-document-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-export-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-exports-response.js +0 -14
- package/dist/es/api-model/models/get-invoices-response.js +0 -14
- package/dist/es/api-model/models/government-invoice-creation-status.js +0 -21
- package/dist/es/api-model/models/government-invoice-request.js +0 -14
- package/dist/es/api-model/models/government-invoice-status-response.js +0 -14
- package/dist/es/api-model/models/govt-invoice-document-response.js +0 -14
- package/dist/es/api-model/models/index.js +0 -25
- package/dist/es/api-model/models/invoice-document.js +0 -14
- package/dist/es/api-model/models/invoice-error.js +0 -14
- package/dist/es/api-model/models/invoice.js +0 -14
- package/dist/es/api-model/models/invoices-attributes.js +0 -14
- package/dist/es/api-model/models/invoices-document.js +0 -14
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/transaction-identifier.js +0 -14
- package/dist/es/client.js +0 -80
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/attribute-option.d.ts +0 -24
- package/dist/types/api-model/models/carrier-details-context.d.ts +0 -48
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/export-invoices-request.d.ts +0 -52
- package/dist/types/api-model/models/export-invoices-response.d.ts +0 -20
- package/dist/types/api-model/models/export-status.d.ts +0 -21
- package/dist/types/api-model/models/export.d.ts +0 -38
- package/dist/types/api-model/models/file-format.d.ts +0 -18
- package/dist/types/api-model/models/get-invoice-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-attributes-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-document-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-export-response.d.ts +0 -18
- package/dist/types/api-model/models/get-invoices-exports-response.d.ts +0 -25
- package/dist/types/api-model/models/get-invoices-response.d.ts +0 -25
- package/dist/types/api-model/models/government-invoice-creation-status.d.ts +0 -20
- package/dist/types/api-model/models/government-invoice-request.d.ts +0 -41
- package/dist/types/api-model/models/government-invoice-status-response.d.ts +0 -27
- package/dist/types/api-model/models/govt-invoice-document-response.d.ts +0 -18
- package/dist/types/api-model/models/index.d.ts +0 -25
- package/dist/types/api-model/models/invoice-document.d.ts +0 -20
- package/dist/types/api-model/models/invoice-error.d.ts +0 -24
- package/dist/types/api-model/models/invoice.d.ts +0 -57
- package/dist/types/api-model/models/invoices-attributes.d.ts +0 -33
- package/dist/types/api-model/models/invoices-document.d.ts +0 -24
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/transaction-identifier.d.ts +0 -24
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { ClientConfiguration, RateLimit } from '@sp-api-sdk/common';
|
|
2
|
+
import * as axios from 'axios';
|
|
3
|
+
import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
|
|
4
|
+
|
|
1
5
|
/**
|
|
2
6
|
* The Selling Partner API for Invoices.
|
|
3
7
|
* Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
|
|
@@ -9,25 +13,822 @@
|
|
|
9
13
|
* https://openapi-generator.tech
|
|
10
14
|
* Do not edit the class manually.
|
|
11
15
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
+
|
|
27
828
|
/**
|
|
28
829
|
* InvoicesApi - axios parameter creator
|
|
29
830
|
*/
|
|
30
|
-
|
|
831
|
+
declare const InvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
31
832
|
/**
|
|
32
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.
|
|
33
834
|
* @param {GovernmentInvoiceRequest} body Information required to create the government invoice.
|
|
@@ -130,7 +931,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
130
931
|
/**
|
|
131
932
|
* InvoicesApi - functional programming interface
|
|
132
933
|
*/
|
|
133
|
-
|
|
934
|
+
declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
134
935
|
/**
|
|
135
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.
|
|
136
937
|
* @param {GovernmentInvoiceRequest} body Information required to create the government invoice.
|
|
@@ -233,7 +1034,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
233
1034
|
/**
|
|
234
1035
|
* InvoicesApi - factory interface
|
|
235
1036
|
*/
|
|
236
|
-
|
|
1037
|
+
declare const InvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
237
1038
|
/**
|
|
238
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.
|
|
239
1040
|
* @param {InvoicesApiCreateGovernmentInvoiceRequest} requestParameters Request parameters.
|
|
@@ -308,7 +1109,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
308
1109
|
/**
|
|
309
1110
|
* Request parameters for createGovernmentInvoice operation in InvoicesApi.
|
|
310
1111
|
*/
|
|
311
|
-
|
|
1112
|
+
interface InvoicesApiCreateGovernmentInvoiceRequest {
|
|
312
1113
|
/**
|
|
313
1114
|
* Information required to create the government invoice.
|
|
314
1115
|
*/
|
|
@@ -317,7 +1118,7 @@ export interface InvoicesApiCreateGovernmentInvoiceRequest {
|
|
|
317
1118
|
/**
|
|
318
1119
|
* Request parameters for createInvoicesExport operation in InvoicesApi.
|
|
319
1120
|
*/
|
|
320
|
-
|
|
1121
|
+
interface InvoicesApiCreateInvoicesExportRequest {
|
|
321
1122
|
/**
|
|
322
1123
|
* Information required to create the export request.
|
|
323
1124
|
*/
|
|
@@ -326,7 +1127,7 @@ export interface InvoicesApiCreateInvoicesExportRequest {
|
|
|
326
1127
|
/**
|
|
327
1128
|
* Request parameters for getGovernmentInvoiceDocument operation in InvoicesApi.
|
|
328
1129
|
*/
|
|
329
|
-
|
|
1130
|
+
interface InvoicesApiGetGovernmentInvoiceDocumentRequest {
|
|
330
1131
|
/**
|
|
331
1132
|
* The invoices returned will match the marketplace that you specify.
|
|
332
1133
|
*/
|
|
@@ -355,7 +1156,7 @@ export interface InvoicesApiGetGovernmentInvoiceDocumentRequest {
|
|
|
355
1156
|
/**
|
|
356
1157
|
* Request parameters for getGovernmentInvoiceStatus operation in InvoicesApi.
|
|
357
1158
|
*/
|
|
358
|
-
|
|
1159
|
+
interface InvoicesApiGetGovernmentInvoiceStatusRequest {
|
|
359
1160
|
/**
|
|
360
1161
|
* The invoices status will match the marketplace that you specify.
|
|
361
1162
|
*/
|
|
@@ -380,7 +1181,7 @@ export interface InvoicesApiGetGovernmentInvoiceStatusRequest {
|
|
|
380
1181
|
/**
|
|
381
1182
|
* Request parameters for getInvoice operation in InvoicesApi.
|
|
382
1183
|
*/
|
|
383
|
-
|
|
1184
|
+
interface InvoicesApiGetInvoiceRequest {
|
|
384
1185
|
/**
|
|
385
1186
|
* The marketplace from which you want the invoice.
|
|
386
1187
|
*/
|
|
@@ -393,7 +1194,7 @@ export interface InvoicesApiGetInvoiceRequest {
|
|
|
393
1194
|
/**
|
|
394
1195
|
* Request parameters for getInvoices operation in InvoicesApi.
|
|
395
1196
|
*/
|
|
396
|
-
|
|
1197
|
+
interface InvoicesApiGetInvoicesRequest {
|
|
397
1198
|
/**
|
|
398
1199
|
* The response includes only the invoices that match the specified marketplace.
|
|
399
1200
|
*/
|
|
@@ -454,7 +1255,7 @@ export interface InvoicesApiGetInvoicesRequest {
|
|
|
454
1255
|
/**
|
|
455
1256
|
* Request parameters for getInvoicesAttributes operation in InvoicesApi.
|
|
456
1257
|
*/
|
|
457
|
-
|
|
1258
|
+
interface InvoicesApiGetInvoicesAttributesRequest {
|
|
458
1259
|
/**
|
|
459
1260
|
* The marketplace identifier.
|
|
460
1261
|
*/
|
|
@@ -463,7 +1264,7 @@ export interface InvoicesApiGetInvoicesAttributesRequest {
|
|
|
463
1264
|
/**
|
|
464
1265
|
* Request parameters for getInvoicesDocument operation in InvoicesApi.
|
|
465
1266
|
*/
|
|
466
|
-
|
|
1267
|
+
interface InvoicesApiGetInvoicesDocumentRequest {
|
|
467
1268
|
/**
|
|
468
1269
|
* The export document identifier.
|
|
469
1270
|
*/
|
|
@@ -472,7 +1273,7 @@ export interface InvoicesApiGetInvoicesDocumentRequest {
|
|
|
472
1273
|
/**
|
|
473
1274
|
* Request parameters for getInvoicesExport operation in InvoicesApi.
|
|
474
1275
|
*/
|
|
475
|
-
|
|
1276
|
+
interface InvoicesApiGetInvoicesExportRequest {
|
|
476
1277
|
/**
|
|
477
1278
|
* The unique identifier for the export.
|
|
478
1279
|
*/
|
|
@@ -481,7 +1282,7 @@ export interface InvoicesApiGetInvoicesExportRequest {
|
|
|
481
1282
|
/**
|
|
482
1283
|
* Request parameters for getInvoicesExports operation in InvoicesApi.
|
|
483
1284
|
*/
|
|
484
|
-
|
|
1285
|
+
interface InvoicesApiGetInvoicesExportsRequest {
|
|
485
1286
|
/**
|
|
486
1287
|
* The returned exports match the specified marketplace.
|
|
487
1288
|
*/
|
|
@@ -510,91 +1311,98 @@ export interface InvoicesApiGetInvoicesExportsRequest {
|
|
|
510
1311
|
/**
|
|
511
1312
|
* InvoicesApi - object-oriented interface
|
|
512
1313
|
*/
|
|
513
|
-
|
|
1314
|
+
declare class InvoicesApi extends BaseAPI {
|
|
514
1315
|
/**
|
|
515
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.
|
|
516
1317
|
* @param {InvoicesApiCreateGovernmentInvoiceRequest} requestParameters Request parameters.
|
|
517
1318
|
* @param {*} [options] Override http request option.
|
|
518
1319
|
* @throws {RequiredError}
|
|
519
1320
|
*/
|
|
520
|
-
createGovernmentInvoice(requestParameters: InvoicesApiCreateGovernmentInvoiceRequest, options?: RawAxiosRequestConfig): Promise<
|
|
1321
|
+
createGovernmentInvoice(requestParameters: InvoicesApiCreateGovernmentInvoiceRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<void, any, {}>>;
|
|
521
1322
|
/**
|
|
522
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).
|
|
523
1324
|
* @param {InvoicesApiCreateInvoicesExportRequest} requestParameters Request parameters.
|
|
524
1325
|
* @param {*} [options] Override http request option.
|
|
525
1326
|
* @throws {RequiredError}
|
|
526
1327
|
*/
|
|
527
|
-
createInvoicesExport(requestParameters: InvoicesApiCreateInvoicesExportRequest, options?: RawAxiosRequestConfig): Promise<
|
|
1328
|
+
createInvoicesExport(requestParameters: InvoicesApiCreateInvoicesExportRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<ExportInvoicesResponse, any, {}>>;
|
|
528
1329
|
/**
|
|
529
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.
|
|
530
1331
|
* @param {InvoicesApiGetGovernmentInvoiceDocumentRequest} requestParameters Request parameters.
|
|
531
1332
|
* @param {*} [options] Override http request option.
|
|
532
1333
|
* @throws {RequiredError}
|
|
533
1334
|
*/
|
|
534
|
-
getGovernmentInvoiceDocument(requestParameters: InvoicesApiGetGovernmentInvoiceDocumentRequest, options?: RawAxiosRequestConfig): Promise<
|
|
1335
|
+
getGovernmentInvoiceDocument(requestParameters: InvoicesApiGetGovernmentInvoiceDocumentRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GovtInvoiceDocumentResponse, any, {}>>;
|
|
535
1336
|
/**
|
|
536
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.
|
|
537
1338
|
* @param {InvoicesApiGetGovernmentInvoiceStatusRequest} requestParameters Request parameters.
|
|
538
1339
|
* @param {*} [options] Override http request option.
|
|
539
1340
|
* @throws {RequiredError}
|
|
540
1341
|
*/
|
|
541
|
-
getGovernmentInvoiceStatus(requestParameters: InvoicesApiGetGovernmentInvoiceStatusRequest, options?: RawAxiosRequestConfig): Promise<
|
|
1342
|
+
getGovernmentInvoiceStatus(requestParameters: InvoicesApiGetGovernmentInvoiceStatusRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GovernmentInvoiceStatusResponse, any, {}>>;
|
|
542
1343
|
/**
|
|
543
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).
|
|
544
1345
|
* @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
|
|
545
1346
|
* @param {*} [options] Override http request option.
|
|
546
1347
|
* @throws {RequiredError}
|
|
547
1348
|
*/
|
|
548
|
-
getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: RawAxiosRequestConfig): Promise<
|
|
1349
|
+
getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoiceResponse, any, {}>>;
|
|
549
1350
|
/**
|
|
550
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).
|
|
551
1352
|
* @param {InvoicesApiGetInvoicesRequest} requestParameters Request parameters.
|
|
552
1353
|
* @param {*} [options] Override http request option.
|
|
553
1354
|
* @throws {RequiredError}
|
|
554
1355
|
*/
|
|
555
|
-
getInvoices(requestParameters: InvoicesApiGetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<
|
|
1356
|
+
getInvoices(requestParameters: InvoicesApiGetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoicesResponse, any, {}>>;
|
|
556
1357
|
/**
|
|
557
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).
|
|
558
1359
|
* @param {InvoicesApiGetInvoicesAttributesRequest} requestParameters Request parameters.
|
|
559
1360
|
* @param {*} [options] Override http request option.
|
|
560
1361
|
* @throws {RequiredError}
|
|
561
1362
|
*/
|
|
562
|
-
getInvoicesAttributes(requestParameters: InvoicesApiGetInvoicesAttributesRequest, options?: RawAxiosRequestConfig): Promise<
|
|
1363
|
+
getInvoicesAttributes(requestParameters: InvoicesApiGetInvoicesAttributesRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoicesAttributesResponse, any, {}>>;
|
|
563
1364
|
/**
|
|
564
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).
|
|
565
1366
|
* @param {InvoicesApiGetInvoicesDocumentRequest} requestParameters Request parameters.
|
|
566
1367
|
* @param {*} [options] Override http request option.
|
|
567
1368
|
* @throws {RequiredError}
|
|
568
1369
|
*/
|
|
569
|
-
getInvoicesDocument(requestParameters: InvoicesApiGetInvoicesDocumentRequest, options?: RawAxiosRequestConfig): Promise<
|
|
1370
|
+
getInvoicesDocument(requestParameters: InvoicesApiGetInvoicesDocumentRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoicesDocumentResponse, any, {}>>;
|
|
570
1371
|
/**
|
|
571
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).
|
|
572
1373
|
* @param {InvoicesApiGetInvoicesExportRequest} requestParameters Request parameters.
|
|
573
1374
|
* @param {*} [options] Override http request option.
|
|
574
1375
|
* @throws {RequiredError}
|
|
575
1376
|
*/
|
|
576
|
-
getInvoicesExport(requestParameters: InvoicesApiGetInvoicesExportRequest, options?: RawAxiosRequestConfig): Promise<
|
|
1377
|
+
getInvoicesExport(requestParameters: InvoicesApiGetInvoicesExportRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoicesExportResponse, any, {}>>;
|
|
577
1378
|
/**
|
|
578
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).
|
|
579
1380
|
* @param {InvoicesApiGetInvoicesExportsRequest} requestParameters Request parameters.
|
|
580
1381
|
* @param {*} [options] Override http request option.
|
|
581
1382
|
* @throws {RequiredError}
|
|
582
1383
|
*/
|
|
583
|
-
getInvoicesExports(requestParameters: InvoicesApiGetInvoicesExportsRequest, options?: RawAxiosRequestConfig): Promise<
|
|
1384
|
+
getInvoicesExports(requestParameters: InvoicesApiGetInvoicesExportsRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<GetInvoicesExportsResponse, any, {}>>;
|
|
584
1385
|
}
|
|
585
|
-
|
|
1386
|
+
declare const GetInvoicesSortOrderEnum: {
|
|
586
1387
|
readonly Desc: "DESC";
|
|
587
1388
|
readonly Asc: "ASC";
|
|
588
1389
|
};
|
|
589
|
-
|
|
590
|
-
|
|
1390
|
+
type GetInvoicesSortOrderEnum = typeof GetInvoicesSortOrderEnum[keyof typeof GetInvoicesSortOrderEnum];
|
|
1391
|
+
declare const GetInvoicesSortByEnum: {
|
|
591
1392
|
readonly StartDateTime: "START_DATE_TIME";
|
|
592
1393
|
};
|
|
593
|
-
|
|
594
|
-
|
|
1394
|
+
type GetInvoicesSortByEnum = typeof GetInvoicesSortByEnum[keyof typeof GetInvoicesSortByEnum];
|
|
1395
|
+
declare const GetInvoicesExportsStatusEnum: {
|
|
595
1396
|
readonly Requested: "REQUESTED";
|
|
596
1397
|
readonly Processing: "PROCESSING";
|
|
597
1398
|
readonly Done: "DONE";
|
|
598
1399
|
readonly Error: "ERROR";
|
|
599
1400
|
};
|
|
600
|
-
|
|
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 };
|