BatchPutTaxRegistration
Adds or updates tax registration for multiple accounts in batch. This can be used to add or update tax registrations for up to five accounts in one batch. You can't set a TRN if there's a pending TRN. You'll need to delete the pending TRN first.
To call this API operation for specific countries, see the following country-specific requirements.
Bangladesh
-
You must specify the tax registration certificate document in the
taxRegistrationDocumentsfield of theVerificationDetailsobject.
Brazil
-
You must complete the tax registration process in the Payment preferences
page in the AWS Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation. -
For AWS accounts created through AWS Organizations, you can call this API operation when you don't have a billing address.
Georgia
-
The valid
personTypevalues arePhysical PersonandBusiness.
Indonesia
-
PutTaxRegistration: The use of this operation to submit tax information is subject to the AWS service terms. By submitting, you’re providing consent for AWS 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. -
BatchPutTaxRegistration: The use of this operation to submit tax information is subject to the AWS service terms. By submitting, you’re providing consent for AWS 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). -
You must specify the
taxRegistrationNumberTypein theindonesiaAdditionalInfofield of theadditionalTaxInformationobject. -
If you specify
decisionNumber, you must specify theppnExceptionDesignationCodein theindonesiaAdditionalInfofield of theadditionalTaxInformationobject. If thetaxRegistrationNumberTypeis set to NPWP or NITKU, valid values forppnExceptionDesignationCodeare either01,02,03,07, or08.For other
taxRegistrationNumberTypevalues,ppnExceptionDesignationCodemust be either01,07, or08. -
If
ppnExceptionDesignationCodeis07or08, you must specify thedecisionNumberin theindonesiaAdditionalInfofield of theadditionalTaxInformationobject.
Kenya
-
You must specify the
personTypein thekenyaAdditionalInfofield of theadditionalTaxInformationobject. -
If the
personTypeisPhysical Person, you must specify the tax registration certificate document in thetaxRegistrationDocumentsfield of theVerificationDetailsobject.
Malaysia
-
The sector valid values are
BusinessandIndividual. -
RegistrationTypevalid values areNRICfor individual, and TIN and sales and service tax (SST) for Business. -
For individual, you can specify the
taxInformationNumberinMalaysiaAdditionalInfowith NRIC type, and a validMyKador NRIC number. -
For business, you must specify a
businessRegistrationNumberinMalaysiaAdditionalInfowith a TIN type and tax identification number. -
For business resellers, you must specify a
businessRegistrationNumberandtaxInformationNumberinMalaysiaAdditionalInfowith a sales and service tax (SST) type and a valid SST number. -
For business resellers with service codes, you must specify
businessRegistrationNumber,taxInformationNumber, and distinctserviceTaxCodesinMalaysiaAdditionalInfowith a SST type and valid sales and service tax (SST) number. By using this API operation, AWS 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. -
AWS reserves the right to seek additional information and/or take other actions to support your self-declaration as appropriate.
-
AWS 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.
Taxable service and service tax codes:
Consultancy - 9907061674
Training or coaching service - 9907071685
IT service - 9907101676
Digital services and electronic medium - 9907121690
Mexico
-
You must provide a Constancia de Situación fiscal (CSF) document in the verificationDetails field.
-
You do not need to provide address and legal name. These will be populated based on your tax registration number.
Nepal
-
The sector valid values are
BusinessandIndividual.
Saudi Arabia
-
For
address, you must specifyaddressLine3.
South Korea
-
You must specify the
certifiedEmailIdandlegalNamein theTaxRegistrationEntryobject. Use Korean characters forlegalName. -
You must specify the
businessRepresentativeName,itemOfBusiness, andlineOfBusinessin thesouthKoreaAdditionalInfofield of theadditionalTaxInformationobject. Use Korean characters for these fields. -
You must specify the tax registration certificate document in the
taxRegistrationDocumentsfield of theVerificationDetailsobject. -
For the
addressobject, use Korean characters foraddressLine1,addressLine2city,postalCode, andstateOrRegion.
Spain
-
You must specify the
registrationTypein thespainAdditionalInfofield of theadditionalTaxInformationobject. -
If the
registrationTypeisLocal, you must specify the tax registration certificate document in thetaxRegistrationDocumentsfield of theVerificationDetailsobject.
Turkey
-
You must specify the
sectorin thetaxRegistrationEntryobject. -
If your
sectorisBusiness,Individual, orGovernment:-
Specify the
taxOffice. If yoursectorisIndividual, don't enter this value. -
(Optional) Specify the
kepEmailId. If yoursectorisIndividual, don't enter this value. -
Note: In the Tax Settings page of the AWS Billing console,
Governmentappears as Public institutions
-
-
If your
sectorisBusinessand you're subject to KDV tax, you must specify your industry in theindustriesfield. -
For
address, you must specifydistrictOrCounty.
Ukraine
-
The sector valid values are
BusinessandIndividual.
Request Syntax
POST /BatchPutTaxRegistration HTTP/1.1
Content-type: application/json
{
"accountIds": [ "string" ],
"taxRegistrationEntry": {
"additionalTaxInformation": {
"canadaAdditionalInfo": {
"canadaQuebecSalesTaxNumber": "string",
"canadaRetailSalesTaxNumber": "string",
"isResellerAccount": boolean,
"provincialSalesTaxId": "string"
},
"egyptAdditionalInfo": {
"uniqueIdentificationNumber": "string",
"uniqueIdentificationNumberExpirationDate": "string"
},
"estoniaAdditionalInfo": {
"registryCommercialCode": "string"
},
"georgiaAdditionalInfo": {
"personType": "string"
},
"greeceAdditionalInfo": {
"contractingAuthorityCode": "string"
},
"indonesiaAdditionalInfo": {
"decisionNumber": "string",
"ppnExceptionDesignationCode": "string",
"taxRegistrationNumberType": "string"
},
"israelAdditionalInfo": {
"customerType": "string",
"dealerType": "string"
},
"italyAdditionalInfo": {
"cigNumber": "string",
"cupNumber": "string",
"sdiAccountId": "string",
"taxCode": "string"
},
"kenyaAdditionalInfo": {
"personType": "string"
},
"malaysiaAdditionalInfo": {
"businessRegistrationNumber": "string",
"serviceTaxCodes": [ "string" ],
"taxInformationNumber": "string"
},
"polandAdditionalInfo": {
"individualRegistrationNumber": "string",
"isGroupVatEnabled": boolean
},
"romaniaAdditionalInfo": {
"taxRegistrationNumberType": "string"
},
"saudiArabiaAdditionalInfo": {
"taxRegistrationNumberType": "string"
},
"southKoreaAdditionalInfo": {
"businessRepresentativeName": "string",
"itemOfBusiness": "string",
"lineOfBusiness": "string"
},
"spainAdditionalInfo": {
"registrationType": "string"
},
"turkeyAdditionalInfo": {
"industries": "string",
"kepEmailId": "string",
"secondaryTaxId": "string",
"taxOffice": "string"
},
"ukraineAdditionalInfo": {
"ukraineTrnType": "string"
},
"uzbekistanAdditionalInfo": {
"taxRegistrationNumberType": "string",
"vatRegistrationNumber": "string"
},
"vietnamAdditionalInfo": {
"electronicTransactionCodeNumber": "string",
"enterpriseIdentificationNumber": "string",
"paymentVoucherNumber": "string",
"paymentVoucherNumberDate": "string"
}
},
"certifiedEmailId": "string",
"legalAddress": {
"addressLine1": "string",
"addressLine2": "string",
"addressLine3": "string",
"city": "string",
"countryCode": "string",
"districtOrCounty": "string",
"postalCode": "string",
"stateOrRegion": "string"
},
"legalName": "string",
"registrationId": "string",
"registrationType": "string",
"sector": "string",
"verificationDetails": {
"dateOfBirth": "string",
"taxRegistrationDocuments": [
{
"file": {
"fileContent": blob,
"fileName": "string"
},
"s3Location": {
"bucket": "string",
"key": "string"
}
}
]
}
}
}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
- accountIds
-
List of unique account identifiers.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 550 items.
Length Constraints: Fixed length of 12.
Pattern:
\d+Required: Yes
- taxRegistrationEntry
-
Your TRN information that will be stored to the accounts mentioned in
putEntries.Type: TaxRegistrationEntry object
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"errors": [
{
"accountId": "string",
"code": "string",
"message": "string"
}
],
"status": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- errors
-
List of errors for the accounts the TRN information could not be added or updated to.
Type: Array of BatchPutTaxRegistrationError objects
- status
-
The status of your TRN stored in the system after processing. Based on the validation occurring on the TRN, the status can be
Verified,PendingorRejected.Type: String
Valid Values:
Verified | Pending | Deleted | Rejected
Errors
For information about the errors that are common to all actions, see Common Errors.
- ConflictException
-
The exception when the input is creating conflict with the given state.
- errorCode
-
409
HTTP Status Code: 409
- InternalServerException
-
The exception thrown when an unexpected error occurs when processing a request.
- errorCode
-
500
HTTP Status Code: 500
- ValidationException
-
The exception when the input doesn't pass validation for at least one of the input parameters.
- errorCode
-
400
- fieldList
-
400
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: