TaxSettings / Client / put_tax_exemption

put_tax_exemption#

TaxSettings.Client.put_tax_exemption(**kwargs)#

Adds the tax exemption for a single account or all accounts listed in a consolidated billing family.

See also: AWS API Documentation

Request Syntax

response = client.put_tax_exemption(
    accountIds=[
        'string',
    ],
    authority={
        'country': 'string',
        'state': 'string'
    },
    exemptionCertificate={
        'documentFile': b'bytes',
        'documentName': 'string'
    },
    exemptionType='string'
)
Parameters:
  • accountIds (list) –

    [REQUIRED]

    The list of unique account identifiers.

    • (string) –

  • authority (dict) –

    [REQUIRED]

    The address domain associate with the tax information.

    • country (string) – [REQUIRED]

      The country code for the country that the address is in.

    • state (string) –

      The state that the address is located.

  • exemptionCertificate (dict) –

    [REQUIRED]

    The exemption certificate.

    • documentFile (bytes) – [REQUIRED]

      The exemption certificate file content.

    • documentName (string) – [REQUIRED]

      The exemption certificate file name.

  • exemptionType (string) –

    [REQUIRED]

    The exemption type.

Return type:

dict

Returns:

Response Syntax

{
    'caseId': 'string'
}

Response Structure

  • (dict) –

    • caseId (string) –

      The customer support case ID.

Exceptions

  • TaxSettings.Client.exceptions.ValidationException

  • TaxSettings.Client.exceptions.AccessDeniedException

  • TaxSettings.Client.exceptions.CaseCreationLimitExceededException

  • TaxSettings.Client.exceptions.ResourceNotFoundException

  • TaxSettings.Client.exceptions.AttachmentUploadException

  • TaxSettings.Client.exceptions.InternalServerException