Skip to content

Commit 24e5bc7

Browse files
author
awstools
committed
feat(client-taxsettings): Indonesia SOR Tax Registration Launch
1 parent 37b59f9 commit 24e5bc7

File tree

7 files changed

+206
-2
lines changed

7 files changed

+206
-2
lines changed

Diff for: clients/client-taxsettings/src/commands/BatchPutTaxRegistrationCommand.ts

+28
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,29 @@ export interface BatchPutTaxRegistrationCommandOutput extends BatchPutTaxRegistr
6767
* </li>
6868
* </ul>
6969
* <p>
70+
* <b>Indonesia</b>
71+
* </p>
72+
* <ul>
73+
* <li>
74+
* <p>
75+
* <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>
76+
* </li>
77+
* <li>
78+
* <p>
79+
* <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>
80+
* </li>
81+
* <li>
82+
* <p>You must specify the <code>taxRegistrationNumberType</code> in the <code>indonesiaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p>
83+
* </li>
84+
* <li>
85+
* <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>
86+
* <p>For other <code>taxRegistrationNumberType</code> values, <code>ppnExceptionDesignationCode</code> must be either <code>01</code>, <code>07</code>, or <code>08</code>.</p>
87+
* </li>
88+
* <li>
89+
* <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>
90+
* </li>
91+
* </ul>
92+
* <p>
7093
* <b>Kenya</b>
7194
* </p>
7295
* <ul>
@@ -301,6 +324,11 @@ export interface BatchPutTaxRegistrationCommandOutput extends BatchPutTaxRegistr
301324
* saudiArabiaAdditionalInfo: { // SaudiArabiaAdditionalInfo
302325
* taxRegistrationNumberType: "TaxRegistrationNumber" || "TaxIdentificationNumber" || "CommercialRegistrationNumber",
303326
* },
327+
* indonesiaAdditionalInfo: { // IndonesiaAdditionalInfo
328+
* taxRegistrationNumberType: "NIK" || "PassportNumber" || "NPWP" || "NITKU",
329+
* ppnExceptionDesignationCode: "STRING_VALUE",
330+
* decisionNumber: "STRING_VALUE",
331+
* },
304332
* vietnamAdditionalInfo: { // VietnamAdditionalInfo
305333
* enterpriseIdentificationNumber: "STRING_VALUE",
306334
* electronicTransactionCodeNumber: "STRING_VALUE",

Diff for: clients/client-taxsettings/src/commands/GetTaxRegistrationCommand.ts

+5
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ export interface GetTaxRegistrationCommandOutput extends GetTaxRegistrationRespo
125125
* // indiaAdditionalInfo: { // IndiaAdditionalInfo
126126
* // pan: "STRING_VALUE",
127127
* // },
128+
* // indonesiaAdditionalInfo: { // IndonesiaAdditionalInfo
129+
* // taxRegistrationNumberType: "NIK" || "PassportNumber" || "NPWP" || "NITKU",
130+
* // ppnExceptionDesignationCode: "STRING_VALUE",
131+
* // decisionNumber: "STRING_VALUE",
132+
* // },
128133
* // vietnamAdditionalInfo: { // VietnamAdditionalInfo
129134
* // enterpriseIdentificationNumber: "STRING_VALUE",
130135
* // electronicTransactionCodeNumber: "STRING_VALUE",

Diff for: clients/client-taxsettings/src/commands/ListTaxRegistrationsCommand.ts

+5
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ export interface ListTaxRegistrationsCommandOutput extends ListTaxRegistrationsR
131131
* // indiaAdditionalInfo: { // IndiaAdditionalInfo
132132
* // pan: "STRING_VALUE",
133133
* // },
134+
* // indonesiaAdditionalInfo: { // IndonesiaAdditionalInfo
135+
* // taxRegistrationNumberType: "NIK" || "PassportNumber" || "NPWP" || "NITKU",
136+
* // ppnExceptionDesignationCode: "STRING_VALUE",
137+
* // decisionNumber: "STRING_VALUE",
138+
* // },
134139
* // vietnamAdditionalInfo: { // VietnamAdditionalInfo
135140
* // enterpriseIdentificationNumber: "STRING_VALUE",
136141
* // electronicTransactionCodeNumber: "STRING_VALUE",

Diff for: clients/client-taxsettings/src/commands/PutTaxRegistrationCommand.ts

+28
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,29 @@ export interface PutTaxRegistrationCommandOutput extends PutTaxRegistrationRespo
6565
* </li>
6666
* </ul>
6767
* <p>
68+
* <b>Indonesia</b>
69+
* </p>
70+
* <ul>
71+
* <li>
72+
* <p>
73+
* <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>
74+
* </li>
75+
* <li>
76+
* <p>
77+
* <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>
78+
* </li>
79+
* <li>
80+
* <p>You must specify the <code>taxRegistrationNumberType</code> in the <code>indonesiaAdditionalInfo</code> field of the <code>additionalTaxInformation</code> object.</p>
81+
* </li>
82+
* <li>
83+
* <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>
84+
* <p>For other <code>taxRegistrationNumberType</code> values, <code>ppnExceptionDesignationCode</code> must be either <code>01</code>, <code>07</code>, or <code>08</code>.</p>
85+
* </li>
86+
* <li>
87+
* <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>
88+
* </li>
89+
* </ul>
90+
* <p>
6891
* <b>Kenya</b>
6992
* </p>
7093
* <ul>
@@ -297,6 +320,11 @@ export interface PutTaxRegistrationCommandOutput extends PutTaxRegistrationRespo
297320
* saudiArabiaAdditionalInfo: { // SaudiArabiaAdditionalInfo
298321
* taxRegistrationNumberType: "TaxRegistrationNumber" || "TaxIdentificationNumber" || "CommercialRegistrationNumber",
299322
* },
323+
* indonesiaAdditionalInfo: { // IndonesiaAdditionalInfo
324+
* taxRegistrationNumberType: "NIK" || "PassportNumber" || "NPWP" || "NITKU",
325+
* ppnExceptionDesignationCode: "STRING_VALUE",
326+
* decisionNumber: "STRING_VALUE",
327+
* },
300328
* vietnamAdditionalInfo: { // VietnamAdditionalInfo
301329
* enterpriseIdentificationNumber: "STRING_VALUE",
302330
* electronicTransactionCodeNumber: "STRING_VALUE",

Diff for: clients/client-taxsettings/src/models/models_0.ts

+54
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,47 @@ export interface IndiaAdditionalInfo {
354354
pan?: string | undefined;
355355
}
356356

357+
/**
358+
* @public
359+
* @enum
360+
*/
361+
export const IndonesiaTaxRegistrationNumberType = {
362+
NIK: "NIK",
363+
NITKU: "NITKU",
364+
NPWP: "NPWP",
365+
PASSPORT_NUMBER: "PassportNumber",
366+
} as const;
367+
368+
/**
369+
* @public
370+
*/
371+
export type IndonesiaTaxRegistrationNumberType =
372+
(typeof IndonesiaTaxRegistrationNumberType)[keyof typeof IndonesiaTaxRegistrationNumberType];
373+
374+
/**
375+
* <p>Additional tax information associated with your TRN in Indonesia.</p>
376+
* @public
377+
*/
378+
export interface IndonesiaAdditionalInfo {
379+
/**
380+
* <p>The tax registration number type.</p>
381+
* @public
382+
*/
383+
taxRegistrationNumberType?: IndonesiaTaxRegistrationNumberType | undefined;
384+
385+
/**
386+
* <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>
387+
* @public
388+
*/
389+
ppnExceptionDesignationCode?: string | undefined;
390+
391+
/**
392+
* <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>
393+
* @public
394+
*/
395+
decisionNumber?: string | undefined;
396+
}
397+
357398
/**
358399
* @public
359400
* @enum
@@ -905,6 +946,12 @@ export interface AdditionalInfoResponse {
905946
*/
906947
indiaAdditionalInfo?: IndiaAdditionalInfo | undefined;
907948

949+
/**
950+
* <p>Additional tax information associated with your TRN in Indonesia.</p>
951+
* @public
952+
*/
953+
indonesiaAdditionalInfo?: IndonesiaAdditionalInfo | undefined;
954+
908955
/**
909956
* <p>Additional tax information to specify for a TRN in Vietnam.
910957
* </p>
@@ -1212,6 +1259,13 @@ export interface AdditionalInfoRequest {
12121259
*/
12131260
saudiArabiaAdditionalInfo?: SaudiArabiaAdditionalInfo | undefined;
12141261

1262+
/**
1263+
* <p>
1264+
* </p>
1265+
* @public
1266+
*/
1267+
indonesiaAdditionalInfo?: IndonesiaAdditionalInfo | undefined;
1268+
12151269
/**
12161270
* <p>Additional tax information to specify for a TRN in Vietnam.
12171271
* </p>

Diff for: clients/client-taxsettings/src/protocols/Aws_restJson1.ts

+5
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ import {
8383
ExemptionCertificate,
8484
GeorgiaAdditionalInfo,
8585
GreeceAdditionalInfo,
86+
IndonesiaAdditionalInfo,
8687
InternalServerException,
8788
IsraelAdditionalInfo,
8889
ItalyAdditionalInfo,
@@ -1001,6 +1002,8 @@ const se_ExemptionCertificate = (input: ExemptionCertificate, context: __SerdeCo
10011002

10021003
// se_GreeceAdditionalInfo omitted.
10031004

1005+
// se_IndonesiaAdditionalInfo omitted.
1006+
10041007
// se_IsraelAdditionalInfo omitted.
10051008

10061009
// se_ItalyAdditionalInfo omitted.
@@ -1132,6 +1135,8 @@ const se_VerificationDetails = (input: VerificationDetails, context: __SerdeCont
11321135

11331136
// de_IndiaAdditionalInfo omitted.
11341137

1138+
// de_IndonesiaAdditionalInfo omitted.
1139+
11351140
// de_IsraelAdditionalInfo omitted.
11361141

11371142
// de_ItalyAdditionalInfo omitted.

0 commit comments

Comments
 (0)