AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Brazil

Georgia

Kenya

Malaysia

Nepal

Saudi Arabia

South Korea

Spain

Turkey

Ukraine

Note:

This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginBatchPutTaxRegistration and EndBatchPutTaxRegistration.

Namespace: Amazon.TaxSettings
Assembly: AWSSDK.TaxSettings.dll
Version: 3.x.y.z

Syntax

C#
public abstract Task<BatchPutTaxRegistrationResponse> BatchPutTaxRegistrationAsync(
         BatchPutTaxRegistrationRequest request,
         CancellationToken cancellationToken
)

Parameters

request
Type: Amazon.TaxSettings.Model.BatchPutTaxRegistrationRequest

Container for the necessary parameters to execute the BatchPutTaxRegistration service method.

cancellationToken
Type: System.Threading.CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value


The response from the BatchPutTaxRegistration service method, as returned by TaxSettings.

Exceptions

ExceptionCondition
ConflictException The exception when the input is creating conflict with the given state.
InternalServerException The exception thrown when an unexpected error occurs when processing a request.
ValidationException The exception when the input doesn't pass validation for at least one of the input parameters.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer

See Also