Interface TaxSettingsClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbatchDeleteTaxRegistration
(Consumer<BatchDeleteTaxRegistrationRequest.Builder> batchDeleteTaxRegistrationRequest) Deletes tax registration for multiple accounts in batch.batchDeleteTaxRegistration
(BatchDeleteTaxRegistrationRequest batchDeleteTaxRegistrationRequest) Deletes tax registration for multiple accounts in batch.default BatchGetTaxExemptionsResponse
batchGetTaxExemptions
(Consumer<BatchGetTaxExemptionsRequest.Builder> batchGetTaxExemptionsRequest) Get the active tax exemptions for a given list of accounts.default BatchGetTaxExemptionsResponse
batchGetTaxExemptions
(BatchGetTaxExemptionsRequest batchGetTaxExemptionsRequest) Get the active tax exemptions for a given list of accounts.default BatchPutTaxRegistrationResponse
batchPutTaxRegistration
(Consumer<BatchPutTaxRegistrationRequest.Builder> batchPutTaxRegistrationRequest) Adds or updates tax registration for multiple accounts in batch.default BatchPutTaxRegistrationResponse
batchPutTaxRegistration
(BatchPutTaxRegistrationRequest batchPutTaxRegistrationRequest) Adds or updates tax registration for multiple accounts in batch.static TaxSettingsClientBuilder
builder()
Create a builder that can be used to configure and create aTaxSettingsClient
.static TaxSettingsClient
create()
Create aTaxSettingsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.deleteSupplementalTaxRegistration
(Consumer<DeleteSupplementalTaxRegistrationRequest.Builder> deleteSupplementalTaxRegistrationRequest) Deletes a supplemental tax registration for a single account.deleteSupplementalTaxRegistration
(DeleteSupplementalTaxRegistrationRequest deleteSupplementalTaxRegistrationRequest) Deletes a supplemental tax registration for a single account.default DeleteTaxRegistrationResponse
deleteTaxRegistration
(Consumer<DeleteTaxRegistrationRequest.Builder> deleteTaxRegistrationRequest) Deletes tax registration for a single account.default DeleteTaxRegistrationResponse
deleteTaxRegistration
(DeleteTaxRegistrationRequest deleteTaxRegistrationRequest) Deletes tax registration for a single account.default GetTaxExemptionTypesResponse
getTaxExemptionTypes
(Consumer<GetTaxExemptionTypesRequest.Builder> getTaxExemptionTypesRequest) Get supported tax exemption types.default GetTaxExemptionTypesResponse
getTaxExemptionTypes
(GetTaxExemptionTypesRequest getTaxExemptionTypesRequest) Get supported tax exemption types.default GetTaxInheritanceResponse
getTaxInheritance
(Consumer<GetTaxInheritanceRequest.Builder> getTaxInheritanceRequest) The get account tax inheritance status.default GetTaxInheritanceResponse
getTaxInheritance
(GetTaxInheritanceRequest getTaxInheritanceRequest) The get account tax inheritance status.default GetTaxRegistrationResponse
getTaxRegistration
(Consumer<GetTaxRegistrationRequest.Builder> getTaxRegistrationRequest) Retrieves tax registration for a single account.default GetTaxRegistrationResponse
getTaxRegistration
(GetTaxRegistrationRequest getTaxRegistrationRequest) Retrieves tax registration for a single account.getTaxRegistrationDocument
(Consumer<GetTaxRegistrationDocumentRequest.Builder> getTaxRegistrationDocumentRequest) Downloads your tax documents to the Amazon S3 bucket that you specify in your request.getTaxRegistrationDocument
(GetTaxRegistrationDocumentRequest getTaxRegistrationDocumentRequest) Downloads your tax documents to the Amazon S3 bucket that you specify in your request.listSupplementalTaxRegistrations
(Consumer<ListSupplementalTaxRegistrationsRequest.Builder> listSupplementalTaxRegistrationsRequest) Retrieves supplemental tax registrations for a single account.listSupplementalTaxRegistrations
(ListSupplementalTaxRegistrationsRequest listSupplementalTaxRegistrationsRequest) Retrieves supplemental tax registrations for a single account.listSupplementalTaxRegistrationsPaginator
(Consumer<ListSupplementalTaxRegistrationsRequest.Builder> listSupplementalTaxRegistrationsRequest) This is a variant oflistSupplementalTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListSupplementalTaxRegistrationsRequest)
operation.listSupplementalTaxRegistrationsPaginator
(ListSupplementalTaxRegistrationsRequest listSupplementalTaxRegistrationsRequest) This is a variant oflistSupplementalTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListSupplementalTaxRegistrationsRequest)
operation.default ListTaxExemptionsResponse
listTaxExemptions
(Consumer<ListTaxExemptionsRequest.Builder> listTaxExemptionsRequest) Retrieves the tax exemption of accounts listed in a consolidated billing family.default ListTaxExemptionsResponse
listTaxExemptions
(ListTaxExemptionsRequest listTaxExemptionsRequest) Retrieves the tax exemption of accounts listed in a consolidated billing family.default ListTaxExemptionsIterable
listTaxExemptionsPaginator
(Consumer<ListTaxExemptionsRequest.Builder> listTaxExemptionsRequest) This is a variant oflistTaxExemptions(software.amazon.awssdk.services.taxsettings.model.ListTaxExemptionsRequest)
operation.default ListTaxExemptionsIterable
listTaxExemptionsPaginator
(ListTaxExemptionsRequest listTaxExemptionsRequest) This is a variant oflistTaxExemptions(software.amazon.awssdk.services.taxsettings.model.ListTaxExemptionsRequest)
operation.default ListTaxRegistrationsResponse
listTaxRegistrations
(Consumer<ListTaxRegistrationsRequest.Builder> listTaxRegistrationsRequest) Retrieves the tax registration of accounts listed in a consolidated billing family.default ListTaxRegistrationsResponse
listTaxRegistrations
(ListTaxRegistrationsRequest listTaxRegistrationsRequest) Retrieves the tax registration of accounts listed in a consolidated billing family.default ListTaxRegistrationsIterable
listTaxRegistrationsPaginator
(Consumer<ListTaxRegistrationsRequest.Builder> listTaxRegistrationsRequest) This is a variant oflistTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListTaxRegistrationsRequest)
operation.default ListTaxRegistrationsIterable
listTaxRegistrationsPaginator
(ListTaxRegistrationsRequest listTaxRegistrationsRequest) This is a variant oflistTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListTaxRegistrationsRequest)
operation.putSupplementalTaxRegistration
(Consumer<PutSupplementalTaxRegistrationRequest.Builder> putSupplementalTaxRegistrationRequest) Stores supplemental tax registration for a single account.putSupplementalTaxRegistration
(PutSupplementalTaxRegistrationRequest putSupplementalTaxRegistrationRequest) Stores supplemental tax registration for a single account.default PutTaxExemptionResponse
putTaxExemption
(Consumer<PutTaxExemptionRequest.Builder> putTaxExemptionRequest) Adds the tax exemption for a single account or all accounts listed in a consolidated billing family.default PutTaxExemptionResponse
putTaxExemption
(PutTaxExemptionRequest putTaxExemptionRequest) Adds the tax exemption for a single account or all accounts listed in a consolidated billing family.default PutTaxInheritanceResponse
putTaxInheritance
(Consumer<PutTaxInheritanceRequest.Builder> putTaxInheritanceRequest) The updated tax inheritance status.default PutTaxInheritanceResponse
putTaxInheritance
(PutTaxInheritanceRequest putTaxInheritanceRequest) The updated tax inheritance status.default PutTaxRegistrationResponse
putTaxRegistration
(Consumer<PutTaxRegistrationRequest.Builder> putTaxRegistrationRequest) Adds or updates tax registration for a single account.default PutTaxRegistrationResponse
putTaxRegistration
(PutTaxRegistrationRequest putTaxRegistrationRequest) Adds or updates tax registration for a single account.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
batchDeleteTaxRegistration
default BatchDeleteTaxRegistrationResponse batchDeleteTaxRegistration(BatchDeleteTaxRegistrationRequest batchDeleteTaxRegistrationRequest) throws ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Deletes 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.
- Parameters:
batchDeleteTaxRegistrationRequest
-- Returns:
- Result of the BatchDeleteTaxRegistration operation returned by the service.
- See Also:
-
batchDeleteTaxRegistration
default BatchDeleteTaxRegistrationResponse batchDeleteTaxRegistration(Consumer<BatchDeleteTaxRegistrationRequest.Builder> batchDeleteTaxRegistrationRequest) throws ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Deletes 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.
This is a convenience which creates an instance of the
BatchDeleteTaxRegistrationRequest.Builder
avoiding the need to create one manually viaBatchDeleteTaxRegistrationRequest.builder()
- Parameters:
batchDeleteTaxRegistrationRequest
- AConsumer
that will call methods onBatchDeleteTaxRegistrationRequest.Builder
to create a request.- Returns:
- Result of the BatchDeleteTaxRegistration operation returned by the service.
- See Also:
-
batchGetTaxExemptions
default BatchGetTaxExemptionsResponse batchGetTaxExemptions(BatchGetTaxExemptionsRequest batchGetTaxExemptionsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Get the active tax exemptions for a given list of accounts. The IAM action is
tax:GetExemptions
.- Parameters:
batchGetTaxExemptionsRequest
-- Returns:
- Result of the BatchGetTaxExemptions operation returned by the service.
- See Also:
-
batchGetTaxExemptions
default BatchGetTaxExemptionsResponse batchGetTaxExemptions(Consumer<BatchGetTaxExemptionsRequest.Builder> batchGetTaxExemptionsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Get the active tax exemptions for a given list of accounts. The IAM action is
tax:GetExemptions
.
This is a convenience which creates an instance of the
BatchGetTaxExemptionsRequest.Builder
avoiding the need to create one manually viaBatchGetTaxExemptionsRequest.builder()
- Parameters:
batchGetTaxExemptionsRequest
- AConsumer
that will call methods onBatchGetTaxExemptionsRequest.Builder
to create a request.- Returns:
- Result of the BatchGetTaxExemptions operation returned by the service.
- See Also:
-
batchPutTaxRegistration
default BatchPutTaxRegistrationResponse batchPutTaxRegistration(BatchPutTaxRegistrationRequest batchPutTaxRegistrationRequest) throws ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException 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
.
Indonesia
-
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
taxRegistrationNumberType
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object. -
If you specify
decisionNumber
, you must specify theppnExceptionDesignationCode
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object. If thetaxRegistrationNumberType
is set to NPWP or NITKU, valid values forppnExceptionDesignationCode
are either01
,02
,03
,07
, or08
.For other
taxRegistrationNumberType
values,ppnExceptionDesignationCode
must be either01
,07
, or08
. -
If
ppnExceptionDesignationCode
is07
, you must specify thedecisionNumber
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object.
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
-
The sector valid values are
Business
andIndividual
. -
RegistrationType
valid values areNRIC
for individual, and TIN and sales and service tax (SST) for Business. -
For individual, you can specify the
taxInformationNumber
inMalaysiaAdditionalInfo
with NRIC type, and a validMyKad
or NRIC number. -
For business, you must specify a
businessRegistrationNumber
inMalaysiaAdditionalInfo
with a TIN type and tax identification number. -
For business resellers, you must specify a
businessRegistrationNumber
andtaxInformationNumber
inMalaysiaAdditionalInfo
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 distinctserviceTaxCodes
inMalaysiaAdditionalInfo
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. -
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
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
.
- Parameters:
batchPutTaxRegistrationRequest
-- Returns:
- Result of the BatchPutTaxRegistration operation returned by the service.
- See Also:
-
-
batchPutTaxRegistration
default BatchPutTaxRegistrationResponse batchPutTaxRegistration(Consumer<BatchPutTaxRegistrationRequest.Builder> batchPutTaxRegistrationRequest) throws ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException 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
.
Indonesia
-
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
taxRegistrationNumberType
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object. -
If you specify
decisionNumber
, you must specify theppnExceptionDesignationCode
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object. If thetaxRegistrationNumberType
is set to NPWP or NITKU, valid values forppnExceptionDesignationCode
are either01
,02
,03
,07
, or08
.For other
taxRegistrationNumberType
values,ppnExceptionDesignationCode
must be either01
,07
, or08
. -
If
ppnExceptionDesignationCode
is07
, you must specify thedecisionNumber
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object.
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
-
The sector valid values are
Business
andIndividual
. -
RegistrationType
valid values areNRIC
for individual, and TIN and sales and service tax (SST) for Business. -
For individual, you can specify the
taxInformationNumber
inMalaysiaAdditionalInfo
with NRIC type, and a validMyKad
or NRIC number. -
For business, you must specify a
businessRegistrationNumber
inMalaysiaAdditionalInfo
with a TIN type and tax identification number. -
For business resellers, you must specify a
businessRegistrationNumber
andtaxInformationNumber
inMalaysiaAdditionalInfo
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 distinctserviceTaxCodes
inMalaysiaAdditionalInfo
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. -
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
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
.
This is a convenience which creates an instance of the
BatchPutTaxRegistrationRequest.Builder
avoiding the need to create one manually viaBatchPutTaxRegistrationRequest.builder()
- Parameters:
batchPutTaxRegistrationRequest
- AConsumer
that will call methods onBatchPutTaxRegistrationRequest.Builder
to create a request.- Returns:
- Result of the BatchPutTaxRegistration operation returned by the service.
- See Also:
-
-
deleteSupplementalTaxRegistration
default DeleteSupplementalTaxRegistrationResponse deleteSupplementalTaxRegistration(DeleteSupplementalTaxRegistrationRequest deleteSupplementalTaxRegistrationRequest) throws ValidationException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Deletes a supplemental tax registration for a single account.
- Parameters:
deleteSupplementalTaxRegistrationRequest
-- Returns:
- Result of the DeleteSupplementalTaxRegistration operation returned by the service.
- See Also:
-
deleteSupplementalTaxRegistration
default DeleteSupplementalTaxRegistrationResponse deleteSupplementalTaxRegistration(Consumer<DeleteSupplementalTaxRegistrationRequest.Builder> deleteSupplementalTaxRegistrationRequest) throws ValidationException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Deletes a supplemental tax registration for a single account.
This is a convenience which creates an instance of the
DeleteSupplementalTaxRegistrationRequest.Builder
avoiding the need to create one manually viaDeleteSupplementalTaxRegistrationRequest.builder()
- Parameters:
deleteSupplementalTaxRegistrationRequest
- AConsumer
that will call methods onDeleteSupplementalTaxRegistrationRequest.Builder
to create a request.- Returns:
- Result of the DeleteSupplementalTaxRegistration operation returned by the service.
- See Also:
-
deleteTaxRegistration
default DeleteTaxRegistrationResponse deleteTaxRegistration(DeleteTaxRegistrationRequest deleteTaxRegistrationRequest) throws ValidationException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Deletes 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.
- Parameters:
deleteTaxRegistrationRequest
-- Returns:
- Result of the DeleteTaxRegistration operation returned by the service.
- See Also:
-
deleteTaxRegistration
default DeleteTaxRegistrationResponse deleteTaxRegistration(Consumer<DeleteTaxRegistrationRequest.Builder> deleteTaxRegistrationRequest) throws ValidationException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Deletes 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.
This is a convenience which creates an instance of the
DeleteTaxRegistrationRequest.Builder
avoiding the need to create one manually viaDeleteTaxRegistrationRequest.builder()
- Parameters:
deleteTaxRegistrationRequest
- AConsumer
that will call methods onDeleteTaxRegistrationRequest.Builder
to create a request.- Returns:
- Result of the DeleteTaxRegistration operation returned by the service.
- See Also:
-
getTaxExemptionTypes
default GetTaxExemptionTypesResponse getTaxExemptionTypes(GetTaxExemptionTypesRequest getTaxExemptionTypesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Get supported tax exemption types. The IAM action is
tax:GetExemptions
.- Parameters:
getTaxExemptionTypesRequest
-- Returns:
- Result of the GetTaxExemptionTypes operation returned by the service.
- See Also:
-
getTaxExemptionTypes
default GetTaxExemptionTypesResponse getTaxExemptionTypes(Consumer<GetTaxExemptionTypesRequest.Builder> getTaxExemptionTypesRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Get supported tax exemption types. The IAM action is
tax:GetExemptions
.
This is a convenience which creates an instance of the
GetTaxExemptionTypesRequest.Builder
avoiding the need to create one manually viaGetTaxExemptionTypesRequest.builder()
- Parameters:
getTaxExemptionTypesRequest
- AConsumer
that will call methods onGetTaxExemptionTypesRequest.Builder
to create a request.- Returns:
- Result of the GetTaxExemptionTypes operation returned by the service.
- See Also:
-
getTaxInheritance
default GetTaxInheritanceResponse getTaxInheritance(GetTaxInheritanceRequest getTaxInheritanceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException The get account tax inheritance status.
- Parameters:
getTaxInheritanceRequest
-- Returns:
- Result of the GetTaxInheritance operation returned by the service.
- See Also:
-
getTaxInheritance
default GetTaxInheritanceResponse getTaxInheritance(Consumer<GetTaxInheritanceRequest.Builder> getTaxInheritanceRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException The get account tax inheritance status.
This is a convenience which creates an instance of the
GetTaxInheritanceRequest.Builder
avoiding the need to create one manually viaGetTaxInheritanceRequest.builder()
- Parameters:
getTaxInheritanceRequest
- AConsumer
that will call methods onGetTaxInheritanceRequest.Builder
to create a request.- Returns:
- Result of the GetTaxInheritance operation returned by the service.
- See Also:
-
getTaxRegistration
default GetTaxRegistrationResponse getTaxRegistration(GetTaxRegistrationRequest getTaxRegistrationRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Retrieves tax registration for a single account.
- Parameters:
getTaxRegistrationRequest
-- Returns:
- Result of the GetTaxRegistration operation returned by the service.
- See Also:
-
getTaxRegistration
default GetTaxRegistrationResponse getTaxRegistration(Consumer<GetTaxRegistrationRequest.Builder> getTaxRegistrationRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Retrieves tax registration for a single account.
This is a convenience which creates an instance of the
GetTaxRegistrationRequest.Builder
avoiding the need to create one manually viaGetTaxRegistrationRequest.builder()
- Parameters:
getTaxRegistrationRequest
- AConsumer
that will call methods onGetTaxRegistrationRequest.Builder
to create a request.- Returns:
- Result of the GetTaxRegistration operation returned by the service.
- See Also:
-
getTaxRegistrationDocument
default GetTaxRegistrationDocumentResponse getTaxRegistrationDocument(GetTaxRegistrationDocumentRequest getTaxRegistrationDocumentRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Downloads your tax documents to the Amazon S3 bucket that you specify in your request.
- Parameters:
getTaxRegistrationDocumentRequest
-- Returns:
- Result of the GetTaxRegistrationDocument operation returned by the service.
- See Also:
-
getTaxRegistrationDocument
default GetTaxRegistrationDocumentResponse getTaxRegistrationDocument(Consumer<GetTaxRegistrationDocumentRequest.Builder> getTaxRegistrationDocumentRequest) throws ValidationException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Downloads your tax documents to the Amazon S3 bucket that you specify in your request.
This is a convenience which creates an instance of the
GetTaxRegistrationDocumentRequest.Builder
avoiding the need to create one manually viaGetTaxRegistrationDocumentRequest.builder()
- Parameters:
getTaxRegistrationDocumentRequest
- AConsumer
that will call methods onGetTaxRegistrationDocumentRequest.Builder
to create a request.- Returns:
- Result of the GetTaxRegistrationDocument operation returned by the service.
- See Also:
-
listSupplementalTaxRegistrations
default ListSupplementalTaxRegistrationsResponse listSupplementalTaxRegistrations(ListSupplementalTaxRegistrationsRequest listSupplementalTaxRegistrationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Retrieves supplemental tax registrations for a single account.
- Parameters:
listSupplementalTaxRegistrationsRequest
-- Returns:
- Result of the ListSupplementalTaxRegistrations operation returned by the service.
- See Also:
-
listSupplementalTaxRegistrations
default ListSupplementalTaxRegistrationsResponse listSupplementalTaxRegistrations(Consumer<ListSupplementalTaxRegistrationsRequest.Builder> listSupplementalTaxRegistrationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Retrieves supplemental tax registrations for a single account.
This is a convenience which creates an instance of the
ListSupplementalTaxRegistrationsRequest.Builder
avoiding the need to create one manually viaListSupplementalTaxRegistrationsRequest.builder()
- Parameters:
listSupplementalTaxRegistrationsRequest
- AConsumer
that will call methods onListSupplementalTaxRegistrationsRequest.Builder
to create a request.- Returns:
- Result of the ListSupplementalTaxRegistrations operation returned by the service.
- See Also:
-
listSupplementalTaxRegistrationsPaginator
default ListSupplementalTaxRegistrationsIterable listSupplementalTaxRegistrationsPaginator(ListSupplementalTaxRegistrationsRequest listSupplementalTaxRegistrationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException This is a variant of
listSupplementalTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListSupplementalTaxRegistrationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.taxsettings.paginators.ListSupplementalTaxRegistrationsIterable responses = client.listSupplementalTaxRegistrationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.taxsettings.paginators.ListSupplementalTaxRegistrationsIterable responses = client .listSupplementalTaxRegistrationsPaginator(request); for (software.amazon.awssdk.services.taxsettings.model.ListSupplementalTaxRegistrationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.taxsettings.paginators.ListSupplementalTaxRegistrationsIterable responses = client.listSupplementalTaxRegistrationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSupplementalTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListSupplementalTaxRegistrationsRequest)
operation.- Parameters:
listSupplementalTaxRegistrationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSupplementalTaxRegistrationsPaginator
default ListSupplementalTaxRegistrationsIterable listSupplementalTaxRegistrationsPaginator(Consumer<ListSupplementalTaxRegistrationsRequest.Builder> listSupplementalTaxRegistrationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException This is a variant of
listSupplementalTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListSupplementalTaxRegistrationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.taxsettings.paginators.ListSupplementalTaxRegistrationsIterable responses = client.listSupplementalTaxRegistrationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.taxsettings.paginators.ListSupplementalTaxRegistrationsIterable responses = client .listSupplementalTaxRegistrationsPaginator(request); for (software.amazon.awssdk.services.taxsettings.model.ListSupplementalTaxRegistrationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.taxsettings.paginators.ListSupplementalTaxRegistrationsIterable responses = client.listSupplementalTaxRegistrationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSupplementalTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListSupplementalTaxRegistrationsRequest)
operation.
This is a convenience which creates an instance of the
ListSupplementalTaxRegistrationsRequest.Builder
avoiding the need to create one manually viaListSupplementalTaxRegistrationsRequest.builder()
- Parameters:
listSupplementalTaxRegistrationsRequest
- AConsumer
that will call methods onListSupplementalTaxRegistrationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTaxExemptions
default ListTaxExemptionsResponse listTaxExemptions(ListTaxExemptionsRequest listTaxExemptionsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Retrieves the tax exemption of accounts listed in a consolidated billing family. The IAM action is
tax:GetExemptions
.- Parameters:
listTaxExemptionsRequest
-- Returns:
- Result of the ListTaxExemptions operation returned by the service.
- See Also:
-
listTaxExemptions
default ListTaxExemptionsResponse listTaxExemptions(Consumer<ListTaxExemptionsRequest.Builder> listTaxExemptionsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Retrieves the tax exemption of accounts listed in a consolidated billing family. The IAM action is
tax:GetExemptions
.
This is a convenience which creates an instance of the
ListTaxExemptionsRequest.Builder
avoiding the need to create one manually viaListTaxExemptionsRequest.builder()
- Parameters:
listTaxExemptionsRequest
- AConsumer
that will call methods onListTaxExemptionsRequest.Builder
to create a request.- Returns:
- Result of the ListTaxExemptions operation returned by the service.
- See Also:
-
listTaxExemptionsPaginator
default ListTaxExemptionsIterable listTaxExemptionsPaginator(ListTaxExemptionsRequest listTaxExemptionsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException This is a variant of
listTaxExemptions(software.amazon.awssdk.services.taxsettings.model.ListTaxExemptionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.taxsettings.paginators.ListTaxExemptionsIterable responses = client.listTaxExemptionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.taxsettings.paginators.ListTaxExemptionsIterable responses = client .listTaxExemptionsPaginator(request); for (software.amazon.awssdk.services.taxsettings.model.ListTaxExemptionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.taxsettings.paginators.ListTaxExemptionsIterable responses = client.listTaxExemptionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTaxExemptions(software.amazon.awssdk.services.taxsettings.model.ListTaxExemptionsRequest)
operation.- Parameters:
listTaxExemptionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTaxExemptionsPaginator
default ListTaxExemptionsIterable listTaxExemptionsPaginator(Consumer<ListTaxExemptionsRequest.Builder> listTaxExemptionsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException This is a variant of
listTaxExemptions(software.amazon.awssdk.services.taxsettings.model.ListTaxExemptionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.taxsettings.paginators.ListTaxExemptionsIterable responses = client.listTaxExemptionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.taxsettings.paginators.ListTaxExemptionsIterable responses = client .listTaxExemptionsPaginator(request); for (software.amazon.awssdk.services.taxsettings.model.ListTaxExemptionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.taxsettings.paginators.ListTaxExemptionsIterable responses = client.listTaxExemptionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTaxExemptions(software.amazon.awssdk.services.taxsettings.model.ListTaxExemptionsRequest)
operation.
This is a convenience which creates an instance of the
ListTaxExemptionsRequest.Builder
avoiding the need to create one manually viaListTaxExemptionsRequest.builder()
- Parameters:
listTaxExemptionsRequest
- AConsumer
that will call methods onListTaxExemptionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTaxRegistrations
default ListTaxRegistrationsResponse listTaxRegistrations(ListTaxRegistrationsRequest listTaxRegistrationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException 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).
- Parameters:
listTaxRegistrationsRequest
-- Returns:
- Result of the ListTaxRegistrations operation returned by the service.
- See Also:
-
listTaxRegistrations
default ListTaxRegistrationsResponse listTaxRegistrations(Consumer<ListTaxRegistrationsRequest.Builder> listTaxRegistrationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException 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).
This is a convenience which creates an instance of the
ListTaxRegistrationsRequest.Builder
avoiding the need to create one manually viaListTaxRegistrationsRequest.builder()
- Parameters:
listTaxRegistrationsRequest
- AConsumer
that will call methods onListTaxRegistrationsRequest.Builder
to create a request.- Returns:
- Result of the ListTaxRegistrations operation returned by the service.
- See Also:
-
listTaxRegistrationsPaginator
default ListTaxRegistrationsIterable listTaxRegistrationsPaginator(ListTaxRegistrationsRequest listTaxRegistrationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException This is a variant of
listTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListTaxRegistrationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.taxsettings.paginators.ListTaxRegistrationsIterable responses = client.listTaxRegistrationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.taxsettings.paginators.ListTaxRegistrationsIterable responses = client .listTaxRegistrationsPaginator(request); for (software.amazon.awssdk.services.taxsettings.model.ListTaxRegistrationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.taxsettings.paginators.ListTaxRegistrationsIterable responses = client.listTaxRegistrationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListTaxRegistrationsRequest)
operation.- Parameters:
listTaxRegistrationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTaxRegistrationsPaginator
default ListTaxRegistrationsIterable listTaxRegistrationsPaginator(Consumer<ListTaxRegistrationsRequest.Builder> listTaxRegistrationsRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException This is a variant of
listTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListTaxRegistrationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.taxsettings.paginators.ListTaxRegistrationsIterable responses = client.listTaxRegistrationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.taxsettings.paginators.ListTaxRegistrationsIterable responses = client .listTaxRegistrationsPaginator(request); for (software.amazon.awssdk.services.taxsettings.model.ListTaxRegistrationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.taxsettings.paginators.ListTaxRegistrationsIterable responses = client.listTaxRegistrationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTaxRegistrations(software.amazon.awssdk.services.taxsettings.model.ListTaxRegistrationsRequest)
operation.
This is a convenience which creates an instance of the
ListTaxRegistrationsRequest.Builder
avoiding the need to create one manually viaListTaxRegistrationsRequest.builder()
- Parameters:
listTaxRegistrationsRequest
- AConsumer
that will call methods onListTaxRegistrationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
putSupplementalTaxRegistration
default PutSupplementalTaxRegistrationResponse putSupplementalTaxRegistration(PutSupplementalTaxRegistrationRequest putSupplementalTaxRegistrationRequest) throws ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Stores supplemental tax registration for a single account.
- Parameters:
putSupplementalTaxRegistrationRequest
-- Returns:
- Result of the PutSupplementalTaxRegistration operation returned by the service.
- See Also:
-
putSupplementalTaxRegistration
default PutSupplementalTaxRegistrationResponse putSupplementalTaxRegistration(Consumer<PutSupplementalTaxRegistrationRequest.Builder> putSupplementalTaxRegistrationRequest) throws ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Stores supplemental tax registration for a single account.
This is a convenience which creates an instance of the
PutSupplementalTaxRegistrationRequest.Builder
avoiding the need to create one manually viaPutSupplementalTaxRegistrationRequest.builder()
- Parameters:
putSupplementalTaxRegistrationRequest
- AConsumer
that will call methods onPutSupplementalTaxRegistrationRequest.Builder
to create a request.- Returns:
- Result of the PutSupplementalTaxRegistration operation returned by the service.
- See Also:
-
putTaxExemption
default PutTaxExemptionResponse putTaxExemption(PutTaxExemptionRequest putTaxExemptionRequest) throws ValidationException, AccessDeniedException, CaseCreationLimitExceededException, ResourceNotFoundException, AttachmentUploadException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Adds the tax exemption for a single account or all accounts listed in a consolidated billing family. The IAM action is
tax:UpdateExemptions
.- Parameters:
putTaxExemptionRequest
-- Returns:
- Result of the PutTaxExemption operation returned by the service.
- See Also:
-
putTaxExemption
default PutTaxExemptionResponse putTaxExemption(Consumer<PutTaxExemptionRequest.Builder> putTaxExemptionRequest) throws ValidationException, AccessDeniedException, CaseCreationLimitExceededException, ResourceNotFoundException, AttachmentUploadException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException Adds the tax exemption for a single account or all accounts listed in a consolidated billing family. The IAM action is
tax:UpdateExemptions
.
This is a convenience which creates an instance of the
PutTaxExemptionRequest.Builder
avoiding the need to create one manually viaPutTaxExemptionRequest.builder()
- Parameters:
putTaxExemptionRequest
- AConsumer
that will call methods onPutTaxExemptionRequest.Builder
to create a request.- Returns:
- Result of the PutTaxExemption operation returned by the service.
- See Also:
-
putTaxInheritance
default PutTaxInheritanceResponse putTaxInheritance(PutTaxInheritanceRequest putTaxInheritanceRequest) throws ValidationException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException The updated tax inheritance status.
- Parameters:
putTaxInheritanceRequest
-- Returns:
- Result of the PutTaxInheritance operation returned by the service.
- See Also:
-
putTaxInheritance
default PutTaxInheritanceResponse putTaxInheritance(Consumer<PutTaxInheritanceRequest.Builder> putTaxInheritanceRequest) throws ValidationException, ConflictException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException The updated tax inheritance status.
This is a convenience which creates an instance of the
PutTaxInheritanceRequest.Builder
avoiding the need to create one manually viaPutTaxInheritanceRequest.builder()
- Parameters:
putTaxInheritanceRequest
- AConsumer
that will call methods onPutTaxInheritanceRequest.Builder
to create a request.- Returns:
- Result of the PutTaxInheritance operation returned by the service.
- See Also:
-
putTaxRegistration
default PutTaxRegistrationResponse putTaxRegistration(PutTaxRegistrationRequest putTaxRegistrationRequest) throws ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException 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
.
Indonesia
-
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
taxRegistrationNumberType
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object. -
If you specify
decisionNumber
, you must specify theppnExceptionDesignationCode
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object. If thetaxRegistrationNumberType
is set to NPWP or NITKU, valid values forppnExceptionDesignationCode
are either01
,02
,03
,07
, or08
.For other
taxRegistrationNumberType
values,ppnExceptionDesignationCode
must be either01
,07
, or08
. -
If
ppnExceptionDesignationCode
is07
, you must specify thedecisionNumber
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object.
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
-
The sector valid values are
Business
andIndividual
. -
RegistrationType
valid values areNRIC
for individual, and TIN and sales and service tax (SST) for Business. -
For individual, you can specify the
taxInformationNumber
inMalaysiaAdditionalInfo
with NRIC type, and a validMyKad
or NRIC number. -
For business, you must specify a
businessRegistrationNumber
inMalaysiaAdditionalInfo
with a TIN type and tax identification number. -
For business resellers, you must specify a
businessRegistrationNumber
andtaxInformationNumber
inMalaysiaAdditionalInfo
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 distinctserviceTaxCodes
inMalaysiaAdditionalInfo
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. -
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
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
.
- Parameters:
putTaxRegistrationRequest
-- Returns:
- Result of the PutTaxRegistration operation returned by the service.
- See Also:
-
-
putTaxRegistration
default PutTaxRegistrationResponse putTaxRegistration(Consumer<PutTaxRegistrationRequest.Builder> putTaxRegistrationRequest) throws ValidationException, ConflictException, InternalServerException, AwsServiceException, SdkClientException, TaxSettingsException 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
.
Indonesia
-
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
taxRegistrationNumberType
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object. -
If you specify
decisionNumber
, you must specify theppnExceptionDesignationCode
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object. If thetaxRegistrationNumberType
is set to NPWP or NITKU, valid values forppnExceptionDesignationCode
are either01
,02
,03
,07
, or08
.For other
taxRegistrationNumberType
values,ppnExceptionDesignationCode
must be either01
,07
, or08
. -
If
ppnExceptionDesignationCode
is07
, you must specify thedecisionNumber
in theindonesiaAdditionalInfo
field of theadditionalTaxInformation
object.
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
-
The sector valid values are
Business
andIndividual
. -
RegistrationType
valid values areNRIC
for individual, and TIN and sales and service tax (SST) for Business. -
For individual, you can specify the
taxInformationNumber
inMalaysiaAdditionalInfo
with NRIC type, and a validMyKad
or NRIC number. -
For business, you must specify a
businessRegistrationNumber
inMalaysiaAdditionalInfo
with a TIN type and tax identification number. -
For business resellers, you must specify a
businessRegistrationNumber
andtaxInformationNumber
inMalaysiaAdditionalInfo
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 distinctserviceTaxCodes
inMalaysiaAdditionalInfo
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. -
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
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
.
This is a convenience which creates an instance of the
PutTaxRegistrationRequest.Builder
avoiding the need to create one manually viaPutTaxRegistrationRequest.builder()
- Parameters:
putTaxRegistrationRequest
- AConsumer
that will call methods onPutTaxRegistrationRequest.Builder
to create a request.- Returns:
- Result of the PutTaxRegistration operation returned by the service.
- See Also:
-
-
create
Create aTaxSettingsClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aTaxSettingsClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-