[ aws . taxsettings ]
put-tax-registration
Description
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.
To call this API operation for specific countries, see the following country-specific requirements.
- You must specify the tax registration certificate document in the
taxRegistrationDocumentsfield of theVerificationDetailsobject.
- You must complete the tax registration process in the Payment preferences page in the Billing and Cost Management console. After your TRN and billing address are verified, you can call this API operation.
- For Amazon Web Services accounts created through Organizations, you can call this API operation when you don’t have a billing address.
- The valid
personTypevalues arePhysical PersonandBusiness.
-
PutTaxRegistration: The use of this operation to submit tax information is subject to the Amazon Web Services service terms . 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. -
BatchPutTaxRegistration: The use of this operation to submit tax information is subject to the Amazon Web Services service terms . 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). - 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 othertaxRegistrationNumberTypevalues,ppnExceptionDesignationCodemust be either01,07, or08. - If
ppnExceptionDesignationCodeis07, you must specify thedecisionNumberin theindonesiaAdditionalInfofield of theadditionalTaxInformationobject.
- You must specify the
personTypein thekenyaAdditionalInfofield of theadditionalTaxInformationobject. - If the
personTypeisPhysical Person, you must specify the tax registration certificate document in thetaxRegistrationDocumentsfield of theVerificationDetailsobject.
- 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, 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. - Amazon Web Services reserves the right to seek additional information and/or take other actions to support your self-declaration as appropriate.
- 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. Taxable service and service tax codes: Consultancy - 9907061674 Training or coaching service - 9907071685 IT service - 9907101676 Digital services and electronic medium - 9907121690
- The sector valid values are
BusinessandIndividual.
- For
address, you must specifyaddressLine3.
- 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.
- You must specify the
registrationTypein thespainAdditionalInfofield of theadditionalTaxInformationobject. - If the
registrationTypeisLocal, you must specify the tax registration certificate document in thetaxRegistrationDocumentsfield of theVerificationDetailsobject.
- 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 Billing console,
Governmentappears as Public institutions
- Specify the
- If your
sectorisBusinessand you’re subject to KDV tax, you must specify your industry in theindustriesfield. - For
address, you must specifydistrictOrCounty.
- The sector valid values are
BusinessandIndividual.
See also: AWS API Documentation
Synopsis
put-tax-registration
[--account-id <value>]
--tax-registration-entry <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
Options
--account-id (string)
--tax-registration-entry (structure)
Your TRN information that will be stored to the account mentioned in accountId .
additionalTaxInformation -> (structure)
Additional tax information associated with your TRN. You only need to specify this parameter if Amazon Web Services collects any additional information for your country within AdditionalInfoRequest .
canadaAdditionalInfo -> (structure)
Additional tax information associated with your TRN in Canada.
canadaQuebecSalesTaxNumber -> (string)
canadaRetailSalesTaxNumber -> (string)
isResellerAccount -> (boolean)
The value for this parameter must be true if the provincialSalesTaxId value is provided for a TRN in British Columbia, Saskatchewan, or Manitoba provinces.
To claim a provincial sales tax (PST) and retail sales tax (RST) reseller exemption, you must confirm that purchases from this account were made for resale. Otherwise, remove the PST or RST number from the provincialSalesTaxId parameter from your request.
provincialSalesTaxId -> (string)
The provincial sales tax ID for your TRN in Canada. This parameter can represent the following:
- Provincial sales tax ID number for British Columbia and Saskatchewan provinces
- Manitoba retail sales tax ID number for Manitoba province
- Quebec sales tax ID number for Quebec province
The Tax Setting API only accepts this parameter if the TRN is specified for the previous provinces. For other provinces, the Tax Settings API doesn’t accept this parameter.
egyptAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Egypt.
uniqueIdentificationNumber -> (string)
uniqueIdentificationNumberExpirationDate -> (string)
estoniaAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Estonia.
registryCommercialCode -> (string)
12345678 .georgiaAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Georgia.
personType -> (string)
greeceAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Greece.
contractingAuthorityCode -> (string)
indonesiaAdditionalInfo -> (structure)
decisionNumber -> (string)
ppnExceptionDesignationCode -> (string)
taxRegistrationNumberType -> (string)
israelAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Israel.
customerType -> (string)
Business or Individual . Use Business for entities such as not-for-profit and financial institutions.dealerType -> (string)
italyAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Italy.
cigNumber -> (string)
cupNumber -> (string)
sdiAccountId -> (string)
taxCode -> (string)
kenyaAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Kenya.
personType -> (string)
malaysiaAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Malaysia.
businessRegistrationNumber -> (string)
The tax registration number (TRN) in Malaysia.
For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number. For business, you must specify a businessRegistrationNumber in MalaysiaAdditionalInfo with a TIN type and tax identification number. For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number.
For business resellers with service codes, you must specify businessRegistrationNumber , taxInformationNumber , and distinct serviceTaxCodes in MalaysiaAdditionalInfo 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.
serviceTaxCodes -> (list)
List of service tax codes for your TRN in Malaysia.
(string)
taxInformationNumber -> (string)
The tax information number in Malaysia.
For individual, you can specify the taxInformationNumber in MalaysiaAdditionalInfo with NRIC type, and a valid MyKad or NRIC number. For business resellers, you must specify a businessRegistrationNumber and taxInformationNumber in MalaysiaAdditionalInfo with a sales and service tax (SST) type and a valid SST number.
For business resellers with service codes, you must specify businessRegistrationNumber , taxInformationNumber , and distinct serviceTaxCodes in MalaysiaAdditionalInfo 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.
polandAdditionalInfo -> (structure)
Additional tax information associated with your TRN in Poland.
individualRegistrationNumber -> (string)
isGroupVatEnabled -> (boolean)
romaniaAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Romania.
taxRegistrationNumberType -> (string)
TaxRegistrationNumber or LocalRegistrationNumber .saudiArabiaAdditionalInfo -> (structure)
Additional tax information associated with your TRN in Saudi Arabia.
taxRegistrationNumberType -> (string)
southKoreaAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in South Korea.
businessRepresentativeName -> (string)
itemOfBusiness -> (string)
lineOfBusiness -> (string)
spainAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Spain.
registrationType -> (string)
turkeyAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Turkey.
industries -> (string)
kepEmailId -> (string)
secondaryTaxId -> (string)
taxOffice -> (string)
ukraineAdditionalInfo -> (structure)
Additional tax information associated with your TRN in Ukraine.
ukraineTrnType -> (string)
uzbekistanAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Uzbekistan.
taxRegistrationNumberType -> (string)
Business and Individual .vatRegistrationNumber -> (string)
vietnamAdditionalInfo -> (structure)
Additional tax information to specify for a TRN in Vietnam.
electronicTransactionCodeNumber -> (string)
enterpriseIdentificationNumber -> (string)
paymentVoucherNumber -> (string)
paymentVoucherNumberDate -> (string)
certifiedEmailId -> (string)
legalAddress -> (structure)
The legal address associated with your TRN.
Note
If you’re setting a TRN in Brazil for the CNPJ tax type, you don’t need to specify the legal address.
For TRNs in other countries and for CPF tax types Brazil, you must specify the legal address.
addressLine1 -> (string)
addressLine2 -> (string)
addressLine3 -> (string)
addressLine3 parameter only for Saudi Arabia. When you specify a TRN in Saudi Arabia, you must enter the addressLine3 and specify the building number for the address. For example, you might enter 1234 .city -> (string)
countryCode -> (string)
districtOrCounty -> (string)
The district or county the address is located.
Note
For addresses in Brazil, this parameter uses the name of the neighborhood. When you set a TRN in Brazil, usedistrictOrCounty for the neighborhood name.postalCode -> (string)
stateOrRegion -> (string)
The state, region, or province that the address is located. This field is only required for Canada, India, United Arab Emirates, Romania, and Brazil (CPF). It is optional for all other countries.
If this is required for tax settings, use the same name as shown on the Tax Settings page.
legalName -> (string)
The legal name associated with your TRN.
Note
If you’re setting a TRN in Brazil, you don’t need to specify the legal name. For TRNs in other countries, you must specify the legal name.registrationId -> (string)
registrationType -> (string)
VAT or GST .sector -> (string)
verificationDetails -> (structure)
Additional details needed to verify your TRN information in Brazil. You only need to specify this parameter when you set a TRN in Brazil that is the CPF tax type.
Note
Don’t specify this parameter to set a TRN in Brazil of the CNPJ tax type or to set a TRN for another country.dateOfBirth -> (string)
YYYY-MM-DD format.taxRegistrationDocuments -> (list)
The tax registration document, which is required for specific countries such as Bangladesh, Kenya, South Korea and Spain.
(structure)
Tax registration document information.
file -> (structure)
The tax registration document.
fileContent -> (blob)
fileName -> (string)
s3Location -> (structure)
The Amazon S3 location where your tax registration document is stored.
bucket -> (string)
key -> (string)
JSON Syntax:
{
"additionalTaxInformation": {
"canadaAdditionalInfo": {
"canadaQuebecSalesTaxNumber": "string",
"canadaRetailSalesTaxNumber": "string",
"isResellerAccount": true|false,
"provincialSalesTaxId": "string"
},
"egyptAdditionalInfo": {
"uniqueIdentificationNumber": "string",
"uniqueIdentificationNumberExpirationDate": "string"
},
"estoniaAdditionalInfo": {
"registryCommercialCode": "string"
},
"georgiaAdditionalInfo": {
"personType": "Legal Person"|"Physical Person"|"Business"
},
"greeceAdditionalInfo": {
"contractingAuthorityCode": "string"
},
"indonesiaAdditionalInfo": {
"decisionNumber": "string",
"ppnExceptionDesignationCode": "string",
"taxRegistrationNumberType": "NIK"|"PassportNumber"|"NPWP"|"NITKU"
},
"israelAdditionalInfo": {
"customerType": "Business"|"Individual",
"dealerType": "Authorized"|"Non-authorized"
},
"italyAdditionalInfo": {
"cigNumber": "string",
"cupNumber": "string",
"sdiAccountId": "string",
"taxCode": "string"
},
"kenyaAdditionalInfo": {
"personType": "Legal Person"|"Physical Person"|"Business"
},
"malaysiaAdditionalInfo": {
"businessRegistrationNumber": "string",
"serviceTaxCodes": ["Consultancy"|"Digital Service And Electronic Medium"|"IT Services"|"Training Or Coaching", ...],
"taxInformationNumber": "string"
},
"polandAdditionalInfo": {
"individualRegistrationNumber": "string",
"isGroupVatEnabled": true|false
},
"romaniaAdditionalInfo": {
"taxRegistrationNumberType": "TaxRegistrationNumber"|"LocalRegistrationNumber"
},
"saudiArabiaAdditionalInfo": {
"taxRegistrationNumberType": "TaxRegistrationNumber"|"TaxIdentificationNumber"|"CommercialRegistrationNumber"
},
"southKoreaAdditionalInfo": {
"businessRepresentativeName": "string",
"itemOfBusiness": "string",
"lineOfBusiness": "string"
},
"spainAdditionalInfo": {
"registrationType": "Intra-EU"|"Local"
},
"turkeyAdditionalInfo": {
"industries": "CirculatingOrg"|"ProfessionalOrg"|"Banks"|"Insurance"|"PensionAndBenefitFunds"|"DevelopmentAgencies",
"kepEmailId": "string",
"secondaryTaxId": "string",
"taxOffice": "string"
},
"ukraineAdditionalInfo": {
"ukraineTrnType": "Business"|"Individual"
},
"uzbekistanAdditionalInfo": {
"taxRegistrationNumberType": "Business"|"Individual",
"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": "VAT"|"GST"|"CPF"|"CNPJ"|"SST"|"TIN"|"NRIC",
"sector": "Business"|"Individual"|"Government",
"verificationDetails": {
"dateOfBirth": "string",
"taxRegistrationDocuments": [
{
"file": {
"fileContent": blob,
"fileName": "string"
},
"s3Location": {
"bucket": "string",
"key": "string"
}
}
...
]
}
}
--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
Global Options
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
- json
- text
- table
- yaml
- yaml-stream
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
- on
- off
- auto
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
- base64
- raw-in-base64-out
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
Output
status -> (string)
Verified , Pending or Rejected .
© Copyright 2025, Amazon Web Services. Created using Sphinx.