@aws-sdk/client-taxsettings 3.1062.0 → 3.1064.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 +1 -12
- package/dist-cjs/index.js +20 -0
- package/dist-cjs/schemas/schemas_0.js +54 -20
- package/dist-es/models/enums.js +17 -0
- package/dist-es/schemas/schemas_0.js +51 -17
- package/dist-types/TaxSettings.d.ts +1 -12
- package/dist-types/TaxSettingsClient.d.ts +1 -12
- package/dist-types/commands/BatchDeleteTaxRegistrationCommand.d.ts +2 -7
- package/dist-types/commands/BatchGetTaxExemptionsCommand.d.ts +2 -4
- package/dist-types/commands/BatchPutTaxRegistrationCommand.d.ts +21 -211
- package/dist-types/commands/DeleteSupplementalTaxRegistrationCommand.d.ts +2 -5
- package/dist-types/commands/DeleteTaxRegistrationCommand.d.ts +2 -6
- package/dist-types/commands/GetTaxExemptionTypesCommand.d.ts +2 -4
- package/dist-types/commands/GetTaxInheritanceCommand.d.ts +2 -4
- package/dist-types/commands/GetTaxRegistrationCommand.d.ts +20 -5
- package/dist-types/commands/GetTaxRegistrationDocumentCommand.d.ts +2 -4
- package/dist-types/commands/ListSupplementalTaxRegistrationsCommand.d.ts +4 -7
- package/dist-types/commands/ListTaxExemptionsCommand.d.ts +1 -2
- package/dist-types/commands/ListTaxRegistrationsCommand.d.ts +21 -8
- package/dist-types/commands/PutSupplementalTaxRegistrationCommand.d.ts +4 -7
- package/dist-types/commands/PutTaxExemptionCommand.d.ts +5 -10
- package/dist-types/commands/PutTaxInheritanceCommand.d.ts +2 -4
- package/dist-types/commands/PutTaxRegistrationCommand.d.ts +21 -210
- package/dist-types/index.d.ts +1 -12
- package/dist-types/models/enums.d.ts +41 -0
- package/dist-types/models/errors.d.ts +4 -8
- package/dist-types/models/models_0.d.ts +267 -445
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +22 -0
- package/dist-types/ts3.4/models/models_0.d.ts +29 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +6 -6
|
@@ -29,9 +29,7 @@ declare const PutSupplementalTaxRegistrationCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* <p>
|
|
33
|
-
* Stores supplemental tax registration for a single account.
|
|
34
|
-
* </p>
|
|
32
|
+
* <p> Stores supplemental tax registration for a single account. </p>
|
|
35
33
|
* @example
|
|
36
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
35
|
* ```javascript
|
|
@@ -46,11 +44,11 @@ declare const PutSupplementalTaxRegistrationCommand_base: {
|
|
|
46
44
|
* registrationType: "VAT", // required
|
|
47
45
|
* legalName: "STRING_VALUE", // required
|
|
48
46
|
* address: { // Address
|
|
49
|
-
* addressLine1: "STRING_VALUE",
|
|
47
|
+
* addressLine1: "STRING_VALUE",
|
|
50
48
|
* addressLine2: "STRING_VALUE",
|
|
51
49
|
* addressLine3: "STRING_VALUE",
|
|
52
50
|
* districtOrCounty: "STRING_VALUE",
|
|
53
|
-
* city: "STRING_VALUE",
|
|
51
|
+
* city: "STRING_VALUE",
|
|
54
52
|
* stateOrRegion: "STRING_VALUE",
|
|
55
53
|
* postalCode: "STRING_VALUE", // required
|
|
56
54
|
* countryCode: "STRING_VALUE", // required
|
|
@@ -79,8 +77,7 @@ declare const PutSupplementalTaxRegistrationCommand_base: {
|
|
|
79
77
|
* <p>The exception thrown when an unexpected error occurs when processing a request.</p>
|
|
80
78
|
*
|
|
81
79
|
* @throws {@link ValidationException} (client fault)
|
|
82
|
-
* <p>The exception when the input doesn't pass validation for at least one of the input
|
|
83
|
-
* parameters. </p>
|
|
80
|
+
* <p>The exception when the input doesn't pass validation for at least one of the input parameters. </p>
|
|
84
81
|
*
|
|
85
82
|
* @throws {@link TaxSettingsServiceException}
|
|
86
83
|
* <p>Base exception class for all service exceptions from TaxSettings service.</p>
|
|
@@ -29,8 +29,7 @@ declare const PutTaxExemptionCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* <p>Adds the tax exemption for a single account or all accounts listed in a consolidated billing family. The IAM action is <code>tax:UpdateExemptions</code>.
|
|
33
|
-
* </p>
|
|
32
|
+
* <p>Adds the tax exemption for a single account or all accounts listed in a consolidated billing family. The IAM action is <code>tax:UpdateExemptions</code>. </p>
|
|
34
33
|
* @example
|
|
35
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
35
|
* ```javascript
|
|
@@ -68,16 +67,13 @@ declare const PutTaxExemptionCommand_base: {
|
|
|
68
67
|
* @see {@link TaxSettingsClientResolvedConfig | config} for TaxSettingsClient's `config` shape.
|
|
69
68
|
*
|
|
70
69
|
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
-
* <p>The access is denied for the Amazon Web
|
|
72
|
-
* </p>
|
|
70
|
+
* <p>The access is denied for the Amazon Web Services Support API. </p>
|
|
73
71
|
*
|
|
74
72
|
* @throws {@link AttachmentUploadException} (client fault)
|
|
75
|
-
* <p>Failed to upload the tax exemption document to Amazon Web
|
|
76
|
-
* </p>
|
|
73
|
+
* <p>Failed to upload the tax exemption document to Amazon Web Services Support case. </p>
|
|
77
74
|
*
|
|
78
75
|
* @throws {@link CaseCreationLimitExceededException} (client fault)
|
|
79
|
-
* <p>You've exceeded the Amazon Web
|
|
80
|
-
* </p>
|
|
76
|
+
* <p>You've exceeded the Amazon Web Services Support case creation limit for your account. </p>
|
|
81
77
|
*
|
|
82
78
|
* @throws {@link InternalServerException} (server fault)
|
|
83
79
|
* <p>The exception thrown when an unexpected error occurs when processing a request.</p>
|
|
@@ -86,8 +82,7 @@ declare const PutTaxExemptionCommand_base: {
|
|
|
86
82
|
* <p>The exception thrown when the input doesn't have a resource associated to it.</p>
|
|
87
83
|
*
|
|
88
84
|
* @throws {@link ValidationException} (client fault)
|
|
89
|
-
* <p>The exception when the input doesn't pass validation for at least one of the input
|
|
90
|
-
* parameters. </p>
|
|
85
|
+
* <p>The exception when the input doesn't pass validation for at least one of the input parameters. </p>
|
|
91
86
|
*
|
|
92
87
|
* @throws {@link TaxSettingsServiceException}
|
|
93
88
|
* <p>Base exception class for all service exceptions from TaxSettings service.</p>
|
|
@@ -29,8 +29,7 @@ declare const PutTaxInheritanceCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* <p>The updated tax inheritance status.
|
|
33
|
-
* </p>
|
|
32
|
+
* <p>The updated tax inheritance status. </p>
|
|
34
33
|
* @example
|
|
35
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
35
|
* ```javascript
|
|
@@ -64,8 +63,7 @@ declare const PutTaxInheritanceCommand_base: {
|
|
|
64
63
|
* <p>The exception thrown when the input doesn't have a resource associated to it.</p>
|
|
65
64
|
*
|
|
66
65
|
* @throws {@link ValidationException} (client fault)
|
|
67
|
-
* <p>The exception when the input doesn't pass validation for at least one of the input
|
|
68
|
-
* parameters. </p>
|
|
66
|
+
* <p>The exception when the input doesn't pass validation for at least one of the input parameters. </p>
|
|
69
67
|
*
|
|
70
68
|
* @throws {@link TaxSettingsServiceException}
|
|
71
69
|
* <p>Base exception class for all service exceptions from TaxSettings service.</p>
|
|
@@ -29,211 +29,7 @@ declare const PutTaxRegistrationCommand_base: {
|
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
* <p>Adds or updates tax registration for a single account. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.</p>
|
|
33
|
-
* <p>To call this API operation for specific countries, see the following country-specific
|
|
34
|
-
* requirements.</p>
|
|
35
|
-
* <p>
|
|
36
|
-
* <b>Bangladesh</b>
|
|
37
|
-
* </p>
|
|
38
|
-
* <ul>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>You must specify the tax registration certificate document in the
|
|
41
|
-
* <code>taxRegistrationDocuments</code> field of the <code>VerificationDetails</code>
|
|
42
|
-
* object.</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* <p>
|
|
46
|
-
* <b>Brazil</b>
|
|
47
|
-
* </p>
|
|
48
|
-
* <ul>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>You must complete the tax registration process in the <a href="https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods">Payment preferences</a> page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.</p>
|
|
54
|
-
* </li>
|
|
55
|
-
* </ul>
|
|
56
|
-
* <p>
|
|
57
|
-
* <b>Georgia</b>
|
|
58
|
-
* </p>
|
|
59
|
-
* <ul>
|
|
60
|
-
* <li>
|
|
61
|
-
* <p>The valid <code>personType</code> values are <code>Physical Person</code> and <code>Business</code>.</p>
|
|
62
|
-
* </li>
|
|
63
|
-
* </ul>
|
|
64
|
-
* <p>
|
|
65
|
-
* <b>Indonesia</b>
|
|
66
|
-
* </p>
|
|
67
|
-
* <ul>
|
|
68
|
-
* <li>
|
|
69
|
-
* <p>
|
|
70
|
-
* <code>PutTaxRegistration</code>: The use of this operation to submit tax information is subject to the <a href="http://aws.amazon.com/service-terms/">Amazon Web Services service terms</a>. By submitting, you’re providing consent for Amazon Web Services to validate NIK, NPWP, and NITKU data, provided by you with the Directorate General of Taxes of Indonesia in accordance with the Minister of Finance Regulation (PMK) Number 112/PMK.03/2022.</p>
|
|
71
|
-
* </li>
|
|
72
|
-
* <li>
|
|
73
|
-
* <p>
|
|
74
|
-
* <code>BatchPutTaxRegistration</code>: The use of this operation to submit tax information is subject to the <a href="http://aws.amazon.com/service-terms/">Amazon Web Services service terms</a>. By submitting, you’re providing consent for Amazon Web Services to validate NIK, NPWP, and NITKU data, provided by you with the Directorate General of Taxes of Indonesia in accordance with the Minister of Finance Regulation (PMK) Number 112/PMK.03/2022, through our third-party partner PT Achilles Advanced Management (OnlinePajak).</p>
|
|
75
|
-
* </li>
|
|
76
|
-
* <li>
|
|
77
|
-
* <p>You must specify the <code>taxRegistrationNumberType</code> in the <code>indonesiaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p>
|
|
78
|
-
* </li>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>If you specify <code>decisionNumber</code>, you must specify the <code>ppnExceptionDesignationCode</code> in the <code>indonesiaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object. If the <code>taxRegistrationNumberType</code> is set to NPWP or NITKU, valid values for <code>ppnExceptionDesignationCode</code> are either <code>01</code>, <code>02</code>, <code>03</code>, <code>07</code>, or <code>08</code>.</p>
|
|
81
|
-
* <p>For other <code>taxRegistrationNumberType</code> values, <code>ppnExceptionDesignationCode</code> must be either <code>01</code>, <code>07</code>, or <code>08</code>.</p>
|
|
82
|
-
* </li>
|
|
83
|
-
* <li>
|
|
84
|
-
* <p>If <code>ppnExceptionDesignationCode</code> is <code>07</code>, you must specify the <code>decisionNumber</code> in the <code>indonesiaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p>
|
|
85
|
-
* </li>
|
|
86
|
-
* </ul>
|
|
87
|
-
* <p>
|
|
88
|
-
* <b>Kenya</b>
|
|
89
|
-
* </p>
|
|
90
|
-
* <ul>
|
|
91
|
-
* <li>
|
|
92
|
-
* <p>You must specify the <code>personType</code> in the <code>kenyaAdditionalInfo</code>
|
|
93
|
-
* field of the <code>additionalTaxInformation</code> object.</p>
|
|
94
|
-
* </li>
|
|
95
|
-
* <li>
|
|
96
|
-
* <p>If the <code>personType</code> is <code>Physical Person</code>, you must specify the
|
|
97
|
-
* tax registration certificate document in the <code>taxRegistrationDocuments</code> field
|
|
98
|
-
* of the <code>VerificationDetails</code> object.</p>
|
|
99
|
-
* </li>
|
|
100
|
-
* </ul>
|
|
101
|
-
* <p>
|
|
102
|
-
* <b>Malaysia</b>
|
|
103
|
-
* </p>
|
|
104
|
-
* <ul>
|
|
105
|
-
* <li>
|
|
106
|
-
* <p>The sector valid values are <code>Business</code> and <code>Individual</code>.</p>
|
|
107
|
-
* </li>
|
|
108
|
-
* <li>
|
|
109
|
-
* <p>
|
|
110
|
-
* <code>RegistrationType</code> valid values are <code>NRIC</code> for individual, and TIN and sales and service tax (SST) for Business.</p>
|
|
111
|
-
* </li>
|
|
112
|
-
* <li>
|
|
113
|
-
* <p>For individual, you can specify the <code>taxInformationNumber</code> in <code>MalaysiaAdditionalInfo</code> with NRIC type, and a valid <code>MyKad</code> or NRIC number.</p>
|
|
114
|
-
* </li>
|
|
115
|
-
* <li>
|
|
116
|
-
* <p>For business, you must specify a <code>businessRegistrationNumber</code> in <code>MalaysiaAdditionalInfo</code> with a TIN type and tax identification number.</p>
|
|
117
|
-
* </li>
|
|
118
|
-
* <li>
|
|
119
|
-
* <p>For business resellers, you must specify a <code>businessRegistrationNumber</code> and <code>taxInformationNumber</code> in <code>MalaysiaAdditionalInfo</code> with a sales and service tax (SST) type and a valid SST number.</p>
|
|
120
|
-
* </li>
|
|
121
|
-
* <li>
|
|
122
|
-
* <p>For business resellers with service codes, you must specify <code>businessRegistrationNumber</code>, <code>taxInformationNumber</code>, and distinct <code>serviceTaxCodes</code> in <code>MalaysiaAdditionalInfo</code> with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.</p>
|
|
123
|
-
* </li>
|
|
124
|
-
* <li>
|
|
125
|
-
* <p>Amazon Web Services reserves the right to seek additional information and/or take other actions to
|
|
126
|
-
* support your self-declaration as appropriate.</p>
|
|
127
|
-
* </li>
|
|
128
|
-
* <li>
|
|
129
|
-
* <p>Amazon Web Services is currently registered under the following service tax codes. You must include
|
|
130
|
-
* at least one of the service tax codes in the service tax code strings to declare yourself
|
|
131
|
-
* as an authorized registered business reseller.</p>
|
|
132
|
-
* <p>Taxable service and service tax codes:</p>
|
|
133
|
-
* <p>Consultancy - 9907061674</p>
|
|
134
|
-
* <p>Training or coaching service - 9907071685</p>
|
|
135
|
-
* <p>IT service - 9907101676</p>
|
|
136
|
-
* <p>Digital services and electronic medium - 9907121690</p>
|
|
137
|
-
* </li>
|
|
138
|
-
* </ul>
|
|
139
|
-
* <p>
|
|
140
|
-
* <b>Nepal</b>
|
|
141
|
-
* </p>
|
|
142
|
-
* <ul>
|
|
143
|
-
* <li>
|
|
144
|
-
* <p>The sector valid values are <code>Business</code> and <code>Individual</code>.</p>
|
|
145
|
-
* </li>
|
|
146
|
-
* </ul>
|
|
147
|
-
* <p>
|
|
148
|
-
* <b>Saudi Arabia</b>
|
|
149
|
-
* </p>
|
|
150
|
-
* <ul>
|
|
151
|
-
* <li>
|
|
152
|
-
* <p>For <code>address</code>, you must specify <code>addressLine3</code>.</p>
|
|
153
|
-
* </li>
|
|
154
|
-
* </ul>
|
|
155
|
-
* <p>
|
|
156
|
-
* <b>South Korea</b>
|
|
157
|
-
* </p>
|
|
158
|
-
* <ul>
|
|
159
|
-
* <li>
|
|
160
|
-
* <p>You must specify the <code>certifiedEmailId</code> and <code>legalName</code> in the
|
|
161
|
-
* <code>TaxRegistrationEntry</code> object. Use Korean characters for
|
|
162
|
-
* <code>legalName</code>.</p>
|
|
163
|
-
* </li>
|
|
164
|
-
* <li>
|
|
165
|
-
* <p>You must specify the <code>businessRepresentativeName</code>,
|
|
166
|
-
* <code>itemOfBusiness</code>, and <code>lineOfBusiness</code> in the
|
|
167
|
-
* <code>southKoreaAdditionalInfo</code> field of the <code>additionalTaxInformation</code>
|
|
168
|
-
* object. Use Korean characters for these fields.</p>
|
|
169
|
-
* </li>
|
|
170
|
-
* <li>
|
|
171
|
-
* <p>You must specify the tax registration certificate document in the
|
|
172
|
-
* <code>taxRegistrationDocuments</code> field of the <code>VerificationDetails</code>
|
|
173
|
-
* object.</p>
|
|
174
|
-
* </li>
|
|
175
|
-
* <li>
|
|
176
|
-
* <p>For the <code>address</code> object, use Korean characters for <code>addressLine1</code>, <code>addressLine2</code>
|
|
177
|
-
* <code>city</code>, <code>postalCode</code>, and <code>stateOrRegion</code>.</p>
|
|
178
|
-
* </li>
|
|
179
|
-
* </ul>
|
|
180
|
-
* <p>
|
|
181
|
-
* <b>Spain</b>
|
|
182
|
-
* </p>
|
|
183
|
-
* <ul>
|
|
184
|
-
* <li>
|
|
185
|
-
* <p>You must specify the <code>registrationType</code> in the
|
|
186
|
-
* <code>spainAdditionalInfo</code> field of the <code>additionalTaxInformation</code>
|
|
187
|
-
* object.</p>
|
|
188
|
-
* </li>
|
|
189
|
-
* <li>
|
|
190
|
-
* <p>If the <code>registrationType</code> is <code>Local</code>, you must specify the tax
|
|
191
|
-
* registration certificate document in the <code>taxRegistrationDocuments</code> field of
|
|
192
|
-
* the <code>VerificationDetails</code> object.</p>
|
|
193
|
-
* </li>
|
|
194
|
-
* </ul>
|
|
195
|
-
* <p>
|
|
196
|
-
* <b>Turkey</b>
|
|
197
|
-
* </p>
|
|
198
|
-
* <ul>
|
|
199
|
-
* <li>
|
|
200
|
-
* <p>You must specify the <code>sector</code> in the <code>taxRegistrationEntry</code> object.</p>
|
|
201
|
-
* </li>
|
|
202
|
-
* <li>
|
|
203
|
-
* <p>If your <code>sector</code> is <code>Business</code>, <code>Individual</code>, or
|
|
204
|
-
* <code>Government</code>:</p>
|
|
205
|
-
* <ul>
|
|
206
|
-
* <li>
|
|
207
|
-
* <p>Specify the <code>taxOffice</code>. If your
|
|
208
|
-
* <code>sector</code> is <code>Individual</code>, don't enter this value.</p>
|
|
209
|
-
* </li>
|
|
210
|
-
* <li>
|
|
211
|
-
* <p>(Optional) Specify the <code>kepEmailId</code>. If your
|
|
212
|
-
* <code>sector</code> is <code>Individual</code>, don't enter this value.</p>
|
|
213
|
-
* </li>
|
|
214
|
-
* <li>
|
|
215
|
-
* <p>
|
|
216
|
-
* <b>Note:</b> In the <b>Tax Settings</b> page of the Billing console, <code>Government</code> appears as <b>Public institutions</b>
|
|
217
|
-
* </p>
|
|
218
|
-
* </li>
|
|
219
|
-
* </ul>
|
|
220
|
-
* </li>
|
|
221
|
-
* <li>
|
|
222
|
-
* <p>If your <code>sector</code> is <code>Business</code> and you're subject to KDV tax,
|
|
223
|
-
* you must specify your industry in the <code>industries</code> field.</p>
|
|
224
|
-
* </li>
|
|
225
|
-
* <li>
|
|
226
|
-
* <p>For <code>address</code>, you must specify <code>districtOrCounty</code>.</p>
|
|
227
|
-
* </li>
|
|
228
|
-
* </ul>
|
|
229
|
-
* <p>
|
|
230
|
-
* <b>Ukraine</b>
|
|
231
|
-
* </p>
|
|
232
|
-
* <ul>
|
|
233
|
-
* <li>
|
|
234
|
-
* <p>The sector valid values are <code>Business</code> and <code>Individual</code>.</p>
|
|
235
|
-
* </li>
|
|
236
|
-
* </ul>
|
|
32
|
+
* <p>Adds or updates tax registration for a single account. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.</p> <p>To call this API operation for specific countries, see the following country-specific requirements.</p> <p> <b>Bangladesh</b> </p> <ul> <li> <p>You must specify the tax registration certificate document in the <code>taxRegistrationDocuments</code> field of the <code>VerificationDetails</code> object.</p> </li> </ul> <p> <b>Brazil</b> </p> <ul> <li> <p>You must complete the tax registration process in the <a href="https://console.aws.amazon.com/billing/home#/paymentpreferences/paymentmethods">Payment preferences</a> page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.</p> </li> <li> <p>For Amazon Web Services accounts created through Organizations, you can call this API operation when you don't have a billing address.</p> </li> </ul> <p> <b>Georgia</b> </p> <ul> <li> <p>The valid <code>personType</code> values are <code>Physical Person</code> and <code>Business</code>.</p> </li> </ul> <p> <b>Indonesia</b> </p> <ul> <li> <p> <code>PutTaxRegistration</code>: The use of this operation to submit tax information is subject to the <a href="http://aws.amazon.com/service-terms/">Amazon Web Services service terms</a>. By submitting, you’re providing consent for Amazon Web Services to validate NIK, NPWP, and NITKU data, provided by you with the Directorate General of Taxes of Indonesia in accordance with the Minister of Finance Regulation (PMK) Number 112/PMK.03/2022.</p> </li> <li> <p> <code>BatchPutTaxRegistration</code>: The use of this operation to submit tax information is subject to the <a href="http://aws.amazon.com/service-terms/">Amazon Web Services service terms</a>. By submitting, you’re providing consent for Amazon Web Services to validate NIK, NPWP, and NITKU data, provided by you with the Directorate General of Taxes of Indonesia in accordance with the Minister of Finance Regulation (PMK) Number 112/PMK.03/2022, through our third-party partner PT Achilles Advanced Management (OnlinePajak).</p> </li> <li> <p>You must specify the <code>taxRegistrationNumberType</code> in the <code>indonesiaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p> </li> <li> <p>If you specify <code>decisionNumber</code>, you must specify the <code>ppnExceptionDesignationCode</code> in the <code>indonesiaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object. If the <code>taxRegistrationNumberType</code> is set to NPWP or NITKU, valid values for <code>ppnExceptionDesignationCode</code> are either <code>01</code>, <code>02</code>, <code>03</code>, <code>07</code>, or <code>08</code>.</p> <p>For other <code>taxRegistrationNumberType</code> values, <code>ppnExceptionDesignationCode</code> must be either <code>01</code>, <code>07</code>, or <code>08</code>.</p> </li> <li> <p>If <code>ppnExceptionDesignationCode</code> is <code>07</code> or <code>08</code>, you must specify the <code>decisionNumber</code> in the <code>indonesiaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p> </li> </ul> <p> <b>Kenya</b> </p> <ul> <li> <p>You must specify the <code>personType</code> in the <code>kenyaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p> </li> <li> <p>If the <code>personType</code> is <code>Physical Person</code>, you must specify the tax registration certificate document in the <code>taxRegistrationDocuments</code> field of the <code>VerificationDetails</code> object.</p> </li> </ul> <p> <b>Malaysia</b> </p> <ul> <li> <p>The sector valid values are <code>Business</code> and <code>Individual</code>.</p> </li> <li> <p> <code>RegistrationType</code> valid values are <code>NRIC</code> for individual, and TIN and sales and service tax (SST) for Business.</p> </li> <li> <p>For individual, you can specify the <code>taxInformationNumber</code> in <code>MalaysiaAdditionalInfo</code> with NRIC type, and a valid <code>MyKad</code> or NRIC number.</p> </li> <li> <p>For business, you must specify a <code>businessRegistrationNumber</code> in <code>MalaysiaAdditionalInfo</code> with a TIN type and tax identification number.</p> </li> <li> <p>For business resellers, you must specify a <code>businessRegistrationNumber</code> and <code>taxInformationNumber</code> in <code>MalaysiaAdditionalInfo</code> with a sales and service tax (SST) type and a valid SST number.</p> </li> <li> <p>For business resellers with service codes, you must specify <code>businessRegistrationNumber</code>, <code>taxInformationNumber</code>, and distinct <code>serviceTaxCodes</code> in <code>MalaysiaAdditionalInfo</code> with a SST type and valid sales and service tax (SST) number. By using this API operation, Amazon Web Services registers your self-declaration that you’re an authorized business reseller registered with the Royal Malaysia Customs Department (RMCD), and have a valid SST number.</p> </li> <li> <p>Amazon Web Services reserves the right to seek additional information and/or take other actions to support your self-declaration as appropriate.</p> </li> <li> <p>Amazon Web Services is currently registered under the following service tax codes. You must include at least one of the service tax codes in the service tax code strings to declare yourself as an authorized registered business reseller.</p> <p>Taxable service and service tax codes:</p> <p>Consultancy - 9907061674</p> <p>Training or coaching service - 9907071685</p> <p>IT service - 9907101676</p> <p>Digital services and electronic medium - 9907121690</p> </li> </ul> <p> <b>Mexico</b> </p> <ul> <li> <p>You must provide a Constancia de Situación fiscal (CSF) document in the <b>verificationDetails</b> field.</p> </li> <li> <p>You do not need to provide address and legal name. These will be populated based on your tax registration number.</p> </li> </ul> <p> <b>Nepal</b> </p> <ul> <li> <p>The sector valid values are <code>Business</code> and <code>Individual</code>.</p> </li> </ul> <p> <b>Saudi Arabia</b> </p> <ul> <li> <p>For <code>address</code>, you must specify <code>addressLine3</code>.</p> </li> </ul> <p> <b>South Korea</b> </p> <ul> <li> <p>You must specify the <code>certifiedEmailId</code> and <code>legalName</code> in the <code>TaxRegistrationEntry</code> object. Use Korean characters for <code>legalName</code>.</p> </li> <li> <p>You must specify the <code>businessRepresentativeName</code>, <code>itemOfBusiness</code>, and <code>lineOfBusiness</code> in the <code>southKoreaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object. Use Korean characters for these fields.</p> </li> <li> <p>You must specify the tax registration certificate document in the <code>taxRegistrationDocuments</code> field of the <code>VerificationDetails</code> object.</p> </li> <li> <p>For the <code>address</code> object, use Korean characters for <code>addressLine1</code>, <code>addressLine2</code> <code>city</code>, <code>postalCode</code>, and <code>stateOrRegion</code>.</p> </li> </ul> <p> <b>Spain</b> </p> <ul> <li> <p>You must specify the <code>registrationType</code> in the <code>spainAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p> </li> <li> <p>If the <code>registrationType</code> is <code>Local</code>, you must specify the tax registration certificate document in the <code>taxRegistrationDocuments</code> field of the <code>VerificationDetails</code> object.</p> </li> </ul> <p> <b>Turkey</b> </p> <ul> <li> <p>You must specify the <code>sector</code> in the <code>taxRegistrationEntry</code> object.</p> </li> <li> <p>If your <code>sector</code> is <code>Business</code>, <code>Individual</code>, or <code>Government</code>:</p> <ul> <li> <p>Specify the <code>taxOffice</code>. If your <code>sector</code> is <code>Individual</code>, don't enter this value.</p> </li> <li> <p>(Optional) Specify the <code>kepEmailId</code>. If your <code>sector</code> is <code>Individual</code>, don't enter this value.</p> </li> <li> <p> <b>Note:</b> In the <b>Tax Settings</b> page of the Billing console, <code>Government</code> appears as <b>Public institutions</b> </p> </li> </ul> </li> <li> <p>If your <code>sector</code> is <code>Business</code> and you're subject to KDV tax, you must specify your industry in the <code>industries</code> field.</p> </li> <li> <p>For <code>address</code>, you must specify <code>districtOrCounty</code>.</p> </li> </ul> <p> <b>Ukraine</b> </p> <ul> <li> <p>The sector valid values are <code>Business</code> and <code>Individual</code>.</p> </li> </ul> <p> <b>Philippines</b> </p> <ul> <li> <p>You can optionally specify the <code>isVatRegistered</code> in the <code>philippinesAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object to indicate your VAT registration status with the Bureau of Internal Revenue (BIR).</p> </li> </ul> <p> <b>Belgium</b> </p> <ul> <li> <p>You can optionally specify the <code>peppolId</code> in the <code>belgiumAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p> </li> </ul> <p> <b>Chile</b> </p> <ul> <li> <p>You can optionally specify the <code>documentType</code> and <code>businessActivity</code> in the <code>chileAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p> </li> </ul> <p> <b>France</b> </p> <ul> <li> <p>You must specify the <code>sirenNumber</code> in the <code>franceAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p> </li> </ul> <p> <b>Poland</b> </p> <ul> <li> <p>You can optionally specify the <code>taxRegistrationNumberType</code> in the <code>polandAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object. Valid values are <code>EUTaxRegistrationNumber</code>, <code>LocalTaxRegistrationNumber</code>, or <code>LocalRegistrationNumber</code>.</p> </li> </ul>
|
|
237
33
|
* @example
|
|
238
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
239
35
|
* ```javascript
|
|
@@ -246,14 +42,14 @@ declare const PutTaxRegistrationCommand_base: {
|
|
|
246
42
|
* accountId: "STRING_VALUE",
|
|
247
43
|
* taxRegistrationEntry: { // TaxRegistrationEntry
|
|
248
44
|
* registrationId: "STRING_VALUE", // required
|
|
249
|
-
* registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST" || "TIN" || "NRIC", // required
|
|
45
|
+
* registrationType: "VAT" || "GST" || "CPF" || "CNPJ" || "SST" || "TIN" || "NRIC" || "PAN" || "NIP", // required
|
|
250
46
|
* legalName: "STRING_VALUE",
|
|
251
47
|
* legalAddress: { // Address
|
|
252
|
-
* addressLine1: "STRING_VALUE",
|
|
48
|
+
* addressLine1: "STRING_VALUE",
|
|
253
49
|
* addressLine2: "STRING_VALUE",
|
|
254
50
|
* addressLine3: "STRING_VALUE",
|
|
255
51
|
* districtOrCounty: "STRING_VALUE",
|
|
256
|
-
* city: "STRING_VALUE",
|
|
52
|
+
* city: "STRING_VALUE",
|
|
257
53
|
* stateOrRegion: "STRING_VALUE",
|
|
258
54
|
* postalCode: "STRING_VALUE", // required
|
|
259
55
|
* countryCode: "STRING_VALUE", // required
|
|
@@ -305,6 +101,7 @@ declare const PutTaxRegistrationCommand_base: {
|
|
|
305
101
|
* cigNumber: "STRING_VALUE",
|
|
306
102
|
* cupNumber: "STRING_VALUE",
|
|
307
103
|
* taxCode: "STRING_VALUE",
|
|
104
|
+
* customerType: "Business" || "Individual",
|
|
308
105
|
* },
|
|
309
106
|
* romaniaAdditionalInfo: { // RomaniaAdditionalInfo
|
|
310
107
|
* taxRegistrationNumberType: "TaxRegistrationNumber" || "LocalRegistrationNumber", // required
|
|
@@ -315,6 +112,7 @@ declare const PutTaxRegistrationCommand_base: {
|
|
|
315
112
|
* polandAdditionalInfo: { // PolandAdditionalInfo
|
|
316
113
|
* individualRegistrationNumber: "STRING_VALUE",
|
|
317
114
|
* isGroupVatEnabled: true || false,
|
|
115
|
+
* taxRegistrationNumberType: "EUTaxRegistrationNumber" || "LocalTaxRegistrationNumber" || "LocalRegistrationNumber",
|
|
318
116
|
* },
|
|
319
117
|
* saudiArabiaAdditionalInfo: { // SaudiArabiaAdditionalInfo
|
|
320
118
|
* taxRegistrationNumberType: "TaxRegistrationNumber" || "TaxIdentificationNumber" || "CommercialRegistrationNumber",
|
|
@@ -341,6 +139,20 @@ declare const PutTaxRegistrationCommand_base: {
|
|
|
341
139
|
* taxRegistrationNumberType: "Business" || "Individual",
|
|
342
140
|
* vatRegistrationNumber: "STRING_VALUE",
|
|
343
141
|
* },
|
|
142
|
+
* philippinesAdditionalInfo: { // PhilippinesAdditionalInfo
|
|
143
|
+
* isVatRegistered: true || false,
|
|
144
|
+
* },
|
|
145
|
+
* belgiumAdditionalInfo: { // BelgiumAdditionalInfo
|
|
146
|
+
* peppolId: "STRING_VALUE",
|
|
147
|
+
* isMercuriusBoxEnabled: true || false,
|
|
148
|
+
* },
|
|
149
|
+
* chileAdditionalInfo: { // ChileAdditionalInfo
|
|
150
|
+
* documentType: "Invoice" || "Receipt",
|
|
151
|
+
* businessActivity: "STRING_VALUE",
|
|
152
|
+
* },
|
|
153
|
+
* franceAdditionalInfo: { // FranceAdditionalInfo
|
|
154
|
+
* sirenNumber: "STRING_VALUE", // required
|
|
155
|
+
* },
|
|
344
156
|
* },
|
|
345
157
|
* verificationDetails: { // VerificationDetails
|
|
346
158
|
* dateOfBirth: "STRING_VALUE",
|
|
@@ -381,8 +193,7 @@ declare const PutTaxRegistrationCommand_base: {
|
|
|
381
193
|
* <p>The exception thrown when an unexpected error occurs when processing a request.</p>
|
|
382
194
|
*
|
|
383
195
|
* @throws {@link ValidationException} (client fault)
|
|
384
|
-
* <p>The exception when the input doesn't pass validation for at least one of the input
|
|
385
|
-
* parameters. </p>
|
|
196
|
+
* <p>The exception when the input doesn't pass validation for at least one of the input parameters. </p>
|
|
386
197
|
*
|
|
387
198
|
* @throws {@link TaxSettingsServiceException}
|
|
388
199
|
* <p>Base exception class for all service exceptions from TaxSettings service.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>You can use the tax setting API to programmatically set, modify, and delete the tax
|
|
3
|
-
* registration number (TRN), associated business legal name, and address (Collectively referred
|
|
4
|
-
* to as "TRN information"). You can also programmatically view TRN information and tax addresses
|
|
5
|
-
* ("Tax profiles"). </p>
|
|
6
|
-
* <p>You can use this API to automate your TRN information settings instead of manually using
|
|
7
|
-
* the console.</p>
|
|
8
|
-
* <p>Service Endpoint</p>
|
|
9
|
-
* <ul>
|
|
10
|
-
* <li>
|
|
11
|
-
* <p>https://tax.us-east-1.amazonaws.com</p>
|
|
12
|
-
* </li>
|
|
13
|
-
* </ul>
|
|
2
|
+
* <p>You can use the tax setting API to programmatically set, modify, and delete the tax registration number (TRN), associated business legal name, and address (Collectively referred to as "TRN information"). You can also programmatically view TRN information and tax addresses ("Tax profiles"). </p> <p>You can use this API to automate your TRN information settings instead of manually using the console.</p> <p>Service Endpoint</p> <ul> <li> <p>https://tax.us-east-1.amazonaws.com</p> </li> </ul>
|
|
14
3
|
*
|
|
15
4
|
* @packageDocumentation
|
|
16
5
|
*/
|
|
@@ -11,6 +11,18 @@ export declare const AddressRoleType: {
|
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
13
|
export type AddressRoleType = (typeof AddressRoleType)[keyof typeof AddressRoleType];
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* @enum
|
|
17
|
+
*/
|
|
18
|
+
export declare const ChileDocumentType: {
|
|
19
|
+
readonly INVOICE: "Invoice";
|
|
20
|
+
readonly RECEIPT: "Receipt";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type ChileDocumentType = (typeof ChileDocumentType)[keyof typeof ChileDocumentType];
|
|
14
26
|
/**
|
|
15
27
|
* @public
|
|
16
28
|
* @enum
|
|
@@ -62,6 +74,18 @@ export declare const IsraelDealerType: {
|
|
|
62
74
|
* @public
|
|
63
75
|
*/
|
|
64
76
|
export type IsraelDealerType = (typeof IsraelDealerType)[keyof typeof IsraelDealerType];
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
* @enum
|
|
80
|
+
*/
|
|
81
|
+
export declare const CustomerType: {
|
|
82
|
+
readonly BUSINESS: "Business";
|
|
83
|
+
readonly INDIVIDUAL: "Individual";
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export type CustomerType = (typeof CustomerType)[keyof typeof CustomerType];
|
|
65
89
|
/**
|
|
66
90
|
* @public
|
|
67
91
|
* @enum
|
|
@@ -76,6 +100,19 @@ export declare const MalaysiaServiceTaxCode: {
|
|
|
76
100
|
* @public
|
|
77
101
|
*/
|
|
78
102
|
export type MalaysiaServiceTaxCode = (typeof MalaysiaServiceTaxCode)[keyof typeof MalaysiaServiceTaxCode];
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
* @enum
|
|
106
|
+
*/
|
|
107
|
+
export declare const PolandTaxRegistrationNumberType: {
|
|
108
|
+
readonly EU_TAX_REGISTRATION_NUMBER: "EUTaxRegistrationNumber";
|
|
109
|
+
readonly LOCAL_REGISTRATION_NUMBER: "LocalRegistrationNumber";
|
|
110
|
+
readonly LOCAL_TAX_REGISTRATION_NUMBER: "LocalTaxRegistrationNumber";
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export type PolandTaxRegistrationNumberType = (typeof PolandTaxRegistrationNumberType)[keyof typeof PolandTaxRegistrationNumberType];
|
|
79
116
|
/**
|
|
80
117
|
* @public
|
|
81
118
|
* @enum
|
|
@@ -161,7 +198,9 @@ export declare const TaxRegistrationType: {
|
|
|
161
198
|
readonly CNPJ: "CNPJ";
|
|
162
199
|
readonly CPF: "CPF";
|
|
163
200
|
readonly GST: "GST";
|
|
201
|
+
readonly NIP: "NIP";
|
|
164
202
|
readonly NRIC: "NRIC";
|
|
203
|
+
readonly PAN: "PAN";
|
|
165
204
|
readonly SST: "SST";
|
|
166
205
|
readonly TIN: "TIN";
|
|
167
206
|
readonly VAT: "VAT";
|
|
@@ -204,9 +243,11 @@ export type TaxRegistrationStatus = (typeof TaxRegistrationStatus)[keyof typeof
|
|
|
204
243
|
export declare const ValidationExceptionErrorCode: {
|
|
205
244
|
readonly EXPIRED_TOKEN: "ExpiredToken";
|
|
206
245
|
readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
|
|
246
|
+
readonly GST_EXISTENCE_BLOCK_SET_PAN: "GSTExistenceBlockSetPAN";
|
|
207
247
|
readonly INVALID_TOKEN: "InvalidToken";
|
|
208
248
|
readonly MALFORMED_TOKEN: "MalformedToken";
|
|
209
249
|
readonly MISSING_INPUT: "MissingInput";
|
|
250
|
+
readonly NON_INDIA_CUSTOMER_CAN_NOT_SET_PAN: "NonIndiaCustomerCanNotSetPAN";
|
|
210
251
|
};
|
|
211
252
|
/**
|
|
212
253
|
* @public
|
|
@@ -3,8 +3,7 @@ import type { ValidationExceptionErrorCode } from "./enums";
|
|
|
3
3
|
import type { ValidationExceptionField } from "./models_0";
|
|
4
4
|
import { TaxSettingsServiceException as __BaseException } from "./TaxSettingsServiceException";
|
|
5
5
|
/**
|
|
6
|
-
* <p>The access is denied for the Amazon Web
|
|
7
|
-
* </p>
|
|
6
|
+
* <p>The access is denied for the Amazon Web Services Support API. </p>
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
10
9
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -16,8 +15,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
16
15
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
16
|
}
|
|
18
17
|
/**
|
|
19
|
-
* <p>Failed to upload the tax exemption document to Amazon Web
|
|
20
|
-
* </p>
|
|
18
|
+
* <p>Failed to upload the tax exemption document to Amazon Web Services Support case. </p>
|
|
21
19
|
* @public
|
|
22
20
|
*/
|
|
23
21
|
export declare class AttachmentUploadException extends __BaseException {
|
|
@@ -63,8 +61,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
63
61
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
64
62
|
}
|
|
65
63
|
/**
|
|
66
|
-
* <p>The exception when the input doesn't pass validation for at least one of the input
|
|
67
|
-
* parameters. </p>
|
|
64
|
+
* <p>The exception when the input doesn't pass validation for at least one of the input parameters. </p>
|
|
68
65
|
* @public
|
|
69
66
|
*/
|
|
70
67
|
export declare class ValidationException extends __BaseException {
|
|
@@ -103,8 +100,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
103
100
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
104
101
|
}
|
|
105
102
|
/**
|
|
106
|
-
* <p>You've exceeded the Amazon Web
|
|
107
|
-
* </p>
|
|
103
|
+
* <p>You've exceeded the Amazon Web Services Support case creation limit for your account. </p>
|
|
108
104
|
* @public
|
|
109
105
|
*/
|
|
110
106
|
export declare class CaseCreationLimitExceededException extends __BaseException {
|