Tax Settings
GET accounts/:account_id/tax_settings¶
Retrieve tax setting details associated with the current account.
Resource URL¶
https://ads-api.x.com/12/accounts/:account_id/tax_settings
Parameters¶
Name | Description |
---|---|
account_id required |
The identifier for the leveraged account. Appears within the resource's path and is generally a required parameter for all Advertiser API requests excluding GET accounts. The specified account must be associated with the authenticated user. Type: string Example:
|
Example Request¶
GET https://ads-api.x.com/12/accounts/18ce54d4x5t/tax_settings
Example Response¶
{
"request": {
"params": {
"account_id": "18ce54d4x5t"
}
},
"data": {
"tax_id": "GB896391250",
"address_city": "London",
"business_relationship": "SELF",
"address_street1": "21 March St",
"address_last_name": null,
"address_company": "ABC, Inc.",
"tax_category": "BUSINESS_WITH_VAT",
"address_postal_code": "SW1A 1AA",
"bill_to": "NOT_SET",
"address_region": "London",
"address_country": "GB",
"address_first_name": null,
"invoice_jurisdiction": "NOT_SET",
"address_street2": null,
"address_email": null
}
}
PUT accounts/:account_id/tax_settings¶
Update the tax settings for the current account.
Resource URL¶
https://ads-api.x.com/12/accounts/:account_id/tax_settings
Parameters¶
Name | Description |
---|---|
account_id required |
The identifier for the leveraged account. Appears within the resource's path and is generally a required parameter for all Advertiser API requests excluding GET accounts. The specified account must be associated with the authenticated user. Type: string Example:
|
address_city optional |
The city for the account owner's address. Type: string Example: |
address_country optional |
The two-letter country code for the account owner's address. Type: string Example: |
address_email optional |
The email associated with the account owner's address. Type: string Example:
|
address_first_name optional |
The first name for the account owner's address. Type: string Example: |
address_last_name optional |
The last name for the account owner's address. Type: string Example: |
address_name optional |
The company name for the account owner's address. Type: string Example: |
address_postal_code optional |
The postal code for the account owner's address. Type: string Example: |
address_region optional |
The region for the account owner's address. Type: string Example: |
address_street1 optional |
The street line for the account owner's address. Type: string Example: |
address_street2 optional |
The second street line for the account owner's address. Type: string Example:
|
bill_to optional |
The entity that is billed. Type: enum Possible
values: |
business_relationship optional |
Whether the account is owned by the advertiser or by the agency. Type: enum Possible values: |
client_address_city optional |
The city for the advertiser's address. Set this when the ads account is owned by an agency. Type: string Example:
|
client_address_country optional |
The two-letter country code for the advertiser's address. Set this when the ads account is owned by an agency. Type: string Example: |
client_address_email optional |
The email associated with the advertiser's address. Set this when the ads account is owned by an agency. Type: string Example: |
client_address_first_name optional |
The first name for the advertiser's address. Set this when the ads account is owned by an agency. Type: string Example:
|
client_address_last_name optional |
The last name for the advertiser's address. Set this when the ads account is owned by an agency. Type: string Example:
|
client_address_name optional |
The company name for the advertiser's address. Set this when the ads account is owned by an agency. Type: string Example: |
client_address_postal_code optional |
The postal code for the advertiser's address. Set this when the ads account is owned by an agency. Type: string Example:
|
client_address_region optional |
The region for the advertiser's address. Set this when the ads account is owned by an agency. Type: string Example:
|
client_address_street1 optional |
The street line for the advertiser's address. Set this when the ads account is owned by an agency. Type: string Example:
|
client_address_street2 optional |
The second street line for the advertiser's address. Set this when the ads account is owned by an agency. Type: string Example: |
invoice_jurisdiction optional |
Invoice jurisdiction. Type: enum Possible values:
|
tax_category optional |
Whether the taxation should be individual or business. Type: enum Possible values:
|
tax_exemption_id optional |
VAT exemption ID. Type: sting Example:
|
tax_id optional |
VAT registration ID. Type: string Possible values:
|
Example Request¶
PUT https://ads-api.x.com/12/accounts/18ce54d4x5t/tax_settings?address_name=ABC, Co.
Example Response¶
{
"request": {
"params": {
"account_id": "18ce54d4x5t",
"address_name": "ABC Co."
}
},
"data": {
"tax_id": "GB896391250",
"address_city": "London",
"business_relationship": "SELF",
"address_street1": "21 March St",
"address_last_name": null,
"address_company": "ABC, Co.",
"tax_category": "BUSINESS_WITH_VAT",
"address_postal_code": "SW1A 1AA",
"bill_to": "NOT_SET",
"address_region": "London",
"address_country": "GB",
"address_first_name": null,
"invoice_jurisdiction": "NOT_SET",
"address_street2": null,
"address_email": null
}
}