@aws-sdk/client-taxsettings 3.787.0 → 3.789.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutTaxRegistrationRequestFilterSensitiveLog = exports.PutSupplementalTaxRegistrationRequestFilterSensitiveLog = exports.SupplementalTaxRegistrationEntryFilterSensitiveLog = exports.ListTaxRegistrationsResponseFilterSensitiveLog = exports.ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = exports.SupplementalTaxRegistrationFilterSensitiveLog = exports.GetTaxRegistrationResponseFilterSensitiveLog = exports.TaxRegistrationFilterSensitiveLog = exports.BatchPutTaxRegistrationResponseFilterSensitiveLog = exports.BatchPutTaxRegistrationErrorFilterSensitiveLog = exports.BatchPutTaxRegistrationRequestFilterSensitiveLog = exports.TaxRegistrationEntryFilterSensitiveLog = exports.BatchDeleteTaxRegistrationResponseFilterSensitiveLog = exports.BatchDeleteTaxRegistrationErrorFilterSensitiveLog = exports.AccountDetailsFilterSensitiveLog = exports.TaxRegistrationWithJurisdictionFilterSensitiveLog = exports.AccountMetaDataFilterSensitiveLog = exports.SupplementalTaxRegistrationType = exports.HeritageStatus = exports.CaseCreationLimitExceededException = exports.ResourceNotFoundException = exports.EntityExemptionAccountStatus = exports.ValidationException = exports.ValidationExceptionErrorCode = exports.InternalServerException = exports.ConflictException = exports.AttachmentUploadException = exports.TaxRegistrationStatus = exports.Sector = exports.TaxRegistrationType = exports.UzbekistanTaxRegistrationNumberType = exports.UkraineTrnType = exports.Industries = exports.RegistrationType = exports.SaudiArabiaTaxRegistrationNumberType = exports.TaxRegistrationNumberType = exports.MalaysiaServiceTaxCode = exports.IsraelDealerType = exports.IsraelCustomerType = exports.PersonType = exports.AddressRoleType = exports.AccessDeniedException = void 0;
3
+ exports.PutTaxRegistrationRequestFilterSensitiveLog = exports.PutSupplementalTaxRegistrationRequestFilterSensitiveLog = exports.SupplementalTaxRegistrationEntryFilterSensitiveLog = exports.ListTaxRegistrationsResponseFilterSensitiveLog = exports.ListSupplementalTaxRegistrationsResponseFilterSensitiveLog = exports.SupplementalTaxRegistrationFilterSensitiveLog = exports.GetTaxRegistrationResponseFilterSensitiveLog = exports.TaxRegistrationFilterSensitiveLog = exports.BatchPutTaxRegistrationResponseFilterSensitiveLog = exports.BatchPutTaxRegistrationErrorFilterSensitiveLog = exports.BatchPutTaxRegistrationRequestFilterSensitiveLog = exports.TaxRegistrationEntryFilterSensitiveLog = exports.BatchDeleteTaxRegistrationResponseFilterSensitiveLog = exports.BatchDeleteTaxRegistrationErrorFilterSensitiveLog = exports.AccountDetailsFilterSensitiveLog = exports.TaxRegistrationWithJurisdictionFilterSensitiveLog = exports.AccountMetaDataFilterSensitiveLog = exports.SupplementalTaxRegistrationType = exports.HeritageStatus = exports.CaseCreationLimitExceededException = exports.ResourceNotFoundException = exports.EntityExemptionAccountStatus = exports.ValidationException = exports.ValidationExceptionErrorCode = exports.InternalServerException = exports.ConflictException = exports.AttachmentUploadException = exports.TaxRegistrationStatus = exports.Sector = exports.TaxRegistrationType = exports.UzbekistanTaxRegistrationNumberType = exports.UkraineTrnType = exports.Industries = exports.RegistrationType = exports.SaudiArabiaTaxRegistrationNumberType = exports.TaxRegistrationNumberType = exports.MalaysiaServiceTaxCode = exports.IsraelDealerType = exports.IsraelCustomerType = exports.IndonesiaTaxRegistrationNumberType = exports.PersonType = exports.AddressRoleType = exports.AccessDeniedException = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const TaxSettingsServiceException_1 = require("./TaxSettingsServiceException");
6
6
  class AccessDeniedException extends TaxSettingsServiceException_1.TaxSettingsServiceException {
@@ -26,6 +26,12 @@ exports.PersonType = {
26
26
  LEGAL_PERSON: "Legal Person",
27
27
  PHYSICAL_PERSON: "Physical Person",
28
28
  };
29
+ exports.IndonesiaTaxRegistrationNumberType = {
30
+ NIK: "NIK",
31
+ NITKU: "NITKU",
32
+ NPWP: "NPWP",
33
+ PASSPORT_NUMBER: "PassportNumber",
34
+ };
29
35
  exports.IsraelCustomerType = {
30
36
  BUSINESS: "Business",
31
37
  INDIVIDUAL: "Individual",
@@ -22,6 +22,12 @@ export const PersonType = {
22
22
  LEGAL_PERSON: "Legal Person",
23
23
  PHYSICAL_PERSON: "Physical Person",
24
24
  };
25
+ export const IndonesiaTaxRegistrationNumberType = {
26
+ NIK: "NIK",
27
+ NITKU: "NITKU",
28
+ NPWP: "NPWP",
29
+ PASSPORT_NUMBER: "PassportNumber",
30
+ };
25
31
  export const IsraelCustomerType = {
26
32
  BUSINESS: "Business",
27
33
  INDIVIDUAL: "Individual",
@@ -61,6 +61,29 @@ declare const BatchPutTaxRegistrationCommand_base: {
61
61
  * </li>
62
62
  * </ul>
63
63
  * <p>
64
+ * <b>Indonesia</b>
65
+ * </p>
66
+ * <ul>
67
+ * <li>
68
+ * <p>
69
+ * <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>
70
+ * </li>
71
+ * <li>
72
+ * <p>
73
+ * <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>
74
+ * </li>
75
+ * <li>
76
+ * <p>You must specify the <code>taxRegistrationNumberType</code> in the <code>indonesiaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p>
77
+ * </li>
78
+ * <li>
79
+ * <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>
80
+ * <p>For other <code>taxRegistrationNumberType</code> values, <code>ppnExceptionDesignationCode</code> must be either <code>01</code>, <code>07</code>, or <code>08</code>.</p>
81
+ * </li>
82
+ * <li>
83
+ * <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>
84
+ * </li>
85
+ * </ul>
86
+ * <p>
64
87
  * <b>Kenya</b>
65
88
  * </p>
66
89
  * <ul>
@@ -295,6 +318,11 @@ declare const BatchPutTaxRegistrationCommand_base: {
295
318
  * saudiArabiaAdditionalInfo: { // SaudiArabiaAdditionalInfo
296
319
  * taxRegistrationNumberType: "TaxRegistrationNumber" || "TaxIdentificationNumber" || "CommercialRegistrationNumber",
297
320
  * },
321
+ * indonesiaAdditionalInfo: { // IndonesiaAdditionalInfo
322
+ * taxRegistrationNumberType: "NIK" || "PassportNumber" || "NPWP" || "NITKU",
323
+ * ppnExceptionDesignationCode: "STRING_VALUE",
324
+ * decisionNumber: "STRING_VALUE",
325
+ * },
298
326
  * vietnamAdditionalInfo: { // VietnamAdditionalInfo
299
327
  * enterpriseIdentificationNumber: "STRING_VALUE",
300
328
  * electronicTransactionCodeNumber: "STRING_VALUE",
@@ -120,6 +120,11 @@ declare const GetTaxRegistrationCommand_base: {
120
120
  * // indiaAdditionalInfo: { // IndiaAdditionalInfo
121
121
  * // pan: "STRING_VALUE",
122
122
  * // },
123
+ * // indonesiaAdditionalInfo: { // IndonesiaAdditionalInfo
124
+ * // taxRegistrationNumberType: "NIK" || "PassportNumber" || "NPWP" || "NITKU",
125
+ * // ppnExceptionDesignationCode: "STRING_VALUE",
126
+ * // decisionNumber: "STRING_VALUE",
127
+ * // },
123
128
  * // vietnamAdditionalInfo: { // VietnamAdditionalInfo
124
129
  * // enterpriseIdentificationNumber: "STRING_VALUE",
125
130
  * // electronicTransactionCodeNumber: "STRING_VALUE",
@@ -126,6 +126,11 @@ declare const ListTaxRegistrationsCommand_base: {
126
126
  * // indiaAdditionalInfo: { // IndiaAdditionalInfo
127
127
  * // pan: "STRING_VALUE",
128
128
  * // },
129
+ * // indonesiaAdditionalInfo: { // IndonesiaAdditionalInfo
130
+ * // taxRegistrationNumberType: "NIK" || "PassportNumber" || "NPWP" || "NITKU",
131
+ * // ppnExceptionDesignationCode: "STRING_VALUE",
132
+ * // decisionNumber: "STRING_VALUE",
133
+ * // },
129
134
  * // vietnamAdditionalInfo: { // VietnamAdditionalInfo
130
135
  * // enterpriseIdentificationNumber: "STRING_VALUE",
131
136
  * // electronicTransactionCodeNumber: "STRING_VALUE",
@@ -60,6 +60,29 @@ declare const PutTaxRegistrationCommand_base: {
60
60
  * </li>
61
61
  * </ul>
62
62
  * <p>
63
+ * <b>Indonesia</b>
64
+ * </p>
65
+ * <ul>
66
+ * <li>
67
+ * <p>
68
+ * <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>
69
+ * </li>
70
+ * <li>
71
+ * <p>
72
+ * <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>
73
+ * </li>
74
+ * <li>
75
+ * <p>You must specify the <code>taxRegistrationNumberType</code> in the <code>indonesiaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p>
76
+ * </li>
77
+ * <li>
78
+ * <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>
79
+ * <p>For other <code>taxRegistrationNumberType</code> values, <code>ppnExceptionDesignationCode</code> must be either <code>01</code>, <code>07</code>, or <code>08</code>.</p>
80
+ * </li>
81
+ * <li>
82
+ * <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>
83
+ * </li>
84
+ * </ul>
85
+ * <p>
63
86
  * <b>Kenya</b>
64
87
  * </p>
65
88
  * <ul>
@@ -292,6 +315,11 @@ declare const PutTaxRegistrationCommand_base: {
292
315
  * saudiArabiaAdditionalInfo: { // SaudiArabiaAdditionalInfo
293
316
  * taxRegistrationNumberType: "TaxRegistrationNumber" || "TaxIdentificationNumber" || "CommercialRegistrationNumber",
294
317
  * },
318
+ * indonesiaAdditionalInfo: { // IndonesiaAdditionalInfo
319
+ * taxRegistrationNumberType: "NIK" || "PassportNumber" || "NPWP" || "NITKU",
320
+ * ppnExceptionDesignationCode: "STRING_VALUE",
321
+ * decisionNumber: "STRING_VALUE",
322
+ * },
295
323
  * vietnamAdditionalInfo: { // VietnamAdditionalInfo
296
324
  * enterpriseIdentificationNumber: "STRING_VALUE",
297
325
  * electronicTransactionCodeNumber: "STRING_VALUE",
@@ -310,6 +310,41 @@ export interface IndiaAdditionalInfo {
310
310
  */
311
311
  pan?: string | undefined;
312
312
  }
313
+ /**
314
+ * @public
315
+ * @enum
316
+ */
317
+ export declare const IndonesiaTaxRegistrationNumberType: {
318
+ readonly NIK: "NIK";
319
+ readonly NITKU: "NITKU";
320
+ readonly NPWP: "NPWP";
321
+ readonly PASSPORT_NUMBER: "PassportNumber";
322
+ };
323
+ /**
324
+ * @public
325
+ */
326
+ export type IndonesiaTaxRegistrationNumberType = (typeof IndonesiaTaxRegistrationNumberType)[keyof typeof IndonesiaTaxRegistrationNumberType];
327
+ /**
328
+ * <p>Additional tax information associated with your TRN in Indonesia.</p>
329
+ * @public
330
+ */
331
+ export interface IndonesiaAdditionalInfo {
332
+ /**
333
+ * <p>The tax registration number type.</p>
334
+ * @public
335
+ */
336
+ taxRegistrationNumberType?: IndonesiaTaxRegistrationNumberType | undefined;
337
+ /**
338
+ * <p>Exception code if you are designated by Directorate General of Taxation (DGT) as a VAT collector, non-collected VAT, or VAT-exempt customer.</p>
339
+ * @public
340
+ */
341
+ ppnExceptionDesignationCode?: string | undefined;
342
+ /**
343
+ * <p>VAT-exempt customers have a Directorate General of Taxation (DGT) exemption letter or certificate (Surat Keterangan Bebas) decision number. Non-collected VAT have a DGT letter or certificate (Surat Keterangan Tidak Dipungut).</p>
344
+ * @public
345
+ */
346
+ decisionNumber?: string | undefined;
347
+ }
313
348
  /**
314
349
  * @public
315
350
  * @enum
@@ -796,6 +831,11 @@ export interface AdditionalInfoResponse {
796
831
  * @public
797
832
  */
798
833
  indiaAdditionalInfo?: IndiaAdditionalInfo | undefined;
834
+ /**
835
+ * <p>Additional tax information associated with your TRN in Indonesia.</p>
836
+ * @public
837
+ */
838
+ indonesiaAdditionalInfo?: IndonesiaAdditionalInfo | undefined;
799
839
  /**
800
840
  * <p>Additional tax information to specify for a TRN in Vietnam.
801
841
  * </p>
@@ -1064,6 +1104,12 @@ export interface AdditionalInfoRequest {
1064
1104
  * @public
1065
1105
  */
1066
1106
  saudiArabiaAdditionalInfo?: SaudiArabiaAdditionalInfo | undefined;
1107
+ /**
1108
+ * <p>
1109
+ * </p>
1110
+ * @public
1111
+ */
1112
+ indonesiaAdditionalInfo?: IndonesiaAdditionalInfo | undefined;
1067
1113
  /**
1068
1114
  * <p>Additional tax information to specify for a TRN in Vietnam.
1069
1115
  * </p>
@@ -71,6 +71,19 @@ export interface GreeceAdditionalInfo {
71
71
  export interface IndiaAdditionalInfo {
72
72
  pan?: string | undefined;
73
73
  }
74
+ export declare const IndonesiaTaxRegistrationNumberType: {
75
+ readonly NIK: "NIK";
76
+ readonly NITKU: "NITKU";
77
+ readonly NPWP: "NPWP";
78
+ readonly PASSPORT_NUMBER: "PassportNumber";
79
+ };
80
+ export type IndonesiaTaxRegistrationNumberType =
81
+ (typeof IndonesiaTaxRegistrationNumberType)[keyof typeof IndonesiaTaxRegistrationNumberType];
82
+ export interface IndonesiaAdditionalInfo {
83
+ taxRegistrationNumberType?: IndonesiaTaxRegistrationNumberType | undefined;
84
+ ppnExceptionDesignationCode?: string | undefined;
85
+ decisionNumber?: string | undefined;
86
+ }
74
87
  export declare const IsraelCustomerType: {
75
88
  readonly BUSINESS: "Business";
76
89
  readonly INDIVIDUAL: "Individual";
@@ -203,6 +216,7 @@ export interface AdditionalInfoResponse {
203
216
  polandAdditionalInfo?: PolandAdditionalInfo | undefined;
204
217
  saudiArabiaAdditionalInfo?: SaudiArabiaAdditionalInfo | undefined;
205
218
  indiaAdditionalInfo?: IndiaAdditionalInfo | undefined;
219
+ indonesiaAdditionalInfo?: IndonesiaAdditionalInfo | undefined;
206
220
  vietnamAdditionalInfo?: VietnamAdditionalInfo | undefined;
207
221
  egyptAdditionalInfo?: EgyptAdditionalInfo | undefined;
208
222
  greeceAdditionalInfo?: GreeceAdditionalInfo | undefined;
@@ -269,6 +283,7 @@ export interface AdditionalInfoRequest {
269
283
  ukraineAdditionalInfo?: UkraineAdditionalInfo | undefined;
270
284
  polandAdditionalInfo?: PolandAdditionalInfo | undefined;
271
285
  saudiArabiaAdditionalInfo?: SaudiArabiaAdditionalInfo | undefined;
286
+ indonesiaAdditionalInfo?: IndonesiaAdditionalInfo | undefined;
272
287
  vietnamAdditionalInfo?: VietnamAdditionalInfo | undefined;
273
288
  egyptAdditionalInfo?: EgyptAdditionalInfo | undefined;
274
289
  greeceAdditionalInfo?: GreeceAdditionalInfo | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-taxsettings",
3
3
  "description": "AWS SDK for JavaScript Taxsettings Client for Node.js, Browser and React Native",
4
- "version": "3.787.0",
4
+ "version": "3.789.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",