TaxSettingsClient

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

Properties

Link copied to clipboard
abstract override val config: TaxSettingsClient.Config

TaxSettingsClient's configuration

Functions

Link copied to clipboard

Deletes tax registration for multiple accounts in batch. This can be used to delete tax registrations for up to five accounts in one batch.

Link copied to clipboard

Get the active tax exemptions for a given list of accounts. The IAM action is tax:GetExemptions.

Link copied to clipboard

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.

Link copied to clipboard

Deletes a supplemental tax registration for a single account.

Link copied to clipboard
abstract suspend fun deleteTaxRegistration(input: DeleteTaxRegistrationRequest = DeleteTaxRegistrationRequest { }): DeleteTaxRegistrationResponse

Deletes tax registration for a single account.

Link copied to clipboard
abstract suspend fun getTaxExemptionTypes(input: GetTaxExemptionTypesRequest = GetTaxExemptionTypesRequest { }): GetTaxExemptionTypesResponse

Get supported tax exemption types. The IAM action is tax:GetExemptions.

Link copied to clipboard
abstract suspend fun getTaxInheritance(input: GetTaxInheritanceRequest = GetTaxInheritanceRequest { }): GetTaxInheritanceResponse

The get account tax inheritance status.

Link copied to clipboard
abstract suspend fun getTaxRegistration(input: GetTaxRegistrationRequest = GetTaxRegistrationRequest { }): GetTaxRegistrationResponse

Retrieves tax registration for a single account.

Link copied to clipboard

Downloads your tax documents to the Amazon S3 bucket that you specify in your request.

Link copied to clipboard
abstract suspend fun listSupplementalTaxRegistrations(input: ListSupplementalTaxRegistrationsRequest = ListSupplementalTaxRegistrationsRequest { }): ListSupplementalTaxRegistrationsResponse

Retrieves supplemental tax registrations for a single account.

Link copied to clipboard
abstract suspend fun listTaxExemptions(input: ListTaxExemptionsRequest = ListTaxExemptionsRequest { }): ListTaxExemptionsResponse

Retrieves the tax exemption of accounts listed in a consolidated billing family. The IAM action is tax:GetExemptions.

Link copied to clipboard
abstract suspend fun listTaxRegistrations(input: ListTaxRegistrationsRequest = ListTaxRegistrationsRequest { }): ListTaxRegistrationsResponse

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).

Link copied to clipboard

Stores supplemental tax registration for a single account.

Link copied to clipboard

Adds the tax exemption for a single account or all accounts listed in a consolidated billing family. The IAM action is tax:UpdateExemptions.

Link copied to clipboard
abstract suspend fun putTaxInheritance(input: PutTaxInheritanceRequest = PutTaxInheritanceRequest { }): PutTaxInheritanceResponse

The updated tax inheritance status.

Link copied to clipboard

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.

Inherited functions

Link copied to clipboard

Deletes tax registration for multiple accounts in batch. This can be used to delete tax registrations for up to five accounts in one batch.

Link copied to clipboard

Get the active tax exemptions for a given list of accounts. The IAM action is tax:GetExemptions.

Link copied to clipboard

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.

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard

Deletes a supplemental tax registration for a single account.

Link copied to clipboard

Deletes tax registration for a single account.

Link copied to clipboard

Get supported tax exemption types. The IAM action is tax:GetExemptions.

Link copied to clipboard

The get account tax inheritance status.

Link copied to clipboard

Retrieves tax registration for a single account.

Link copied to clipboard

Downloads your tax documents to the Amazon S3 bucket that you specify in your request.

Link copied to clipboard

Retrieves supplemental tax registrations for a single account.

Link copied to clipboard

Retrieves the tax exemption of accounts listed in a consolidated billing family. The IAM action is tax:GetExemptions.

Link copied to clipboard

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).

Link copied to clipboard

Stores supplemental tax registration for a single account.

Link copied to clipboard

Adds the tax exemption for a single account or all accounts listed in a consolidated billing family. The IAM action is tax:UpdateExemptions.

Link copied to clipboard

The updated tax inheritance status.

Link copied to clipboard

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.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.