@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSTaxSettingsAsyncClient extends AWSTaxSettingsClient implements AWSTaxSettingsAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
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
https://tax.us-east-1.amazonaws.com
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXbatchDeleteTaxRegistration, batchPutTaxRegistration, builder, deleteTaxRegistration, getCachedResponseMetadata, getTaxRegistration, getTaxRegistrationDocument, listTaxRegistrations, putTaxRegistrationaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchDeleteTaxRegistration, batchPutTaxRegistration, deleteTaxRegistration, getCachedResponseMetadata, getTaxRegistration, getTaxRegistrationDocument, listTaxRegistrations, putTaxRegistrationpublic static AWSTaxSettingsAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<BatchDeleteTaxRegistrationResult> batchDeleteTaxRegistrationAsync(BatchDeleteTaxRegistrationRequest request)
AWSTaxSettingsAsyncDeletes tax registration for multiple accounts in batch. This can be used to delete tax registrations for up to five accounts in one batch.
This API operation can't be used to delete your tax registration in Brazil. Use the Payment preferences page in the Billing and Cost Management console instead.
batchDeleteTaxRegistrationAsync in interface AWSTaxSettingsAsyncpublic Future<BatchDeleteTaxRegistrationResult> batchDeleteTaxRegistrationAsync(BatchDeleteTaxRegistrationRequest request, AsyncHandler<BatchDeleteTaxRegistrationRequest,BatchDeleteTaxRegistrationResult> asyncHandler)
AWSTaxSettingsAsyncDeletes tax registration for multiple accounts in batch. This can be used to delete tax registrations for up to five accounts in one batch.
This API operation can't be used to delete your tax registration in Brazil. Use the Payment preferences page in the Billing and Cost Management console instead.
batchDeleteTaxRegistrationAsync in interface AWSTaxSettingsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<BatchPutTaxRegistrationResult> batchPutTaxRegistrationAsync(BatchPutTaxRegistrationRequest request)
AWSTaxSettingsAsyncAdds 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
the VerificationDetails 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 are Physical Person and Business.
Kenya
You must specify the personType in the kenyaAdditionalInfo field of the
additionalTaxInformation object.
If the personType is Physical Person, you must specify the tax registration certificate
document in the taxRegistrationDocuments field of the VerificationDetails 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 and Individual.
Saudi Arabia
For address, you must specify addressLine3.
South Korea
You must specify the certifiedEmailId and legalName in the
TaxRegistrationEntry object. Use Korean characters for legalName.
You must specify the businessRepresentativeName, itemOfBusiness, and
lineOfBusiness in the southKoreaAdditionalInfo field of the
additionalTaxInformation object. Use Korean characters for these fields.
You must specify the tax registration certificate document in the taxRegistrationDocuments field of
the VerificationDetails object.
For the address object, use Korean characters for addressLine1,
addressLine2 city, postalCode, and stateOrRegion.
Spain
You must specify the registrationType in the spainAdditionalInfo field of the
additionalTaxInformation object.
If the registrationType is Local, you must specify the tax registration certificate
document in the taxRegistrationDocuments field of the VerificationDetails object.
Turkey
You must specify the sector in the taxRegistrationEntry object.
If your sector is Business, Individual, or Government:
Specify the taxOffice. If your sector is Individual, don't enter this
value.
(Optional) Specify the kepEmailId. If your sector is Individual, don't
enter this value.
Note: In the Tax Settings page of the Billing console, Government appears as Public
institutions
If your sector is Business and you're subject to KDV tax, you must specify your
industry in the industries field.
For address, you must specify districtOrCounty.
Ukraine
The sector valid values are Business and Individual.
batchPutTaxRegistrationAsync in interface AWSTaxSettingsAsyncpublic Future<BatchPutTaxRegistrationResult> batchPutTaxRegistrationAsync(BatchPutTaxRegistrationRequest request, AsyncHandler<BatchPutTaxRegistrationRequest,BatchPutTaxRegistrationResult> asyncHandler)
AWSTaxSettingsAsyncAdds 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
the VerificationDetails 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 are Physical Person and Business.
Kenya
You must specify the personType in the kenyaAdditionalInfo field of the
additionalTaxInformation object.
If the personType is Physical Person, you must specify the tax registration certificate
document in the taxRegistrationDocuments field of the VerificationDetails 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 and Individual.
Saudi Arabia
For address, you must specify addressLine3.
South Korea
You must specify the certifiedEmailId and legalName in the
TaxRegistrationEntry object. Use Korean characters for legalName.
You must specify the businessRepresentativeName, itemOfBusiness, and
lineOfBusiness in the southKoreaAdditionalInfo field of the
additionalTaxInformation object. Use Korean characters for these fields.
You must specify the tax registration certificate document in the taxRegistrationDocuments field of
the VerificationDetails object.
For the address object, use Korean characters for addressLine1,
addressLine2 city, postalCode, and stateOrRegion.
Spain
You must specify the registrationType in the spainAdditionalInfo field of the
additionalTaxInformation object.
If the registrationType is Local, you must specify the tax registration certificate
document in the taxRegistrationDocuments field of the VerificationDetails object.
Turkey
You must specify the sector in the taxRegistrationEntry object.
If your sector is Business, Individual, or Government:
Specify the taxOffice. If your sector is Individual, don't enter this
value.
(Optional) Specify the kepEmailId. If your sector is Individual, don't
enter this value.
Note: In the Tax Settings page of the Billing console, Government appears as Public
institutions
If your sector is Business and you're subject to KDV tax, you must specify your
industry in the industries field.
For address, you must specify districtOrCounty.
Ukraine
The sector valid values are Business and Individual.
batchPutTaxRegistrationAsync in interface AWSTaxSettingsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteTaxRegistrationResult> deleteTaxRegistrationAsync(DeleteTaxRegistrationRequest request)
AWSTaxSettingsAsyncDeletes tax registration for a single account.
This API operation can't be used to delete your tax registration in Brazil. Use the Payment preferences page in the Billing and Cost Management console instead.
deleteTaxRegistrationAsync in interface AWSTaxSettingsAsyncpublic Future<DeleteTaxRegistrationResult> deleteTaxRegistrationAsync(DeleteTaxRegistrationRequest request, AsyncHandler<DeleteTaxRegistrationRequest,DeleteTaxRegistrationResult> asyncHandler)
AWSTaxSettingsAsyncDeletes tax registration for a single account.
This API operation can't be used to delete your tax registration in Brazil. Use the Payment preferences page in the Billing and Cost Management console instead.
deleteTaxRegistrationAsync in interface AWSTaxSettingsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTaxRegistrationResult> getTaxRegistrationAsync(GetTaxRegistrationRequest request)
AWSTaxSettingsAsyncRetrieves tax registration for a single account.
getTaxRegistrationAsync in interface AWSTaxSettingsAsyncpublic Future<GetTaxRegistrationResult> getTaxRegistrationAsync(GetTaxRegistrationRequest request, AsyncHandler<GetTaxRegistrationRequest,GetTaxRegistrationResult> asyncHandler)
AWSTaxSettingsAsyncRetrieves tax registration for a single account.
getTaxRegistrationAsync in interface AWSTaxSettingsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTaxRegistrationDocumentResult> getTaxRegistrationDocumentAsync(GetTaxRegistrationDocumentRequest request)
AWSTaxSettingsAsyncDownloads your tax documents to the Amazon S3 bucket that you specify in your request.
getTaxRegistrationDocumentAsync in interface AWSTaxSettingsAsyncpublic Future<GetTaxRegistrationDocumentResult> getTaxRegistrationDocumentAsync(GetTaxRegistrationDocumentRequest request, AsyncHandler<GetTaxRegistrationDocumentRequest,GetTaxRegistrationDocumentResult> asyncHandler)
AWSTaxSettingsAsyncDownloads your tax documents to the Amazon S3 bucket that you specify in your request.
getTaxRegistrationDocumentAsync in interface AWSTaxSettingsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTaxRegistrationsResult> listTaxRegistrationsAsync(ListTaxRegistrationsRequest request)
AWSTaxSettingsAsyncRetrieves 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).
listTaxRegistrationsAsync in interface AWSTaxSettingsAsyncpublic Future<ListTaxRegistrationsResult> listTaxRegistrationsAsync(ListTaxRegistrationsRequest request, AsyncHandler<ListTaxRegistrationsRequest,ListTaxRegistrationsResult> asyncHandler)
AWSTaxSettingsAsyncRetrieves 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).
listTaxRegistrationsAsync in interface AWSTaxSettingsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutTaxRegistrationResult> putTaxRegistrationAsync(PutTaxRegistrationRequest request)
AWSTaxSettingsAsyncAdds 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
the VerificationDetails 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 are Physical Person and Business.
Kenya
You must specify the personType in the kenyaAdditionalInfo field of the
additionalTaxInformation object.
If the personType is Physical Person, you must specify the tax registration certificate
document in the taxRegistrationDocuments field of the VerificationDetails 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 and Individual.
Saudi Arabia
For address, you must specify addressLine3.
South Korea
You must specify the certifiedEmailId and legalName in the
TaxRegistrationEntry object. Use Korean characters for legalName.
You must specify the businessRepresentativeName, itemOfBusiness, and
lineOfBusiness in the southKoreaAdditionalInfo field of the
additionalTaxInformation object. Use Korean characters for these fields.
You must specify the tax registration certificate document in the taxRegistrationDocuments field of
the VerificationDetails object.
For the address object, use Korean characters for addressLine1,
addressLine2 city, postalCode, and stateOrRegion.
Spain
You must specify the registrationType in the spainAdditionalInfo field of the
additionalTaxInformation object.
If the registrationType is Local, you must specify the tax registration certificate
document in the taxRegistrationDocuments field of the VerificationDetails object.
Turkey
You must specify the sector in the taxRegistrationEntry object.
If your sector is Business, Individual, or Government:
Specify the taxOffice. If your sector is Individual, don't enter this
value.
(Optional) Specify the kepEmailId. If your sector is Individual, don't
enter this value.
Note: In the Tax Settings page of the Billing console, Government appears as Public
institutions
If your sector is Business and you're subject to KDV tax, you must specify your
industry in the industries field.
For address, you must specify districtOrCounty.
Ukraine
The sector valid values are Business and Individual.
putTaxRegistrationAsync in interface AWSTaxSettingsAsyncpublic Future<PutTaxRegistrationResult> putTaxRegistrationAsync(PutTaxRegistrationRequest request, AsyncHandler<PutTaxRegistrationRequest,PutTaxRegistrationResult> asyncHandler)
AWSTaxSettingsAsyncAdds 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
the VerificationDetails 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 are Physical Person and Business.
Kenya
You must specify the personType in the kenyaAdditionalInfo field of the
additionalTaxInformation object.
If the personType is Physical Person, you must specify the tax registration certificate
document in the taxRegistrationDocuments field of the VerificationDetails 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 and Individual.
Saudi Arabia
For address, you must specify addressLine3.
South Korea
You must specify the certifiedEmailId and legalName in the
TaxRegistrationEntry object. Use Korean characters for legalName.
You must specify the businessRepresentativeName, itemOfBusiness, and
lineOfBusiness in the southKoreaAdditionalInfo field of the
additionalTaxInformation object. Use Korean characters for these fields.
You must specify the tax registration certificate document in the taxRegistrationDocuments field of
the VerificationDetails object.
For the address object, use Korean characters for addressLine1,
addressLine2 city, postalCode, and stateOrRegion.
Spain
You must specify the registrationType in the spainAdditionalInfo field of the
additionalTaxInformation object.
If the registrationType is Local, you must specify the tax registration certificate
document in the taxRegistrationDocuments field of the VerificationDetails object.
Turkey
You must specify the sector in the taxRegistrationEntry object.
If your sector is Business, Individual, or Government:
Specify the taxOffice. If your sector is Individual, don't enter this
value.
(Optional) Specify the kepEmailId. If your sector is Individual, don't
enter this value.
Note: In the Tax Settings page of the Billing console, Government appears as Public
institutions
If your sector is Business and you're subject to KDV tax, you must specify your
industry in the industries field.
For address, you must specify districtOrCounty.
Ukraine
The sector valid values are Business and Individual.
putTaxRegistrationAsync in interface AWSTaxSettingsAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSTaxSettingsshutdown in class AWSTaxSettingsClient