@aws-sdk/client-taxsettings 3.590.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/LICENSE +201 -0
- package/README.md +272 -0
- package/dist-cjs/TaxSettings.js +25 -0
- package/dist-cjs/TaxSettingsClient.js +56 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/BatchDeleteTaxRegistrationCommand.js +29 -0
- package/dist-cjs/commands/BatchPutTaxRegistrationCommand.js +29 -0
- package/dist-cjs/commands/DeleteTaxRegistrationCommand.js +28 -0
- package/dist-cjs/commands/GetTaxRegistrationCommand.js +29 -0
- package/dist-cjs/commands/GetTaxRegistrationDocumentCommand.js +28 -0
- package/dist-cjs/commands/ListTaxRegistrationsCommand.js +29 -0
- package/dist-cjs/commands/PutTaxRegistrationCommand.js +29 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/TaxSettingsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +198 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListTaxRegistrationsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +311 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/TaxSettings.js +21 -0
- package/dist-es/TaxSettingsClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/BatchDeleteTaxRegistrationCommand.js +25 -0
- package/dist-es/commands/BatchPutTaxRegistrationCommand.js +25 -0
- package/dist-es/commands/DeleteTaxRegistrationCommand.js +24 -0
- package/dist-es/commands/GetTaxRegistrationCommand.js +25 -0
- package/dist-es/commands/GetTaxRegistrationDocumentCommand.js +24 -0
- package/dist-es/commands/ListTaxRegistrationsCommand.js +25 -0
- package/dist-es/commands/PutTaxRegistrationCommand.js +25 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +10 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/TaxSettingsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +178 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListTaxRegistrationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +294 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/TaxSettings.d.ts +73 -0
- package/dist-types/TaxSettingsClient.d.ts +189 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/BatchDeleteTaxRegistrationCommand.d.ts +81 -0
- package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +346 -0
- package/dist-types/commands/DeleteTaxRegistrationCommand.d.ts +73 -0
- package/dist-types/commands/GetTaxRegistrationCommand.d.ts +158 -0
- package/dist-types/commands/GetTaxRegistrationDocumentCommand.d.ts +74 -0
- package/dist-types/commands/ListTaxRegistrationsCommand.d.ts +186 -0
- package/dist-types/commands/PutTaxRegistrationCommand.d.ts +336 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +25 -0
- package/dist-types/models/TaxSettingsServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1476 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListTaxRegistrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +65 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/TaxSettings.d.ts +129 -0
- package/dist-types/ts3.4/TaxSettingsClient.d.ts +162 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/BatchDeleteTaxRegistrationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/BatchPutTaxRegistrationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteTaxRegistrationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetTaxRegistrationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetTaxRegistrationDocumentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTaxRegistrationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutTaxRegistrationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/TaxSettingsServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +408 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListTaxRegistrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,1476 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { TaxSettingsServiceException as __BaseException } from "./TaxSettingsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p> The details of the address associated with the TRN information. </p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface Address {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The first line of the address. </p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
addressLine1: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The second line of the address, if applicable. </p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
addressLine2?: string;
|
|
18
|
+
/**
|
|
19
|
+
* <p> The third line of the address, if applicable. Currently, the Tax Settings API accepts the
|
|
20
|
+
* <code>addressLine3</code> parameter only for Saudi Arabia. When you specify a TRN in Saudi
|
|
21
|
+
* Arabia, you must enter the <code>addressLine3</code> and specify the building number for the
|
|
22
|
+
* address. For example, you might enter <code>1234</code>.</p>
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
addressLine3?: string;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The district or county the address is located. </p>
|
|
28
|
+
* <note>
|
|
29
|
+
* <p>For addresses in Brazil, this parameter uses the name of the neighborhood. When you set
|
|
30
|
+
* a TRN in Brazil, use <code>districtOrCounty</code> for the neighborhood name.</p>
|
|
31
|
+
* </note>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
districtOrCounty?: string;
|
|
35
|
+
/**
|
|
36
|
+
* <p>The city that the address is in. </p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
city: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* <p>The state, region, or province that the address is located.</p>
|
|
42
|
+
* <p>If this is required for tax settings, use the same name as shown on the <b>Tax Settings</b> page.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
stateOrRegion?: string;
|
|
46
|
+
/**
|
|
47
|
+
* <p> The postal code associated with the address. </p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
postalCode: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The country code for the country that the address is in. </p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
countryCode: string | undefined;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
* @enum
|
|
60
|
+
*/
|
|
61
|
+
export declare const AddressRoleType: {
|
|
62
|
+
readonly BILLING_ADDRESS: "BillingAddress";
|
|
63
|
+
readonly CONTACT_ADDRESS: "ContactAddress";
|
|
64
|
+
readonly TAX_ADDRESS: "TaxAddress";
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export type AddressRoleType = (typeof AddressRoleType)[keyof typeof AddressRoleType];
|
|
70
|
+
/**
|
|
71
|
+
* <p>The jurisdiction details of the TRN information of the customers. This doesn't contain
|
|
72
|
+
* full legal address, and contains only country code and state/region/province. </p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export interface Jurisdiction {
|
|
76
|
+
/**
|
|
77
|
+
* <p> The state, region, or province associated with the country of the jurisdiction, if
|
|
78
|
+
* applicable. </p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
stateOrRegion?: string;
|
|
82
|
+
/**
|
|
83
|
+
* <p> The country code of the jurisdiction. </p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
countryCode: string | undefined;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* <p>
|
|
90
|
+
* The meta data information associated with the account.
|
|
91
|
+
* </p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export interface AccountMetaData {
|
|
95
|
+
/**
|
|
96
|
+
* <p>
|
|
97
|
+
* The Amazon Web Services accounts name.
|
|
98
|
+
* </p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
accountName?: string;
|
|
102
|
+
/**
|
|
103
|
+
* <p>
|
|
104
|
+
* Seller information associated with the account.
|
|
105
|
+
* </p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
seller?: string;
|
|
109
|
+
/**
|
|
110
|
+
* <p> The details of the address associated with the TRN information. </p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
address?: Address;
|
|
114
|
+
/**
|
|
115
|
+
* <p>
|
|
116
|
+
* The type of address associated with the legal profile.
|
|
117
|
+
* </p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
addressType?: AddressRoleType;
|
|
121
|
+
/**
|
|
122
|
+
* <p>
|
|
123
|
+
* Address roles associated with the account containing country code information.
|
|
124
|
+
* </p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
addressRoleMap?: Partial<Record<AddressRoleType, Jurisdiction>>;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* <p>
|
|
131
|
+
* Tax inheritance information associated with the account.
|
|
132
|
+
* </p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export interface TaxInheritanceDetails {
|
|
136
|
+
/**
|
|
137
|
+
* <p>
|
|
138
|
+
* Tax inheritance parent account information associated with the account.
|
|
139
|
+
* </p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
parentEntityId?: string;
|
|
143
|
+
/**
|
|
144
|
+
* <p>
|
|
145
|
+
* Tax inheritance reason information associated with the account.
|
|
146
|
+
* </p>
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
inheritanceObtainedReason?: string;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* <p>Additional tax information associated with your TRN in Brazil.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export interface BrazilAdditionalInfo {
|
|
156
|
+
/**
|
|
157
|
+
* <p>The Cadastro de Contribuintes Mobiliários (CCM) code for your TRN in Brazil. This only applies for a CNPJ tax type for the São Paulo municipality.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
ccmCode?: string;
|
|
161
|
+
/**
|
|
162
|
+
* <p>Legal nature of business, based on your TRN in Brazil. This only applies for a CNPJ tax
|
|
163
|
+
* type.</p>
|
|
164
|
+
* @public
|
|
165
|
+
*/
|
|
166
|
+
legalNatureCode?: string;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* <p> Additional tax information associated with your TRN in Canada .</p>
|
|
170
|
+
* @public
|
|
171
|
+
*/
|
|
172
|
+
export interface CanadaAdditionalInfo {
|
|
173
|
+
/**
|
|
174
|
+
* <p> The provincial sales tax ID for your TRN in Canada. This parameter can represent the
|
|
175
|
+
* following: </p>
|
|
176
|
+
* <ul>
|
|
177
|
+
* <li>
|
|
178
|
+
* <p>Provincial sales tax ID number for British Columbia and Saskatchewan provinces</p>
|
|
179
|
+
* </li>
|
|
180
|
+
* <li>
|
|
181
|
+
* <p>Manitoba retail sales tax ID number for Manitoba province</p>
|
|
182
|
+
* </li>
|
|
183
|
+
* <li>
|
|
184
|
+
* <p>Quebec sales tax ID number for Quebec province</p>
|
|
185
|
+
* </li>
|
|
186
|
+
* </ul>
|
|
187
|
+
* <p>The Tax Setting API only accepts this parameter if the TRN is specified for the previous
|
|
188
|
+
* provinces. For other provinces, the Tax Settings API doesn't accept this parameter. </p>
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
provincialSalesTaxId?: string;
|
|
192
|
+
/**
|
|
193
|
+
* <p>
|
|
194
|
+
* The Quebec Sales Tax ID number. Leave blank if you do not have a Quebec Sales Tax ID number.
|
|
195
|
+
* </p>
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
canadaQuebecSalesTaxNumber?: string;
|
|
199
|
+
/**
|
|
200
|
+
* <p>
|
|
201
|
+
* Manitoba Retail Sales Tax ID number. Customers purchasing Amazon Web Services for resale in Manitoba must provide a valid Retail Sales Tax ID number for Manitoba. Leave this blank if you do not have a Retail Sales Tax ID number in Manitoba or are not purchasing Amazon Web Services for resale.
|
|
202
|
+
* </p>
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
205
|
+
canadaRetailSalesTaxNumber?: string;
|
|
206
|
+
/**
|
|
207
|
+
* <p> The value for this parameter must be <code>true</code> if the
|
|
208
|
+
* <code>provincialSalesTaxId</code> value is provided for a TRN in British Columbia,
|
|
209
|
+
* Saskatchewan, or Manitoba provinces. </p>
|
|
210
|
+
* <p>To claim a provincial sales tax (PST) and retail sales tax (RST) reseller exemption, you
|
|
211
|
+
* must confirm that purchases from this account were made for resale. Otherwise, remove the PST
|
|
212
|
+
* or RST number from the <code>provincialSalesTaxId</code> parameter from your request.</p>
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
isResellerAccount?: boolean;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* <p> Additional tax information associated with your TRN in Estonia.</p>
|
|
219
|
+
* @public
|
|
220
|
+
*/
|
|
221
|
+
export interface EstoniaAdditionalInfo {
|
|
222
|
+
/**
|
|
223
|
+
* <p> Registry commercial code (RCC) for your TRN in Estonia. This value is an eight-numeric
|
|
224
|
+
* string, such as <code>12345678</code>.</p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
registryCommercialCode: string | undefined;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @public
|
|
231
|
+
* @enum
|
|
232
|
+
*/
|
|
233
|
+
export declare const PersonType: {
|
|
234
|
+
readonly BUSINESS: "Business";
|
|
235
|
+
readonly LEGAL_PERSON: "Legal Person";
|
|
236
|
+
readonly PHYSICAL_PERSON: "Physical Person";
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export type PersonType = (typeof PersonType)[keyof typeof PersonType];
|
|
242
|
+
/**
|
|
243
|
+
* <p>
|
|
244
|
+
* Additional tax information associated with your TRN in Georgia.
|
|
245
|
+
* </p>
|
|
246
|
+
* @public
|
|
247
|
+
*/
|
|
248
|
+
export interface GeorgiaAdditionalInfo {
|
|
249
|
+
/**
|
|
250
|
+
* <p>
|
|
251
|
+
* The legal person or physical person assigned to this TRN in Georgia.
|
|
252
|
+
* </p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
personType: PersonType | undefined;
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* <p>
|
|
259
|
+
* Additional tax information in India.
|
|
260
|
+
* </p>
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
export interface IndiaAdditionalInfo {
|
|
264
|
+
/**
|
|
265
|
+
* <p>
|
|
266
|
+
* India pan information associated with the account.
|
|
267
|
+
* </p>
|
|
268
|
+
* @public
|
|
269
|
+
*/
|
|
270
|
+
pan?: string;
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* @public
|
|
274
|
+
* @enum
|
|
275
|
+
*/
|
|
276
|
+
export declare const IsraelCustomerType: {
|
|
277
|
+
readonly BUSINESS: "Business";
|
|
278
|
+
readonly INDIVIDUAL: "Individual";
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
export type IsraelCustomerType = (typeof IsraelCustomerType)[keyof typeof IsraelCustomerType];
|
|
284
|
+
/**
|
|
285
|
+
* @public
|
|
286
|
+
* @enum
|
|
287
|
+
*/
|
|
288
|
+
export declare const IsraelDealerType: {
|
|
289
|
+
readonly AUTHORIZED: "Authorized";
|
|
290
|
+
readonly NON_AUTHORIZED: "Non-authorized";
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
export type IsraelDealerType = (typeof IsraelDealerType)[keyof typeof IsraelDealerType];
|
|
296
|
+
/**
|
|
297
|
+
* <p> Additional tax information associated with your TRN in Israel.</p>
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
export interface IsraelAdditionalInfo {
|
|
301
|
+
/**
|
|
302
|
+
* <p> Dealer type for your TRN in Israel. If you're not a local authorized dealer with an
|
|
303
|
+
* Israeli VAT ID, specify your tax identification number so that Amazon Web Services can send you
|
|
304
|
+
* a compliant tax invoice.</p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
dealerType: IsraelDealerType | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* <p> Customer type for your TRN in Israel. The value can be <code>Business</code> or
|
|
310
|
+
* <code>Individual</code>. Use <code>Business</code>for entities such as not-for-profit and
|
|
311
|
+
* financial institutions.</p>
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
314
|
+
customerType: IsraelCustomerType | undefined;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* <p>
|
|
318
|
+
* Additional tax information associated with your TRN in Italy.
|
|
319
|
+
* </p>
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
export interface ItalyAdditionalInfo {
|
|
323
|
+
/**
|
|
324
|
+
* <p>
|
|
325
|
+
* Additional tax information to specify for a TRN in Italy. Use CodiceDestinatario to receive your invoices via web service (API) or FTP.
|
|
326
|
+
* </p>
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
sdiAccountId?: string;
|
|
330
|
+
/**
|
|
331
|
+
* <p>
|
|
332
|
+
* The tender procedure identification code.
|
|
333
|
+
* </p>
|
|
334
|
+
* @public
|
|
335
|
+
*/
|
|
336
|
+
cigNumber?: string;
|
|
337
|
+
/**
|
|
338
|
+
* <p>
|
|
339
|
+
* Additional tax information to specify for a TRN in Italy. This is managed by the Interministerial Committee for Economic Planning (CIPE) which characterizes every public investment project (Individual Project Code).
|
|
340
|
+
* </p>
|
|
341
|
+
* @public
|
|
342
|
+
*/
|
|
343
|
+
cupNumber?: string;
|
|
344
|
+
/**
|
|
345
|
+
* <p>List of service tax codes for your TRN in Italy. You can use your customer tax code as part of a VAT Group.
|
|
346
|
+
* </p>
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
taxCode?: string;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* <p>Additional tax information associated with your TRN in Kenya.</p>
|
|
353
|
+
* @public
|
|
354
|
+
*/
|
|
355
|
+
export interface KenyaAdditionalInfo {
|
|
356
|
+
/**
|
|
357
|
+
* <p>The legal person or physical person assigned to this TRN in Kenya.</p>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
personType: PersonType | undefined;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* @public
|
|
364
|
+
* @enum
|
|
365
|
+
*/
|
|
366
|
+
export declare const MalaysiaServiceTaxCode: {
|
|
367
|
+
readonly CONSULTANCY: "Consultancy";
|
|
368
|
+
readonly DIGITAL_SVC_ELECTRONIC_MEDIUM: "Digital Service And Electronic Medium";
|
|
369
|
+
readonly IT_SERVICES: "IT Services";
|
|
370
|
+
readonly TRAINING_OR_COACHING: "Training Or Coaching";
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* @public
|
|
374
|
+
*/
|
|
375
|
+
export type MalaysiaServiceTaxCode = (typeof MalaysiaServiceTaxCode)[keyof typeof MalaysiaServiceTaxCode];
|
|
376
|
+
/**
|
|
377
|
+
* <p> Additional tax information associated with your TRN in Malaysia.</p>
|
|
378
|
+
* @public
|
|
379
|
+
*/
|
|
380
|
+
export interface MalaysiaAdditionalInfo {
|
|
381
|
+
/**
|
|
382
|
+
* <p>List of service tax codes for your TRN in Malaysia.</p>
|
|
383
|
+
* @public
|
|
384
|
+
*/
|
|
385
|
+
serviceTaxCodes: MalaysiaServiceTaxCode[] | undefined;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* <p>
|
|
389
|
+
* Additional tax information associated with your TRN in Poland.
|
|
390
|
+
* </p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
export interface PolandAdditionalInfo {
|
|
394
|
+
/**
|
|
395
|
+
* <p>
|
|
396
|
+
* The individual tax registration number (NIP). Individual NIP is valid for other taxes excluding VAT purposes.
|
|
397
|
+
* </p>
|
|
398
|
+
* @public
|
|
399
|
+
*/
|
|
400
|
+
individualRegistrationNumber?: string;
|
|
401
|
+
/**
|
|
402
|
+
* <p>
|
|
403
|
+
* True if your business is a member of a VAT group with a NIP active for VAT purposes. Otherwise, this is false.
|
|
404
|
+
* </p>
|
|
405
|
+
* @public
|
|
406
|
+
*/
|
|
407
|
+
isGroupVatEnabled?: boolean;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* @public
|
|
411
|
+
* @enum
|
|
412
|
+
*/
|
|
413
|
+
export declare const TaxRegistrationNumberType: {
|
|
414
|
+
readonly LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber";
|
|
415
|
+
readonly TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber";
|
|
416
|
+
};
|
|
417
|
+
/**
|
|
418
|
+
* @public
|
|
419
|
+
*/
|
|
420
|
+
export type TaxRegistrationNumberType = (typeof TaxRegistrationNumberType)[keyof typeof TaxRegistrationNumberType];
|
|
421
|
+
/**
|
|
422
|
+
* <p>Additional tax information to specify for a TRN in Romania.
|
|
423
|
+
* </p>
|
|
424
|
+
* @public
|
|
425
|
+
*/
|
|
426
|
+
export interface RomaniaAdditionalInfo {
|
|
427
|
+
/**
|
|
428
|
+
* <p>
|
|
429
|
+
* The tax registration number type. The value can be <code>TaxRegistrationNumber</code> or <code>LocalRegistrationNumber</code>.
|
|
430
|
+
* </p>
|
|
431
|
+
* @public
|
|
432
|
+
*/
|
|
433
|
+
taxRegistrationNumberType: TaxRegistrationNumberType | undefined;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* @public
|
|
437
|
+
* @enum
|
|
438
|
+
*/
|
|
439
|
+
export declare const SaudiArabiaTaxRegistrationNumberType: {
|
|
440
|
+
readonly COMMERCIAL_REGISTRATION_NUMBER: "CommercialRegistrationNumber";
|
|
441
|
+
readonly TAX_IDENTIFICATION_NUMBER: "TaxIdentificationNumber";
|
|
442
|
+
readonly TAX_REGISTRATION_NUMBER: "TaxRegistrationNumber";
|
|
443
|
+
};
|
|
444
|
+
/**
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
export type SaudiArabiaTaxRegistrationNumberType = (typeof SaudiArabiaTaxRegistrationNumberType)[keyof typeof SaudiArabiaTaxRegistrationNumberType];
|
|
448
|
+
/**
|
|
449
|
+
* <p>
|
|
450
|
+
* Additional tax information associated with your TRN in Saudi Arabia.
|
|
451
|
+
* </p>
|
|
452
|
+
* @public
|
|
453
|
+
*/
|
|
454
|
+
export interface SaudiArabiaAdditionalInfo {
|
|
455
|
+
/**
|
|
456
|
+
* <p>
|
|
457
|
+
* The tax registration number type.
|
|
458
|
+
* </p>
|
|
459
|
+
* @public
|
|
460
|
+
*/
|
|
461
|
+
taxRegistrationNumberType?: SaudiArabiaTaxRegistrationNumberType;
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* <p>Additional tax information associated with your TRN in South Korea.</p>
|
|
465
|
+
* @public
|
|
466
|
+
*/
|
|
467
|
+
export interface SouthKoreaAdditionalInfo {
|
|
468
|
+
/**
|
|
469
|
+
* <p>The business legal name based on the most recently uploaded tax registration certificate.</p>
|
|
470
|
+
* @public
|
|
471
|
+
*/
|
|
472
|
+
businessRepresentativeName: string | undefined;
|
|
473
|
+
/**
|
|
474
|
+
* <p>Line of business based on the most recently uploaded tax registration certificate.</p>
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
lineOfBusiness: string | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* <p>Item of business based on the most recently uploaded tax registration certificate.</p>
|
|
480
|
+
* @public
|
|
481
|
+
*/
|
|
482
|
+
itemOfBusiness: string | undefined;
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* @public
|
|
486
|
+
* @enum
|
|
487
|
+
*/
|
|
488
|
+
export declare const RegistrationType: {
|
|
489
|
+
readonly INTRA_EU: "Intra-EU";
|
|
490
|
+
readonly LOCAL: "Local";
|
|
491
|
+
};
|
|
492
|
+
/**
|
|
493
|
+
* @public
|
|
494
|
+
*/
|
|
495
|
+
export type RegistrationType = (typeof RegistrationType)[keyof typeof RegistrationType];
|
|
496
|
+
/**
|
|
497
|
+
* <p>Additional tax information associated with your TRN in Spain.</p>
|
|
498
|
+
* @public
|
|
499
|
+
*/
|
|
500
|
+
export interface SpainAdditionalInfo {
|
|
501
|
+
/**
|
|
502
|
+
* <p>The registration type in Spain.</p>
|
|
503
|
+
* @public
|
|
504
|
+
*/
|
|
505
|
+
registrationType: RegistrationType | undefined;
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* @public
|
|
509
|
+
* @enum
|
|
510
|
+
*/
|
|
511
|
+
export declare const Industries: {
|
|
512
|
+
readonly BANKS: "Banks";
|
|
513
|
+
readonly CIRCULATING_ORG: "CirculatingOrg";
|
|
514
|
+
readonly DEVELOPMENT_AGENCIES: "DevelopmentAgencies";
|
|
515
|
+
readonly INSURANCE: "Insurance";
|
|
516
|
+
readonly PENSION_AND_BENEFIT_FUNDS: "PensionAndBenefitFunds";
|
|
517
|
+
readonly PROFESSIONAL_ORG: "ProfessionalOrg";
|
|
518
|
+
};
|
|
519
|
+
/**
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
522
|
+
export type Industries = (typeof Industries)[keyof typeof Industries];
|
|
523
|
+
/**
|
|
524
|
+
* <p>Additional tax information associated with your TRN in Turkey.</p>
|
|
525
|
+
* @public
|
|
526
|
+
*/
|
|
527
|
+
export interface TurkeyAdditionalInfo {
|
|
528
|
+
/**
|
|
529
|
+
* <p>The tax office where you're registered. You can enter this information as a string. The Tax Settings API will add this information to your invoice. This parameter is required for business-to-business (B2B) and business-to-government customers. It's not required for business-to-consumer (B2C) customers.</p>
|
|
530
|
+
* @public
|
|
531
|
+
*/
|
|
532
|
+
taxOffice?: string;
|
|
533
|
+
/**
|
|
534
|
+
* <p>The Registered Electronic Mail (REM) that is used to send notarized communication. This parameter is optional for business-to-business (B2B) and business-to-government (B2G) customers. It's not required for business-to-consumer (B2C) customers.</p>
|
|
535
|
+
* @public
|
|
536
|
+
*/
|
|
537
|
+
kepEmailId?: string;
|
|
538
|
+
/**
|
|
539
|
+
* <p>
|
|
540
|
+
* Secondary tax ID (“harcama birimi VKN”si”). If one isn't provided, we will use your VKN as the secondary ID.
|
|
541
|
+
* </p>
|
|
542
|
+
* @public
|
|
543
|
+
*/
|
|
544
|
+
secondaryTaxId?: string;
|
|
545
|
+
/**
|
|
546
|
+
* <p>The industry information that tells the Tax Settings API if you're subject to additional
|
|
547
|
+
* withholding taxes. This information required for business-to-business (B2B) customers. This
|
|
548
|
+
* information is conditionally mandatory for B2B customers who are subject to KDV tax.</p>
|
|
549
|
+
* @public
|
|
550
|
+
*/
|
|
551
|
+
industries?: Industries;
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* @public
|
|
555
|
+
* @enum
|
|
556
|
+
*/
|
|
557
|
+
export declare const UkraineTrnType: {
|
|
558
|
+
readonly BUSINESS: "Business";
|
|
559
|
+
readonly INDIVIDUAL: "Individual";
|
|
560
|
+
};
|
|
561
|
+
/**
|
|
562
|
+
* @public
|
|
563
|
+
*/
|
|
564
|
+
export type UkraineTrnType = (typeof UkraineTrnType)[keyof typeof UkraineTrnType];
|
|
565
|
+
/**
|
|
566
|
+
* <p>
|
|
567
|
+
* Additional tax information associated with your TRN in Ukraine.
|
|
568
|
+
* </p>
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
export interface UkraineAdditionalInfo {
|
|
572
|
+
/**
|
|
573
|
+
* <p>
|
|
574
|
+
* The tax registration type.
|
|
575
|
+
* </p>
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
578
|
+
ukraineTrnType: UkraineTrnType | undefined;
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
581
|
+
* <p> Additional tax information associated with your TRN. The Tax Settings API returns
|
|
582
|
+
* country-specific information in the response when any additional information is present with
|
|
583
|
+
* your TRN for the following countries.</p>
|
|
584
|
+
* @public
|
|
585
|
+
*/
|
|
586
|
+
export interface AdditionalInfoResponse {
|
|
587
|
+
/**
|
|
588
|
+
* <p> Additional tax information associated with your TRN in Malaysia. </p>
|
|
589
|
+
* @public
|
|
590
|
+
*/
|
|
591
|
+
malaysiaAdditionalInfo?: MalaysiaAdditionalInfo;
|
|
592
|
+
/**
|
|
593
|
+
* <p> Additional tax information associated with your TRN in Israel.</p>
|
|
594
|
+
* @public
|
|
595
|
+
*/
|
|
596
|
+
israelAdditionalInfo?: IsraelAdditionalInfo;
|
|
597
|
+
/**
|
|
598
|
+
* <p> Additional tax information associated with your TRN in Estonia. </p>
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
estoniaAdditionalInfo?: EstoniaAdditionalInfo;
|
|
602
|
+
/**
|
|
603
|
+
* <p>Additional tax information associated with your TRN in Canada. </p>
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
canadaAdditionalInfo?: CanadaAdditionalInfo;
|
|
607
|
+
/**
|
|
608
|
+
* <p>Additional tax information associated with your TRN in Brazil. The Tax Settings API
|
|
609
|
+
* returns this information in your response when any additional information is present with your
|
|
610
|
+
* TRN in Brazil.</p>
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
brazilAdditionalInfo?: BrazilAdditionalInfo;
|
|
614
|
+
/**
|
|
615
|
+
* <p>Additional tax information associated with your TRN in Spain.</p>
|
|
616
|
+
* @public
|
|
617
|
+
*/
|
|
618
|
+
spainAdditionalInfo?: SpainAdditionalInfo;
|
|
619
|
+
/**
|
|
620
|
+
* <p>Additional tax information associated with your TRN in Kenya.</p>
|
|
621
|
+
* @public
|
|
622
|
+
*/
|
|
623
|
+
kenyaAdditionalInfo?: KenyaAdditionalInfo;
|
|
624
|
+
/**
|
|
625
|
+
* <p>Additional tax information associated with your TRN in South Korea.</p>
|
|
626
|
+
* @public
|
|
627
|
+
*/
|
|
628
|
+
southKoreaAdditionalInfo?: SouthKoreaAdditionalInfo;
|
|
629
|
+
/**
|
|
630
|
+
* <p>Additional tax information associated with your TRN in Turkey.</p>
|
|
631
|
+
* @public
|
|
632
|
+
*/
|
|
633
|
+
turkeyAdditionalInfo?: TurkeyAdditionalInfo;
|
|
634
|
+
/**
|
|
635
|
+
* <p>
|
|
636
|
+
* Additional tax information associated with your TRN in Georgia.
|
|
637
|
+
* </p>
|
|
638
|
+
* @public
|
|
639
|
+
*/
|
|
640
|
+
georgiaAdditionalInfo?: GeorgiaAdditionalInfo;
|
|
641
|
+
/**
|
|
642
|
+
* <p>
|
|
643
|
+
* Additional tax information associated with your TRN in Italy.
|
|
644
|
+
* </p>
|
|
645
|
+
* @public
|
|
646
|
+
*/
|
|
647
|
+
italyAdditionalInfo?: ItalyAdditionalInfo;
|
|
648
|
+
/**
|
|
649
|
+
* <p>Additional tax information to specify for a TRN in Romania.</p>
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
romaniaAdditionalInfo?: RomaniaAdditionalInfo;
|
|
653
|
+
/**
|
|
654
|
+
* <p>
|
|
655
|
+
* Additional tax information associated with your TRN in Ukraine.
|
|
656
|
+
* </p>
|
|
657
|
+
* @public
|
|
658
|
+
*/
|
|
659
|
+
ukraineAdditionalInfo?: UkraineAdditionalInfo;
|
|
660
|
+
/**
|
|
661
|
+
* <p>
|
|
662
|
+
* Additional tax information associated with your TRN in Poland.
|
|
663
|
+
* </p>
|
|
664
|
+
* @public
|
|
665
|
+
*/
|
|
666
|
+
polandAdditionalInfo?: PolandAdditionalInfo;
|
|
667
|
+
/**
|
|
668
|
+
* <p>
|
|
669
|
+
* Additional tax information associated with your TRN in Saudi Arabia.
|
|
670
|
+
* </p>
|
|
671
|
+
* @public
|
|
672
|
+
*/
|
|
673
|
+
saudiArabiaAdditionalInfo?: SaudiArabiaAdditionalInfo;
|
|
674
|
+
/**
|
|
675
|
+
* <p>
|
|
676
|
+
* Additional tax information in India.
|
|
677
|
+
* </p>
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
indiaAdditionalInfo?: IndiaAdditionalInfo;
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* @public
|
|
684
|
+
* @enum
|
|
685
|
+
*/
|
|
686
|
+
export declare const TaxRegistrationType: {
|
|
687
|
+
readonly CNPJ: "CNPJ";
|
|
688
|
+
readonly CPF: "CPF";
|
|
689
|
+
readonly GST: "GST";
|
|
690
|
+
readonly SST: "SST";
|
|
691
|
+
readonly VAT: "VAT";
|
|
692
|
+
};
|
|
693
|
+
/**
|
|
694
|
+
* @public
|
|
695
|
+
*/
|
|
696
|
+
export type TaxRegistrationType = (typeof TaxRegistrationType)[keyof typeof TaxRegistrationType];
|
|
697
|
+
/**
|
|
698
|
+
* @public
|
|
699
|
+
* @enum
|
|
700
|
+
*/
|
|
701
|
+
export declare const Sector: {
|
|
702
|
+
readonly BUSINESS: "Business";
|
|
703
|
+
readonly INDIVIDUAL: "Individual";
|
|
704
|
+
readonly PUBLIC_INSTITUTIONS: "Government";
|
|
705
|
+
};
|
|
706
|
+
/**
|
|
707
|
+
* @public
|
|
708
|
+
*/
|
|
709
|
+
export type Sector = (typeof Sector)[keyof typeof Sector];
|
|
710
|
+
/**
|
|
711
|
+
* @public
|
|
712
|
+
* @enum
|
|
713
|
+
*/
|
|
714
|
+
export declare const TaxRegistrationStatus: {
|
|
715
|
+
readonly DELETED: "Deleted";
|
|
716
|
+
readonly PENDING: "Pending";
|
|
717
|
+
readonly REJECTED: "Rejected";
|
|
718
|
+
readonly VERIFIED: "Verified";
|
|
719
|
+
};
|
|
720
|
+
/**
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
723
|
+
export type TaxRegistrationStatus = (typeof TaxRegistrationStatus)[keyof typeof TaxRegistrationStatus];
|
|
724
|
+
/**
|
|
725
|
+
* <p>The metadata for your tax document.</p>
|
|
726
|
+
* @public
|
|
727
|
+
*/
|
|
728
|
+
export interface TaxDocumentMetadata {
|
|
729
|
+
/**
|
|
730
|
+
* <p>The tax document access token, which contains information that the Tax Settings API uses to locate the tax document.</p>
|
|
731
|
+
* <note>
|
|
732
|
+
* <p>If you update your tax registration, the existing <code>taxDocumentAccessToken</code> won't be valid. To get the latest token, call the <code>GetTaxRegistration</code> or <code>ListTaxRegistrations</code> API operation. This token is valid for 24 hours.</p>
|
|
733
|
+
* </note>
|
|
734
|
+
* @public
|
|
735
|
+
*/
|
|
736
|
+
taxDocumentAccessToken: string | undefined;
|
|
737
|
+
/**
|
|
738
|
+
* <p>The name of your tax document.</p>
|
|
739
|
+
* @public
|
|
740
|
+
*/
|
|
741
|
+
taxDocumentName: string | undefined;
|
|
742
|
+
}
|
|
743
|
+
/**
|
|
744
|
+
* <p>Your TRN information with jurisdiction details. This doesn't contain the full legal
|
|
745
|
+
* address associated with the TRN information.</p>
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
export interface TaxRegistrationWithJurisdiction {
|
|
749
|
+
/**
|
|
750
|
+
* <p>Your tax registration unique identifier. </p>
|
|
751
|
+
* @public
|
|
752
|
+
*/
|
|
753
|
+
registrationId: string | undefined;
|
|
754
|
+
/**
|
|
755
|
+
* <p> The type of your tax registration. This can be either <code>VAT</code> or
|
|
756
|
+
* <code>GST</code>. </p>
|
|
757
|
+
* @public
|
|
758
|
+
*/
|
|
759
|
+
registrationType: TaxRegistrationType | undefined;
|
|
760
|
+
/**
|
|
761
|
+
* <p>The legal name associated with your TRN information. </p>
|
|
762
|
+
* @public
|
|
763
|
+
*/
|
|
764
|
+
legalName: string | undefined;
|
|
765
|
+
/**
|
|
766
|
+
* <p>The status of your TRN. This can be either <code>Verified</code>, <code>Pending</code>,
|
|
767
|
+
* <code>Deleted</code>, or <code>Rejected</code>. </p>
|
|
768
|
+
* @public
|
|
769
|
+
*/
|
|
770
|
+
status: TaxRegistrationStatus | undefined;
|
|
771
|
+
/**
|
|
772
|
+
* <p>The industry that describes your business. For business-to-business (B2B) customers, specify Business. For business-to-consumer (B2C) customers, specify Individual. For business-to-government (B2G), specify Government.Note that certain values may not applicable for the request country. Please refer to country specific information in API document.
|
|
773
|
+
* </p>
|
|
774
|
+
* @public
|
|
775
|
+
*/
|
|
776
|
+
sector?: Sector;
|
|
777
|
+
/**
|
|
778
|
+
* <p>The metadata for your tax document.</p>
|
|
779
|
+
* @public
|
|
780
|
+
*/
|
|
781
|
+
taxDocumentMetadatas?: TaxDocumentMetadata[];
|
|
782
|
+
/**
|
|
783
|
+
* <p>The email address to receive VAT invoices.</p>
|
|
784
|
+
* @public
|
|
785
|
+
*/
|
|
786
|
+
certifiedEmailId?: string;
|
|
787
|
+
/**
|
|
788
|
+
* <p>Additional tax information associated with your TRN. </p>
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
791
|
+
additionalTaxInformation?: AdditionalInfoResponse;
|
|
792
|
+
/**
|
|
793
|
+
* <p> The jurisdiction associated with your TRN information. </p>
|
|
794
|
+
* @public
|
|
795
|
+
*/
|
|
796
|
+
jurisdiction: Jurisdiction | undefined;
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* <p> An object with your <code>accountId</code> and TRN information. </p>
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
802
|
+
export interface AccountDetails {
|
|
803
|
+
/**
|
|
804
|
+
* <p>List of unique account identifiers. </p>
|
|
805
|
+
* @public
|
|
806
|
+
*/
|
|
807
|
+
accountId?: string;
|
|
808
|
+
/**
|
|
809
|
+
* <p>Your TRN information. Instead of having full legal address, here TRN information will have
|
|
810
|
+
* jurisdiction details (for example, country code and state/region/province if applicable). </p>
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
813
|
+
taxRegistration?: TaxRegistrationWithJurisdiction;
|
|
814
|
+
/**
|
|
815
|
+
* <p>
|
|
816
|
+
* Tax inheritance information associated with the account.
|
|
817
|
+
* </p>
|
|
818
|
+
* @public
|
|
819
|
+
*/
|
|
820
|
+
taxInheritanceDetails?: TaxInheritanceDetails;
|
|
821
|
+
/**
|
|
822
|
+
* <p>
|
|
823
|
+
* The meta data information associated with the account.
|
|
824
|
+
* </p>
|
|
825
|
+
* @public
|
|
826
|
+
*/
|
|
827
|
+
accountMetaData?: AccountMetaData;
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* <p>Additional tax information associated with your tax registration number (TRN). Depending
|
|
831
|
+
* on the TRN for a specific country, you might need to specify this information when you set
|
|
832
|
+
* your TRN. </p>
|
|
833
|
+
* <p>You can only specify one of the following parameters and the value can't be empty. </p>
|
|
834
|
+
* <note>
|
|
835
|
+
* <p>The parameter that you specify must match the country for the TRN, if available. For
|
|
836
|
+
* example, if you set a TRN in Canada for specific provinces, you must also specify the
|
|
837
|
+
* <code>canadaAdditionalInfo</code> parameter.</p>
|
|
838
|
+
* </note>
|
|
839
|
+
* @public
|
|
840
|
+
*/
|
|
841
|
+
export interface AdditionalInfoRequest {
|
|
842
|
+
/**
|
|
843
|
+
* <p> Additional tax information to specify for a TRN in Malaysia.</p>
|
|
844
|
+
* @public
|
|
845
|
+
*/
|
|
846
|
+
malaysiaAdditionalInfo?: MalaysiaAdditionalInfo;
|
|
847
|
+
/**
|
|
848
|
+
* <p> Additional tax information to specify for a TRN in Israel.</p>
|
|
849
|
+
* @public
|
|
850
|
+
*/
|
|
851
|
+
israelAdditionalInfo?: IsraelAdditionalInfo;
|
|
852
|
+
/**
|
|
853
|
+
* <p> Additional tax information to specify for a TRN in Estonia.</p>
|
|
854
|
+
* @public
|
|
855
|
+
*/
|
|
856
|
+
estoniaAdditionalInfo?: EstoniaAdditionalInfo;
|
|
857
|
+
/**
|
|
858
|
+
* <p> Additional tax information associated with your TRN in Canada.</p>
|
|
859
|
+
* @public
|
|
860
|
+
*/
|
|
861
|
+
canadaAdditionalInfo?: CanadaAdditionalInfo;
|
|
862
|
+
/**
|
|
863
|
+
* <p>Additional tax information to specify for a TRN in Spain.</p>
|
|
864
|
+
* @public
|
|
865
|
+
*/
|
|
866
|
+
spainAdditionalInfo?: SpainAdditionalInfo;
|
|
867
|
+
/**
|
|
868
|
+
* <p>Additional tax information to specify for a TRN in Kenya.</p>
|
|
869
|
+
* @public
|
|
870
|
+
*/
|
|
871
|
+
kenyaAdditionalInfo?: KenyaAdditionalInfo;
|
|
872
|
+
/**
|
|
873
|
+
* <p>Additional tax information to specify for a TRN in South Korea.</p>
|
|
874
|
+
* @public
|
|
875
|
+
*/
|
|
876
|
+
southKoreaAdditionalInfo?: SouthKoreaAdditionalInfo;
|
|
877
|
+
/**
|
|
878
|
+
* <p>Additional tax information to specify for a TRN in Turkey.</p>
|
|
879
|
+
* @public
|
|
880
|
+
*/
|
|
881
|
+
turkeyAdditionalInfo?: TurkeyAdditionalInfo;
|
|
882
|
+
/**
|
|
883
|
+
* <p>
|
|
884
|
+
* Additional tax information to specify for a TRN in Georgia.
|
|
885
|
+
* </p>
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
georgiaAdditionalInfo?: GeorgiaAdditionalInfo;
|
|
889
|
+
/**
|
|
890
|
+
* <p>
|
|
891
|
+
* Additional tax information to specify for a TRN in Italy.
|
|
892
|
+
* </p>
|
|
893
|
+
* @public
|
|
894
|
+
*/
|
|
895
|
+
italyAdditionalInfo?: ItalyAdditionalInfo;
|
|
896
|
+
/**
|
|
897
|
+
* <p>Additional tax information to specify for a TRN in Romania.</p>
|
|
898
|
+
* @public
|
|
899
|
+
*/
|
|
900
|
+
romaniaAdditionalInfo?: RomaniaAdditionalInfo;
|
|
901
|
+
/**
|
|
902
|
+
* <p>
|
|
903
|
+
* Additional tax information associated with your TRN in Ukraine.
|
|
904
|
+
* </p>
|
|
905
|
+
* @public
|
|
906
|
+
*/
|
|
907
|
+
ukraineAdditionalInfo?: UkraineAdditionalInfo;
|
|
908
|
+
/**
|
|
909
|
+
* <p>
|
|
910
|
+
* Additional tax information associated with your TRN in Poland.
|
|
911
|
+
* </p>
|
|
912
|
+
* @public
|
|
913
|
+
*/
|
|
914
|
+
polandAdditionalInfo?: PolandAdditionalInfo;
|
|
915
|
+
/**
|
|
916
|
+
* <p>
|
|
917
|
+
* Additional tax information associated with your TRN in Saudi Arabia.
|
|
918
|
+
* </p>
|
|
919
|
+
* @public
|
|
920
|
+
*/
|
|
921
|
+
saudiArabiaAdditionalInfo?: SaudiArabiaAdditionalInfo;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
export interface BatchDeleteTaxRegistrationRequest {
|
|
927
|
+
/**
|
|
928
|
+
* <p>List of unique account identifiers. </p>
|
|
929
|
+
* @public
|
|
930
|
+
*/
|
|
931
|
+
accountIds: string[] | undefined;
|
|
932
|
+
}
|
|
933
|
+
/**
|
|
934
|
+
* <p> The error object for representing failures in the <code>BatchDeleteTaxRegistration</code>
|
|
935
|
+
* operation. </p>
|
|
936
|
+
* @public
|
|
937
|
+
*/
|
|
938
|
+
export interface BatchDeleteTaxRegistrationError {
|
|
939
|
+
/**
|
|
940
|
+
* <p> The unique account identifier for the account whose tax registration couldn't be deleted
|
|
941
|
+
* during the <code>BatchDeleteTaxRegistration</code> operation. </p>
|
|
942
|
+
* @public
|
|
943
|
+
*/
|
|
944
|
+
accountId: string | undefined;
|
|
945
|
+
/**
|
|
946
|
+
* <p> The error message for an individual failure in the
|
|
947
|
+
* <code>BatchDeleteTaxRegistration</code> operation. </p>
|
|
948
|
+
* @public
|
|
949
|
+
*/
|
|
950
|
+
message: string | undefined;
|
|
951
|
+
/**
|
|
952
|
+
* <p> The error code for an individual failure in BatchDeleteTaxRegistration operation. </p>
|
|
953
|
+
* @public
|
|
954
|
+
*/
|
|
955
|
+
code?: string;
|
|
956
|
+
}
|
|
957
|
+
/**
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
960
|
+
export interface BatchDeleteTaxRegistrationResponse {
|
|
961
|
+
/**
|
|
962
|
+
* <p>The list of errors for the accounts the TRN information could not be deleted for. </p>
|
|
963
|
+
* @public
|
|
964
|
+
*/
|
|
965
|
+
errors: BatchDeleteTaxRegistrationError[] | undefined;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
* <p>The exception when the input is creating conflict with the given state.</p>
|
|
969
|
+
* @public
|
|
970
|
+
*/
|
|
971
|
+
export declare class ConflictException extends __BaseException {
|
|
972
|
+
readonly name: "ConflictException";
|
|
973
|
+
readonly $fault: "client";
|
|
974
|
+
/**
|
|
975
|
+
* <p>409</p>
|
|
976
|
+
* @public
|
|
977
|
+
*/
|
|
978
|
+
errorCode: string | undefined;
|
|
979
|
+
/**
|
|
980
|
+
* @internal
|
|
981
|
+
*/
|
|
982
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* <p>The exception thrown when an unexpected error occurs when processing a request.</p>
|
|
986
|
+
* @public
|
|
987
|
+
*/
|
|
988
|
+
export declare class InternalServerException extends __BaseException {
|
|
989
|
+
readonly name: "InternalServerException";
|
|
990
|
+
readonly $fault: "server";
|
|
991
|
+
/**
|
|
992
|
+
* <p>500</p>
|
|
993
|
+
* @public
|
|
994
|
+
*/
|
|
995
|
+
errorCode: string | undefined;
|
|
996
|
+
/**
|
|
997
|
+
* @internal
|
|
998
|
+
*/
|
|
999
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* @public
|
|
1003
|
+
* @enum
|
|
1004
|
+
*/
|
|
1005
|
+
export declare const ValidationExceptionErrorCode: {
|
|
1006
|
+
readonly EXPIRED_TOKEN: "ExpiredToken";
|
|
1007
|
+
readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
|
|
1008
|
+
readonly INVALID_TOKEN: "InvalidToken";
|
|
1009
|
+
readonly MALFORMED_TOKEN: "MalformedToken";
|
|
1010
|
+
readonly MISSING_INPUT: "MissingInput";
|
|
1011
|
+
};
|
|
1012
|
+
/**
|
|
1013
|
+
* @public
|
|
1014
|
+
*/
|
|
1015
|
+
export type ValidationExceptionErrorCode = (typeof ValidationExceptionErrorCode)[keyof typeof ValidationExceptionErrorCode];
|
|
1016
|
+
/**
|
|
1017
|
+
* <p>The information about the specified parameter in the request that caused an error.</p>
|
|
1018
|
+
* @public
|
|
1019
|
+
*/
|
|
1020
|
+
export interface ValidationExceptionField {
|
|
1021
|
+
/**
|
|
1022
|
+
* <p>The name of the parameter that caused a <code>ValidationException</code> error.</p>
|
|
1023
|
+
* @public
|
|
1024
|
+
*/
|
|
1025
|
+
name: string | undefined;
|
|
1026
|
+
}
|
|
1027
|
+
/**
|
|
1028
|
+
* <p>The exception when the input doesn't pass validation for at least one of the input
|
|
1029
|
+
* parameters. </p>
|
|
1030
|
+
* @public
|
|
1031
|
+
*/
|
|
1032
|
+
export declare class ValidationException extends __BaseException {
|
|
1033
|
+
readonly name: "ValidationException";
|
|
1034
|
+
readonly $fault: "client";
|
|
1035
|
+
/**
|
|
1036
|
+
* <p>400</p>
|
|
1037
|
+
* @public
|
|
1038
|
+
*/
|
|
1039
|
+
errorCode: ValidationExceptionErrorCode | undefined;
|
|
1040
|
+
/**
|
|
1041
|
+
* <p>400</p>
|
|
1042
|
+
* @public
|
|
1043
|
+
*/
|
|
1044
|
+
fieldList?: ValidationExceptionField[];
|
|
1045
|
+
/**
|
|
1046
|
+
* @internal
|
|
1047
|
+
*/
|
|
1048
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1049
|
+
}
|
|
1050
|
+
/**
|
|
1051
|
+
* <p>The Amazon S3 bucket in your account where your tax document is located.</p>
|
|
1052
|
+
* @public
|
|
1053
|
+
*/
|
|
1054
|
+
export interface SourceS3Location {
|
|
1055
|
+
/**
|
|
1056
|
+
* <p>The name of your Amazon S3 bucket that your tax document is located.</p>
|
|
1057
|
+
* @public
|
|
1058
|
+
*/
|
|
1059
|
+
bucket: string | undefined;
|
|
1060
|
+
/**
|
|
1061
|
+
* <p>The object key of your tax document object in Amazon S3.</p>
|
|
1062
|
+
* @public
|
|
1063
|
+
*/
|
|
1064
|
+
key: string | undefined;
|
|
1065
|
+
}
|
|
1066
|
+
/**
|
|
1067
|
+
* <p>Tax registration document information.</p>
|
|
1068
|
+
* @public
|
|
1069
|
+
*/
|
|
1070
|
+
export interface TaxRegistrationDocument {
|
|
1071
|
+
/**
|
|
1072
|
+
* <p>The Amazon S3 location where your tax registration document is stored.</p>
|
|
1073
|
+
* @public
|
|
1074
|
+
*/
|
|
1075
|
+
s3Location: SourceS3Location | undefined;
|
|
1076
|
+
}
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>Required information to verify your TRN.</p>
|
|
1079
|
+
* @public
|
|
1080
|
+
*/
|
|
1081
|
+
export interface VerificationDetails {
|
|
1082
|
+
/**
|
|
1083
|
+
* <p>Date of birth to verify your submitted TRN. Use the <code>YYYY-MM-DD</code> format.</p>
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
dateOfBirth?: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* <p>The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.</p>
|
|
1089
|
+
* @public
|
|
1090
|
+
*/
|
|
1091
|
+
taxRegistrationDocuments?: TaxRegistrationDocument[];
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* <p>The TRN information you provide when you add a new TRN, or update. </p>
|
|
1095
|
+
* @public
|
|
1096
|
+
*/
|
|
1097
|
+
export interface TaxRegistrationEntry {
|
|
1098
|
+
/**
|
|
1099
|
+
* <p>Your tax registration unique identifier. </p>
|
|
1100
|
+
* @public
|
|
1101
|
+
*/
|
|
1102
|
+
registrationId: string | undefined;
|
|
1103
|
+
/**
|
|
1104
|
+
* <p> Your tax registration type. This can be either <code>VAT</code> or <code>GST</code>.
|
|
1105
|
+
* </p>
|
|
1106
|
+
* @public
|
|
1107
|
+
*/
|
|
1108
|
+
registrationType: TaxRegistrationType | undefined;
|
|
1109
|
+
/**
|
|
1110
|
+
* <p>The legal name associated with your TRN. </p>
|
|
1111
|
+
* <note>
|
|
1112
|
+
* <p>If you're setting a TRN in Brazil, you don't need to specify the legal name. For TRNs in
|
|
1113
|
+
* other countries, you must specify the legal name.</p>
|
|
1114
|
+
* </note>
|
|
1115
|
+
* @public
|
|
1116
|
+
*/
|
|
1117
|
+
legalName?: string;
|
|
1118
|
+
/**
|
|
1119
|
+
* <p>The legal address associated with your TRN.</p>
|
|
1120
|
+
* <note>
|
|
1121
|
+
* <p>If you're setting a TRN in Brazil for the CNPJ tax type, you don't need to specify the
|
|
1122
|
+
* legal address. </p>
|
|
1123
|
+
* <p>For TRNs in other countries and for CPF tax types Brazil, you must specify the legal
|
|
1124
|
+
* address.</p>
|
|
1125
|
+
* </note>
|
|
1126
|
+
* @public
|
|
1127
|
+
*/
|
|
1128
|
+
legalAddress?: Address;
|
|
1129
|
+
/**
|
|
1130
|
+
* <p>The industry that describes your business. For business-to-business (B2B) customers, specify Business. For business-to-consumer (B2C) customers, specify Individual. For business-to-government (B2G), specify Government.Note that certain values may not applicable for the request country. Please refer to country specific information in API document.
|
|
1131
|
+
* </p>
|
|
1132
|
+
* @public
|
|
1133
|
+
*/
|
|
1134
|
+
sector?: Sector;
|
|
1135
|
+
/**
|
|
1136
|
+
* <p> Additional tax information associated with your TRN. You only need to specify this
|
|
1137
|
+
* parameter if Amazon Web Services collects any additional information for your country within
|
|
1138
|
+
* <a>AdditionalInfoRequest</a>.</p>
|
|
1139
|
+
* @public
|
|
1140
|
+
*/
|
|
1141
|
+
additionalTaxInformation?: AdditionalInfoRequest;
|
|
1142
|
+
/**
|
|
1143
|
+
* <p>Additional details needed to verify your TRN information in Brazil. You only need to specify this
|
|
1144
|
+
* parameter when you set a TRN in Brazil that is the CPF tax type.</p>
|
|
1145
|
+
* <note>
|
|
1146
|
+
* <p>Don't specify this parameter to set a TRN in Brazil of the CNPJ tax type or to set a TRN
|
|
1147
|
+
* for another country. </p>
|
|
1148
|
+
* </note>
|
|
1149
|
+
* @public
|
|
1150
|
+
*/
|
|
1151
|
+
verificationDetails?: VerificationDetails;
|
|
1152
|
+
/**
|
|
1153
|
+
* <p>The email address to receive VAT invoices.</p>
|
|
1154
|
+
* @public
|
|
1155
|
+
*/
|
|
1156
|
+
certifiedEmailId?: string;
|
|
1157
|
+
}
|
|
1158
|
+
/**
|
|
1159
|
+
* @public
|
|
1160
|
+
*/
|
|
1161
|
+
export interface BatchPutTaxRegistrationRequest {
|
|
1162
|
+
/**
|
|
1163
|
+
* <p> List of unique account identifiers.</p>
|
|
1164
|
+
* @public
|
|
1165
|
+
*/
|
|
1166
|
+
accountIds: string[] | undefined;
|
|
1167
|
+
/**
|
|
1168
|
+
* <p>Your TRN information that will be stored to the accounts mentioned in
|
|
1169
|
+
* <code>putEntries</code>. </p>
|
|
1170
|
+
* @public
|
|
1171
|
+
*/
|
|
1172
|
+
taxRegistrationEntry: TaxRegistrationEntry | undefined;
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* <p> The error object for representing failures in the <code>BatchPutTaxRegistration</code>
|
|
1176
|
+
* operation. </p>
|
|
1177
|
+
* @public
|
|
1178
|
+
*/
|
|
1179
|
+
export interface BatchPutTaxRegistrationError {
|
|
1180
|
+
/**
|
|
1181
|
+
* <p> The unique account identifier for the account that the tax registration couldn't be
|
|
1182
|
+
* added, or updated during the <code>BatchPutTaxRegistration</code> operation. </p>
|
|
1183
|
+
* @public
|
|
1184
|
+
*/
|
|
1185
|
+
accountId: string | undefined;
|
|
1186
|
+
/**
|
|
1187
|
+
* <p> The error message for an individual failure in the <code>BatchPutTaxRegistration</code>
|
|
1188
|
+
* operation. </p>
|
|
1189
|
+
* @public
|
|
1190
|
+
*/
|
|
1191
|
+
message: string | undefined;
|
|
1192
|
+
/**
|
|
1193
|
+
* <p> The error code for an individual failure in the <code>BatchPutTaxRegistration</code>
|
|
1194
|
+
* operation. </p>
|
|
1195
|
+
* @public
|
|
1196
|
+
*/
|
|
1197
|
+
code?: string;
|
|
1198
|
+
}
|
|
1199
|
+
/**
|
|
1200
|
+
* @public
|
|
1201
|
+
*/
|
|
1202
|
+
export interface BatchPutTaxRegistrationResponse {
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>The status of your TRN stored in the system after processing. Based on the validation
|
|
1205
|
+
* occurring on the TRN, the status can be <code>Verified</code>, <code>Pending</code> or
|
|
1206
|
+
* <code>Rejected</code>. </p>
|
|
1207
|
+
* @public
|
|
1208
|
+
*/
|
|
1209
|
+
status?: TaxRegistrationStatus;
|
|
1210
|
+
/**
|
|
1211
|
+
* <p>List of errors for the accounts the TRN information could not be added or updated to.
|
|
1212
|
+
* </p>
|
|
1213
|
+
* @public
|
|
1214
|
+
*/
|
|
1215
|
+
errors: BatchPutTaxRegistrationError[] | undefined;
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
* @public
|
|
1219
|
+
*/
|
|
1220
|
+
export interface DeleteTaxRegistrationRequest {
|
|
1221
|
+
/**
|
|
1222
|
+
* <p>Unique account identifier for the TRN information that needs to be deleted. If this isn't
|
|
1223
|
+
* passed, the account ID corresponding to the credentials of the API caller will be used for
|
|
1224
|
+
* this parameter.</p>
|
|
1225
|
+
* @public
|
|
1226
|
+
*/
|
|
1227
|
+
accountId?: string;
|
|
1228
|
+
}
|
|
1229
|
+
/**
|
|
1230
|
+
* @public
|
|
1231
|
+
*/
|
|
1232
|
+
export interface DeleteTaxRegistrationResponse {
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
* <p>The exception thrown when the input doesn't have a resource associated to it.</p>
|
|
1236
|
+
* @public
|
|
1237
|
+
*/
|
|
1238
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
1239
|
+
readonly name: "ResourceNotFoundException";
|
|
1240
|
+
readonly $fault: "client";
|
|
1241
|
+
/**
|
|
1242
|
+
* <p>404</p>
|
|
1243
|
+
* @public
|
|
1244
|
+
*/
|
|
1245
|
+
errorCode: string | undefined;
|
|
1246
|
+
/**
|
|
1247
|
+
* @internal
|
|
1248
|
+
*/
|
|
1249
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1250
|
+
}
|
|
1251
|
+
/**
|
|
1252
|
+
* <p>The location of the Amazon S3 bucket that you specify to download your tax documents to.</p>
|
|
1253
|
+
* @public
|
|
1254
|
+
*/
|
|
1255
|
+
export interface DestinationS3Location {
|
|
1256
|
+
/**
|
|
1257
|
+
* <p>The name of your Amazon S3 bucket that you specify to download your tax documents to.</p>
|
|
1258
|
+
* @public
|
|
1259
|
+
*/
|
|
1260
|
+
bucket: string | undefined;
|
|
1261
|
+
/**
|
|
1262
|
+
* <p>The Amazon S3 object prefix that you specify for your tax document file.</p>
|
|
1263
|
+
* @public
|
|
1264
|
+
*/
|
|
1265
|
+
prefix?: string;
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* @public
|
|
1269
|
+
*/
|
|
1270
|
+
export interface GetTaxRegistrationRequest {
|
|
1271
|
+
/**
|
|
1272
|
+
* <p>Your unique account identifier.</p>
|
|
1273
|
+
* @public
|
|
1274
|
+
*/
|
|
1275
|
+
accountId?: string;
|
|
1276
|
+
}
|
|
1277
|
+
/**
|
|
1278
|
+
* <p>Your TRN information. </p>
|
|
1279
|
+
* @public
|
|
1280
|
+
*/
|
|
1281
|
+
export interface TaxRegistration {
|
|
1282
|
+
/**
|
|
1283
|
+
* <p> Your tax registration unique identifier. </p>
|
|
1284
|
+
* @public
|
|
1285
|
+
*/
|
|
1286
|
+
registrationId: string | undefined;
|
|
1287
|
+
/**
|
|
1288
|
+
* <p>Type of your tax registration. This can be either <code>VAT</code> or <code>GST</code>.
|
|
1289
|
+
* </p>
|
|
1290
|
+
* @public
|
|
1291
|
+
*/
|
|
1292
|
+
registrationType: TaxRegistrationType | undefined;
|
|
1293
|
+
/**
|
|
1294
|
+
* <p> The legal name associated with your TRN registration. </p>
|
|
1295
|
+
* @public
|
|
1296
|
+
*/
|
|
1297
|
+
legalName: string | undefined;
|
|
1298
|
+
/**
|
|
1299
|
+
* <p> The status of your TRN. This can be either <code>Verified</code>, <code>Pending</code>,
|
|
1300
|
+
* <code>Deleted</code>, or <code>Rejected</code>. </p>
|
|
1301
|
+
* @public
|
|
1302
|
+
*/
|
|
1303
|
+
status: TaxRegistrationStatus | undefined;
|
|
1304
|
+
/**
|
|
1305
|
+
* <p>The industry that describes your business. For business-to-business (B2B) customers, specify Business. For business-to-consumer (B2C) customers, specify Individual. For business-to-government (B2G), specify Government. Note that certain values may not applicable for the request country. Please refer to country specific information in API document.
|
|
1306
|
+
* </p>
|
|
1307
|
+
* @public
|
|
1308
|
+
*/
|
|
1309
|
+
sector?: Sector;
|
|
1310
|
+
/**
|
|
1311
|
+
* <p>The metadata for your tax document.</p>
|
|
1312
|
+
* @public
|
|
1313
|
+
*/
|
|
1314
|
+
taxDocumentMetadatas?: TaxDocumentMetadata[];
|
|
1315
|
+
/**
|
|
1316
|
+
* <p>The email address to receive VAT invoices.</p>
|
|
1317
|
+
* @public
|
|
1318
|
+
*/
|
|
1319
|
+
certifiedEmailId?: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* <p> Additional tax information associated with your TRN. </p>
|
|
1322
|
+
* @public
|
|
1323
|
+
*/
|
|
1324
|
+
additionalTaxInformation?: AdditionalInfoResponse;
|
|
1325
|
+
/**
|
|
1326
|
+
* <p> The legal address associated with your TRN registration. </p>
|
|
1327
|
+
* @public
|
|
1328
|
+
*/
|
|
1329
|
+
legalAddress: Address | undefined;
|
|
1330
|
+
}
|
|
1331
|
+
/**
|
|
1332
|
+
* @public
|
|
1333
|
+
*/
|
|
1334
|
+
export interface GetTaxRegistrationResponse {
|
|
1335
|
+
/**
|
|
1336
|
+
* <p>TRN information of the account mentioned in the request. </p>
|
|
1337
|
+
* @public
|
|
1338
|
+
*/
|
|
1339
|
+
taxRegistration?: TaxRegistration;
|
|
1340
|
+
}
|
|
1341
|
+
/**
|
|
1342
|
+
* @public
|
|
1343
|
+
*/
|
|
1344
|
+
export interface GetTaxRegistrationDocumentRequest {
|
|
1345
|
+
/**
|
|
1346
|
+
* <p>The Amazon S3 bucket that you specify to download your tax documents to.</p>
|
|
1347
|
+
* @public
|
|
1348
|
+
*/
|
|
1349
|
+
destinationS3Location: DestinationS3Location | undefined;
|
|
1350
|
+
/**
|
|
1351
|
+
* <p>The metadata for your tax document.</p>
|
|
1352
|
+
* @public
|
|
1353
|
+
*/
|
|
1354
|
+
taxDocumentMetadata: TaxDocumentMetadata | undefined;
|
|
1355
|
+
}
|
|
1356
|
+
/**
|
|
1357
|
+
* @public
|
|
1358
|
+
*/
|
|
1359
|
+
export interface GetTaxRegistrationDocumentResponse {
|
|
1360
|
+
/**
|
|
1361
|
+
* <p>The file path of the Amazon S3 bucket where you want to download your tax document to.</p>
|
|
1362
|
+
* @public
|
|
1363
|
+
*/
|
|
1364
|
+
destinationFilePath?: string;
|
|
1365
|
+
}
|
|
1366
|
+
/**
|
|
1367
|
+
* @public
|
|
1368
|
+
*/
|
|
1369
|
+
export interface ListTaxRegistrationsRequest {
|
|
1370
|
+
/**
|
|
1371
|
+
* <p>Number of <code>accountDetails</code> results you want in one response. </p>
|
|
1372
|
+
* @public
|
|
1373
|
+
*/
|
|
1374
|
+
maxResults?: number;
|
|
1375
|
+
/**
|
|
1376
|
+
* <p>The token to retrieve the next set of results. </p>
|
|
1377
|
+
* @public
|
|
1378
|
+
*/
|
|
1379
|
+
nextToken?: string;
|
|
1380
|
+
}
|
|
1381
|
+
/**
|
|
1382
|
+
* @public
|
|
1383
|
+
*/
|
|
1384
|
+
export interface ListTaxRegistrationsResponse {
|
|
1385
|
+
/**
|
|
1386
|
+
* <p>The list of account details. This contains account Ids and TRN Information for each of the
|
|
1387
|
+
* linked accounts. </p>
|
|
1388
|
+
* @public
|
|
1389
|
+
*/
|
|
1390
|
+
accountDetails: AccountDetails[] | undefined;
|
|
1391
|
+
/**
|
|
1392
|
+
* <p> The token to retrieve the next set of results. </p>
|
|
1393
|
+
* @public
|
|
1394
|
+
*/
|
|
1395
|
+
nextToken?: string;
|
|
1396
|
+
}
|
|
1397
|
+
/**
|
|
1398
|
+
* @public
|
|
1399
|
+
*/
|
|
1400
|
+
export interface PutTaxRegistrationRequest {
|
|
1401
|
+
/**
|
|
1402
|
+
* <p>Your unique account identifier. </p>
|
|
1403
|
+
* @public
|
|
1404
|
+
*/
|
|
1405
|
+
accountId?: string;
|
|
1406
|
+
/**
|
|
1407
|
+
* <p> Your TRN information that will be stored to the account mentioned in
|
|
1408
|
+
* <code>accountId</code>. </p>
|
|
1409
|
+
* @public
|
|
1410
|
+
*/
|
|
1411
|
+
taxRegistrationEntry: TaxRegistrationEntry | undefined;
|
|
1412
|
+
}
|
|
1413
|
+
/**
|
|
1414
|
+
* @public
|
|
1415
|
+
*/
|
|
1416
|
+
export interface PutTaxRegistrationResponse {
|
|
1417
|
+
/**
|
|
1418
|
+
* <p>The status of your TRN stored in the system after processing. Based on the validation
|
|
1419
|
+
* occurring on the TRN, the status can be <code>Verified</code>, <code>Pending</code> or
|
|
1420
|
+
* <code>Rejected</code>. </p>
|
|
1421
|
+
* @public
|
|
1422
|
+
*/
|
|
1423
|
+
status?: TaxRegistrationStatus;
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* @internal
|
|
1427
|
+
*/
|
|
1428
|
+
export declare const AccountMetaDataFilterSensitiveLog: (obj: AccountMetaData) => any;
|
|
1429
|
+
/**
|
|
1430
|
+
* @internal
|
|
1431
|
+
*/
|
|
1432
|
+
export declare const TaxRegistrationWithJurisdictionFilterSensitiveLog: (obj: TaxRegistrationWithJurisdiction) => any;
|
|
1433
|
+
/**
|
|
1434
|
+
* @internal
|
|
1435
|
+
*/
|
|
1436
|
+
export declare const AccountDetailsFilterSensitiveLog: (obj: AccountDetails) => any;
|
|
1437
|
+
/**
|
|
1438
|
+
* @internal
|
|
1439
|
+
*/
|
|
1440
|
+
export declare const BatchDeleteTaxRegistrationErrorFilterSensitiveLog: (obj: BatchDeleteTaxRegistrationError) => any;
|
|
1441
|
+
/**
|
|
1442
|
+
* @internal
|
|
1443
|
+
*/
|
|
1444
|
+
export declare const BatchDeleteTaxRegistrationResponseFilterSensitiveLog: (obj: BatchDeleteTaxRegistrationResponse) => any;
|
|
1445
|
+
/**
|
|
1446
|
+
* @internal
|
|
1447
|
+
*/
|
|
1448
|
+
export declare const TaxRegistrationEntryFilterSensitiveLog: (obj: TaxRegistrationEntry) => any;
|
|
1449
|
+
/**
|
|
1450
|
+
* @internal
|
|
1451
|
+
*/
|
|
1452
|
+
export declare const BatchPutTaxRegistrationRequestFilterSensitiveLog: (obj: BatchPutTaxRegistrationRequest) => any;
|
|
1453
|
+
/**
|
|
1454
|
+
* @internal
|
|
1455
|
+
*/
|
|
1456
|
+
export declare const BatchPutTaxRegistrationErrorFilterSensitiveLog: (obj: BatchPutTaxRegistrationError) => any;
|
|
1457
|
+
/**
|
|
1458
|
+
* @internal
|
|
1459
|
+
*/
|
|
1460
|
+
export declare const BatchPutTaxRegistrationResponseFilterSensitiveLog: (obj: BatchPutTaxRegistrationResponse) => any;
|
|
1461
|
+
/**
|
|
1462
|
+
* @internal
|
|
1463
|
+
*/
|
|
1464
|
+
export declare const TaxRegistrationFilterSensitiveLog: (obj: TaxRegistration) => any;
|
|
1465
|
+
/**
|
|
1466
|
+
* @internal
|
|
1467
|
+
*/
|
|
1468
|
+
export declare const GetTaxRegistrationResponseFilterSensitiveLog: (obj: GetTaxRegistrationResponse) => any;
|
|
1469
|
+
/**
|
|
1470
|
+
* @internal
|
|
1471
|
+
*/
|
|
1472
|
+
export declare const ListTaxRegistrationsResponseFilterSensitiveLog: (obj: ListTaxRegistrationsResponse) => any;
|
|
1473
|
+
/**
|
|
1474
|
+
* @internal
|
|
1475
|
+
*/
|
|
1476
|
+
export declare const PutTaxRegistrationRequestFilterSensitiveLog: (obj: PutTaxRegistrationRequest) => any;
|