Get sorted tax keys by country and section
Scope: accounting:taxes.read https://api.alladdin.com/api/v2/taxes/keys-by-country
Returns the ordered list of tax keys applicable for a given country and ecommerce section. Combines default country rules with section-specific overrides.
Parameters
Query parameters
country string required
ISO 3166-1 alpha-2 country code (e.g. ES, FR, DE)
section string optional = all
Ecommerce section (all|shopify|prestashop|woocommerce|amazon|wix|stripe). Defaults to "all" when omitted.
Request
import requests
url = "https://api.alladdin.com/api/v2/taxes/keys-by-country?country=value§ion=all"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Responses
Response
{
"items": [
"string"
]
}Success responses
200 Sorted tax keys for the given country and section application/json object items[] string[]
Error responses
401 Invalid or missing API key application/json 403 Insufficient permissions application/json 429 Rate limit exceeded application/json
