supplemental_tax_registrations
Creates, updates, deletes, gets or lists a supplemental_tax_registrations resource.
Overview
| Name | supplemental_tax_registrations |
| Type | Resource |
| Id | aws.taxsettings.supplemental_tax_registrations |
Fields
The following fields are returned by SELECT queries:
- list_supplemental_tax_registrations
| Name | Datatype | Description |
|---|---|---|
address | object | The details of the address associated with the TRN information. |
authority_id | string | Unique authority ID for the supplemental TRN. (pattern: <code>[\s\S]*</code>) |
legal_name | string | The legal name associated with your TRN registration. (pattern: <code>(?!\s*$)[\s\S]+</code>) |
registration_id | string | The supplemental TRN unique identifier. (pattern: <code>(?!\s*$)[\s\S]+</code>) |
registration_type | string | Type of supplemental TRN. Currently, this can only be VAT. (VAT) |
status | string | The status of your TRN. (Verified, Pending, Deleted, Rejected) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_supplemental_tax_registrations | select | region | Retrieves supplemental tax registrations for a single account. | |
put_supplemental_tax_registration | replace | region, taxRegistrationEntry | Stores supplemental tax registration for a single account. | |
delete_supplemental_tax_registration | delete | region | Deletes a supplemental tax registration for a single account. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_supplemental_tax_registrations
Retrieves supplemental tax registrations for a single account.
SELECT
address,
authority_id,
legal_name,
registration_id,
registration_type,
status
FROM aws.taxsettings.supplemental_tax_registrations
WHERE region = '{{ region }}' -- required
;
REPLACE examples
- put_supplemental_tax_registration
Stores supplemental tax registration for a single account.
REPLACE aws.taxsettings.supplemental_tax_registrations
SET
taxRegistrationEntry = '{{ taxRegistrationEntry }}'
WHERE
region = '{{ region }}' --required
AND taxRegistrationEntry = '{{ taxRegistrationEntry }}' --required
RETURNING
authority_id,
status;
DELETE examples
- delete_supplemental_tax_registration
Deletes a supplemental tax registration for a single account.
DELETE FROM aws.taxsettings.supplemental_tax_registrations
WHERE region = '{{ region }}' --required
;