Class: AWS.TaxSettings
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.TaxSettings
- Identifier:
- taxsettings
- API Version:
- 2018-05-10
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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").
You can use this API to automate your TRN information settings instead of manually using the console.
Service Endpoint
Sending a Request Using TaxSettings
var taxsettings = new AWS.TaxSettings();
taxsettings.batchDeleteTaxRegistration(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the TaxSettings object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var taxsettings = new AWS.TaxSettings({apiVersion: '2018-05-10'});
You can also set the API version globally in AWS.config.apiVersions
using
the taxsettings service identifier:
AWS.config.apiVersions = {
taxsettings: '2018-05-10',
// other service API versions
};
var taxsettings = new AWS.TaxSettings();
Constructor Summary collapse
-
new AWS.TaxSettings(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
batchDeleteTaxRegistration(params = {}, callback) ⇒ AWS.Request
Deletes tax registration for multiple accounts in batch.
-
batchPutTaxRegistration(params = {}, callback) ⇒ AWS.Request
Adds or updates tax registration for multiple accounts in batch.
-
deleteTaxRegistration(params = {}, callback) ⇒ AWS.Request
Deletes tax registration for a single account.
-
getTaxRegistration(params = {}, callback) ⇒ AWS.Request
Retrieves tax registration for a single account.
.
-
getTaxRegistrationDocument(params = {}, callback) ⇒ AWS.Request
Downloads your tax documents to the Amazon S3 bucket that you specify in your request.
.
-
listTaxRegistrations(params = {}, callback) ⇒ AWS.Request
Retrieves the tax registration of accounts listed in a consolidated billing family.
-
putTaxRegistration(params = {}, callback) ⇒ AWS.Request
Adds or updates tax registration for a single account.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.TaxSettings(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
batchDeleteTaxRegistration(params = {}, callback) ⇒ AWS.Request
Deletes tax registration for multiple accounts in batch. This can be used to delete tax registrations for up to five accounts in one batch.
batchPutTaxRegistration(params = {}, callback) ⇒ AWS.Request
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
taxRegistrationDocuments
field of theVerificationDetails
object.
Brazil
-
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.
Georgia
-
The valid
personType
values arePhysical Person
andBusiness
.
Kenya
-
You must specify the
personType
in thekenyaAdditionalInfo
field of theadditionalTaxInformation
object. -
If the
personType
isPhysical Person
, you must specify the tax registration certificate document in thetaxRegistrationDocuments
field of theVerificationDetails
object.
Malaysia
-
If you use this operation to set a tax registration number (TRN) in Malaysia, only resellers with a valid sales and service tax (SST) number are required to provide tax registration information.
-
By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as self-declaring 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.
-
If you're not a reseller of Amazon Web Services, we don't recommend that you use this operation to set the TRN in Malaysia.
-
Only use this API operation to upload the TRNs for accounts through which you're reselling Amazon Web Services.
-
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
Nepal
-
The sector valid values are
Business
andIndividual
.
Saudi Arabia
-
For
address
, you must specifyaddressLine3
.
South Korea
-
You must specify the
certifiedEmailId
andlegalName
in theTaxRegistrationEntry
object. Use Korean characters forlegalName
. -
You must specify the
businessRepresentativeName
,itemOfBusiness
, andlineOfBusiness
in thesouthKoreaAdditionalInfo
field of theadditionalTaxInformation
object. Use Korean characters for these fields. -
You must specify the tax registration certificate document in the
taxRegistrationDocuments
field of theVerificationDetails
object. -
For the
address
object, use Korean characters foraddressLine1
,addressLine2
city
,postalCode
, andstateOrRegion
.
Spain
-
You must specify the
registrationType
in thespainAdditionalInfo
field of theadditionalTaxInformation
object. -
If the
registrationType
isLocal
, you must specify the tax registration certificate document in thetaxRegistrationDocuments
field of theVerificationDetails
object.
Turkey
-
You must specify the
sector
in thetaxRegistrationEntry
object. -
If your
sector
isBusiness
,Individual
, orGovernment
:-
Specify the
taxOffice
. If yoursector
isIndividual
, don't enter this value. -
(Optional) Specify the
kepEmailId
. If yoursector
isIndividual
, don't enter this value. -
Note: In the Tax Settings page of the Billing console,
Government
appears as Public institutions
-
-
If your
sector
isBusiness
and you're subject to KDV tax, you must specify your industry in theindustries
field. -
For
address
, you must specifydistrictOrCounty
.
Ukraine
-
The sector valid values are
Business
andIndividual
.
deleteTaxRegistration(params = {}, callback) ⇒ AWS.Request
Deletes tax registration for a single account.
getTaxRegistration(params = {}, callback) ⇒ AWS.Request
Retrieves tax registration for a single account.
getTaxRegistrationDocument(params = {}, callback) ⇒ AWS.Request
Downloads your tax documents to the Amazon S3 bucket that you specify in your request.
listTaxRegistrations(params = {}, callback) ⇒ AWS.Request
Retrieves the tax registration of accounts listed in a consolidated billing family. This can be used to retrieve up to 100 accounts' tax registrations in one call (default 50).
putTaxRegistration(params = {}, callback) ⇒ AWS.Request
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.
Bangladesh
-
You must specify the tax registration certificate document in the
taxRegistrationDocuments
field of theVerificationDetails
object.
Brazil
-
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.
Georgia
-
The valid
personType
values arePhysical Person
andBusiness
.
Kenya
-
You must specify the
personType
in thekenyaAdditionalInfo
field of theadditionalTaxInformation
object. -
If the
personType
isPhysical Person
, you must specify the tax registration certificate document in thetaxRegistrationDocuments
field of theVerificationDetails
object.
Malaysia
-
If you use this operation to set a tax registration number (TRN) in Malaysia, only resellers with a valid sales and service tax (SST) number are required to provide tax registration information.
-
By using this API operation to set a TRN in Malaysia, Amazon Web Services will regard you as self-declaring 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.
-
If you're not a reseller of Amazon Web Services, we don't recommend that you use this operation to set the TRN in Malaysia.
-
Only use this API operation to upload the TRNs for accounts through which you're reselling Amazon Web Services.
-
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
Nepal
-
The sector valid values are
Business
andIndividual
.
Saudi Arabia
-
For
address
, you must specifyaddressLine3
.
South Korea
-
You must specify the
certifiedEmailId
andlegalName
in theTaxRegistrationEntry
object. Use Korean characters forlegalName
. -
You must specify the
businessRepresentativeName
,itemOfBusiness
, andlineOfBusiness
in thesouthKoreaAdditionalInfo
field of theadditionalTaxInformation
object. Use Korean characters for these fields. -
You must specify the tax registration certificate document in the
taxRegistrationDocuments
field of theVerificationDetails
object. -
For the
address
object, use Korean characters foraddressLine1
,addressLine2
city
,postalCode
, andstateOrRegion
.
Spain
-
You must specify the
registrationType
in thespainAdditionalInfo
field of theadditionalTaxInformation
object. -
If the
registrationType
isLocal
, you must specify the tax registration certificate document in thetaxRegistrationDocuments
field of theVerificationDetails
object.
Turkey
-
You must specify the
sector
in thetaxRegistrationEntry
object. -
If your
sector
isBusiness
,Individual
, orGovernment
:-
Specify the
taxOffice
. If yoursector
isIndividual
, don't enter this value. -
(Optional) Specify the
kepEmailId
. If yoursector
isIndividual
, don't enter this value. -
Note: In the Tax Settings page of the Billing console,
Government
appears as Public institutions
-
-
If your
sector
isBusiness
and you're subject to KDV tax, you must specify your industry in theindustries
field. -
For
address
, you must specifydistrictOrCounty
.
Ukraine
-
The sector valid values are
Business
andIndividual
.