Skip to main content
GET

Get sorted tax keys by country and section

Scope:accounting:taxes.read
https://api.holded.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

countrystringrequired

ISO 3166-1 alpha-2 country code (e.g. ES, FR, DE)

sectionstringoptional= all

Ecommerce section (all|shopify|prestashop|woocommerce|amazon|wix|stripe). Defaults to "all" when omitted.

Request

python
import requests

url = "https://api.holded.com/api/v2/taxes/keys-by-country?country=value&section=all"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Responses

Response

json
{
  "items": [
    "string"
  ]
}

Success responses

200Sorted tax keys for the given country and sectionapplication/json
object
items[]string[]

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
429Rate limit exceededapplication/json