TaxSettings / Client / list_tax_exemptions

list_tax_exemptions#

TaxSettings.Client.list_tax_exemptions(**kwargs)#

Retrieves the tax exemption of accounts listed in a consolidated billing family.

See also: AWS API Documentation

Request Syntax

response = client.list_tax_exemptions(
    maxResults=123,
    nextToken='string'
)
Parameters:
  • maxResults (integer) – The number of results you want in one response.

  • nextToken (string) – The token to retrieve the next set of results.

Return type:

dict

Returns:

Response Syntax

{
    'nextToken': 'string',
    'taxExemptionDetailsMap': {
        'string': {
            'heritageObtainedDetails': True|False,
            'heritageObtainedParentEntity': 'string',
            'heritageObtainedReason': 'string',
            'taxExemptions': [
                {
                    'authority': {
                        'country': 'string',
                        'state': 'string'
                    },
                    'effectiveDate': datetime(2015, 1, 1),
                    'expirationDate': datetime(2015, 1, 1),
                    'status': 'None'|'Valid'|'Expired'|'Pending',
                    'systemEffectiveDate': datetime(2015, 1, 1),
                    'taxExemptionType': {
                        'applicableJurisdictions': [
                            {
                                'country': 'string',
                                'state': 'string'
                            },
                        ],
                        'description': 'string',
                        'displayName': 'string'
                    }
                },
            ]
        }
    }
}

Response Structure

  • (dict) –

    • nextToken (string) –

      The token to retrieve the next set of results.

    • taxExemptionDetailsMap (dict) –

      The tax exemption details map of accountId and tax exemption details.

      • (string) –

        • (dict) –

          The tax exemption details.

          • heritageObtainedDetails (boolean) –

            The indicator if the tax exemption is inherited from the consolidated billing family management account.

          • heritageObtainedParentEntity (string) –

            The consolidated billing family management account the tax exemption inherited from.

          • heritageObtainedReason (string) –

            The reason of the heritage inheritance.

          • taxExemptions (list) –

            Tax exemptions.

            • (dict) –

              The tax exemption.

              • authority (dict) –

                The address domain associate with tax exemption.

                • country (string) –

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

                • state (string) –

                  The state that the address is located.

              • effectiveDate (datetime) –

                The tax exemption effective date.

              • expirationDate (datetime) –

                The tax exemption expiration date.

              • status (string) –

                The tax exemption status.

              • systemEffectiveDate (datetime) –

                The tax exemption recording time in the TaxSettings system.

              • taxExemptionType (dict) –

                The tax exemption type.

                • applicableJurisdictions (list) –

                  The tax exemption’s applicable jurisdictions.

                  • (dict) –

                    The address domain associate with the tax information.

                    • country (string) –

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

                    • state (string) –

                      The state that the address is located.

                • description (string) –

                  The tax exemption’s type description.

                • displayName (string) –

                  The tax exemption’s type display name.

Exceptions