Global Tax Rate Lookup API

API ID 12968

Returns VAT and GST standard, reduced, zero, and exempt rates for 166 countries by country code, region, or side-by-side comparison. Reverse-search by rate value to find every country at a specific rate. Covers EU, Africa, APAC, and Americas.

Documentação da API

Endpoints

Requisição

Retorna as taxas padrão, reduzidas, zero e isentas de IVA e GST para todos os 166 países suportados. Cada país inclui countryCode, countryName, currency, taxName, taxa padrão, array de taxas reduzidas, booleano zero, booleano isento, taxa de bens digitais e notas.

Endpoint ID: 25921
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25921/get+all+rates
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
{"Example Response":"No response example available for now."}
Obtenha Todas as Tarifas — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25921/get+all+rates' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns VAT and GST rate data for a single country by ISO 3166-1 alpha-2 country code. Input is automatically uppercased. Returns 404 if the country code is not supported.

Endpoint ID: 25922
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25922/get+rate+by+country
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":{"countryCode":"DE","countryName":"Germany","currency":"EUR","taxName":"MwSt","standard":0.19,"reduced":[0.07],"zero":true,"exempt":true,"digitalGoods":0.19,"notes":null},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Get Rate by Country — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25922/get+rate+by+country&countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns VAT and GST rate data for all countries in a specified region. Valid region values are africa, eu, apac, and americas. Returns 404 if the region name is not recognised.

Endpoint ID: 25923
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25923/get+rates+by+region
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":[{"countryCode":"AT","countryName":"Austria","currency":"EUR","taxName":"MwSt","standard":0.2,"reduced":[0.1,0.13],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"BE","countryName":"Belgium","currency":"EUR","taxName":"TVA/BTW","standard":0.21,"reduced":[0.06,0.12],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"BG","countryName":"Bulgaria","currency":"BGN","taxName":"ДДС","standard":0.2,"reduced":[0.09],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"CY","countryName":"Cyprus","currency":"EUR","taxName":"ΦΠΑ","standard":0.19,"reduced":[0.05,0.09],"zero":true,"exempt":true,"digitalGoods":0.19,"notes":null},{"countryCode":"CZ","countryName":"Czech Republic","currency":"CZK","taxName":"DPH","standard":0.21,"reduced":[0.12],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"DE","countryName":"Germany","currency":"EUR","taxName":"MwSt","standard":0.19,"reduced":[0.07],"zero":true,"exempt":true,"digitalGoods":0.19,"notes":null},{"countryCode":"DK","countryName":"Denmark","currency":"DKK","taxName":"Moms","standard":0.25,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.25,"notes":null},{"countryCode":"EE","countryName":"Estonia","currency":"EUR","taxName":"Käibemaks","standard":0.22,"reduced":[0.09],"zero":true,"exempt":true,"digitalGoods":0.22,"notes":"Rate increased from 20% to 22% on 1 January 2024"},{"countryCode":"ES","countryName":"Spain","currency":"EUR","taxName":"IVA","standard":0.21,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"FI","countryName":"Finland","currency":"EUR","taxName":"ALV","standard":0.255,"reduced":[0.1,0.14],"zero":true,"exempt":true,"digitalGoods":0.255,"notes":"Standard rate increased from 24% to 25.5% on 1 September 2024"},{"countryCode":"FR","countryName":"France","currency":"EUR","taxName":"TVA","standard":0.2,"reduced":[0.055,0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"GR","countryName":"Greece","currency":"EUR","taxName":"ΦΠΑ","standard":0.24,"reduced":[0.06,0.13],"zero":true,"exempt":true,"digitalGoods":0.24,"notes":null},{"countryCode":"HR","countryName":"Croatia","currency":"EUR","taxName":"PDV","standard":0.25,"reduced":[0.05,0.13],"zero":true,"exempt":true,"digitalGoods":0.25,"notes":null},{"countryCode":"HU","countryName":"Hungary","currency":"HUF","taxName":"ÁFA","standard":0.27,"reduced":[0.05,0.18],"zero":true,"exempt":true,"digitalGoods":0.27,"notes":"Highest standard VAT rate in the EU"},{"countryCode":"IE","countryName":"Ireland","currency":"EUR","taxName":"VAT","standard":0.23,"reduced":[0.09,0.135],"zero":true,"exempt":true,"digitalGoods":0.23,"notes":null},{"countryCode":"IT","countryName":"Italy","currency":"EUR","taxName":"IVA","standard":0.22,"reduced":[0.05,0.1],"zero":true,"exempt":true,"digitalGoods":0.22,"notes":null},{"countryCode":"LT","countryName":"Lithuania","currency":"EUR","taxName":"PVM","standard":0.21,"reduced":[0.05,0.09],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"LU","countryName":"Luxembourg","currency":"EUR","taxName":"TVA","standard":0.17,"reduced":[0.08],"zero":true,"exempt":true,"digitalGoods":0.17,"notes":"Lowest standard VAT rate in the EU"},{"countryCode":"LV","countryName":"Latvia","currency":"EUR","taxName":"PVN","standard":0.21,"reduced":[0.12],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"MT","countryName":"Malta","currency":"EUR","taxName":"VAT","standard":0.18,"reduced":[0.05,0.07],"zero":true,"exempt":true,"digitalGoods":0.18,"notes":null},{"countryCode":"NL","countryName":"Netherlands","currency":"EUR","taxName":"BTW","standard":0.21,"reduced":[0.09],"zero":true,"exempt":true,"digitalGoods":0.21,"notes":null},{"countryCode":"PL","countryName":"Poland","currency":"PLN","taxName":"VAT","standard":0.23,"reduced":[0.05,0.08],"zero":true,"exempt":true,"digitalGoods":0.23,"notes":null},{"countryCode":"PT","countryName":"Portugal","currency":"EUR","taxName":"IVA","standard":0.23,"reduced":[0.06,0.13],"zero":true,"exempt":true,"digitalGoods":0.23,"notes":null},{"countryCode":"RO","countryName":"Romania","currency":"RON","taxName":"TVA","standard":0.19,"reduced":[0.05,0.09],"zero":true,"exempt":true,"digitalGoods":0.19,"notes":null},{"countryCode":"SE","countryName":"Sweden","currency":"SEK","taxName":"Moms","standard":0.25,"reduced":[0.06,0.12],"zero":true,"exempt":true,"digitalGoods":0.25,"notes":null},{"countryCode":"SI","countryName":"Slovenia","currency":"EUR","taxName":"DDV","standard":0.22,"reduced":[0.05,0.095],"zero":true,"exempt":true,"digitalGoods":0.22,"notes":null},{"countryCode":"SK","countryName":"Slovakia","currency":"EUR","taxName":"DPH","standard":0.23,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.23,"notes":"Standard rate increased from 20% to 23% on 1 January 2025"}],"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false,"count":27,"region":"eu"}}
Get Rates by Region — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25923/get+rates+by+region®ion=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns side-by-side VAT and GST rate data for 2 to 10 countries in a single call. Pass a comma-separated list of ISO alpha-2 country codes. Returns 400 if fewer than 2 or more than 10 codes are provided.

Endpoint ID: 25924
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25924/compare+rates
PARÂMETROS DE ENTRADA

Compare Rates — Recursos do endpoint

Objeto Descrição
countries Obrigatório Comma-separated ISO alpha-2 country codes. Minimum 2, maximum 10

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

countries
RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":[{"countryCode":"GB","countryName":"United Kingdom","currency":"GBP","taxName":"VAT","standard":0.2,"reduced":[0.05],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"DE","countryName":"Germany","currency":"EUR","taxName":"MwSt","standard":0.19,"reduced":[0.07],"zero":true,"exempt":true,"digitalGoods":0.19,"notes":null},{"countryCode":"ZA","countryName":"South Africa","currency":"ZAR","taxName":"VAT","standard":0.15,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.15,"notes":null},{"countryCode":"AU","countryName":"Australia","currency":"AUD","taxName":"GST","standard":0.1,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.1,"notes":null}],"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false,"count":4,"notFound":[]}}
Compare Rates — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25924/compare+rates?countries=GB,DE,ZA,AU' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Reverse lookup that returns all countries matching a specific rate value. The rate parameter is required and must be a decimal such as 0.20 for 20 percent. The type parameter is optional and filters by standard, reduced, or digitalGoods rate. Defaults to standard if type is not provided.

Endpoint ID: 25925
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25925/search+rates+by+value
PARÂMETROS DE ENTRADA

Search Rates by Value — Recursos do endpoint

Objeto Descrição
rate Obrigatório Rate value as a decimal e.g. 0.20 for 20 percent
type Opcional Rate type to search. Valid values: standard, reduced, digitalGoods

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

rate
type
RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":[{"countryCode":"AT","countryName":"Austria","currency":"EUR","taxName":"MwSt","standard":0.2,"reduced":[0.1,0.13],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"BG","countryName":"Bulgaria","currency":"BGN","taxName":"ДДС","standard":0.2,"reduced":[0.09],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"FR","countryName":"France","currency":"EUR","taxName":"TVA","standard":0.2,"reduced":[0.055,0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"GB","countryName":"United Kingdom","currency":"GBP","taxName":"VAT","standard":0.2,"reduced":[0.05],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"AL","countryName":"Albania","currency":"ALL","taxName":"TVSH","standard":0.2,"reduced":[],"zero":false,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"RS","countryName":"Serbia","currency":"RSD","taxName":"PDV","standard":0.2,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"MD","countryName":"Moldova","currency":"MDL","taxName":"TVA","standard":0.2,"reduced":[0.08,0.12],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"UA","countryName":"Ukraine","currency":"UAH","taxName":"ПДВ","standard":0.2,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"RU","countryName":"Russia","currency":"RUB","taxName":"НДС","standard":0.2,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"BY","countryName":"Belarus","currency":"BYR","taxName":"НДС","standard":0.2,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"TR","countryName":"Turkey","currency":"TRY","taxName":"KDV","standard":0.2,"reduced":[0.1],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":"Standard rate increased from 18% to 20% in July 2023"},{"countryCode":"AM","countryName":"Armenia","currency":"AMD","taxName":"ԱԱՀ","standard":0.2,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"MA","countryName":"Morocco","currency":"MAD","taxName":"TVA","standard":0.2,"reduced":[0.07,0.1,0.14],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null},{"countryCode":"MG","countryName":"Madagascar","currency":"MGA","taxName":"TVA","standard":0.2,"reduced":[],"zero":true,"exempt":true,"digitalGoods":0.2,"notes":null}],"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false,"count":14,"searchedRate":0.2,"rateType":"standard"}}
Search Rates by Value — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25925/search+rates+by+value?rate=0.2&type=standard' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns a lightweight list of all 166 supported countries with countryCode, countryName, currency, and taxName fields only. No rate data is included in this response.

Endpoint ID: 25926
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25926/list+countries
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
{"Example Response":"No response example available for now."}
List Countries — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25926/list+countries' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Calculates VAT or GST for a single item. Direction add takes a net exclusive price and returns the gross inclusive price and tax amount. Direction remove takes a gross inclusive price and returns the net exclusive price and tax amount. All monetary outputs are rounded to 2 decimal places.

Endpoint ID: 25927
POST https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25927/calculate+vat+gst+single+item
PARÂMETROS DE ENTRADA

Calculate VAT GST Single Item — Recursos do endpoint

Objeto Descrição
Corpo da requisição Obrigatório Json

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":{"countryCode":"GB","taxName":"VAT","rateType":"standard","rate":0.2,"direction":"add","inputAmount":100,"taxAmount":20,"outputAmount":120},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Calculate VAT GST Single Item — TRECHOS DE CÓDIGO

curl --location --request POST 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25927/calculate+vat+gst+single+item' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
  "countryCode": "GB",
  "amount": 100.00,
  "rateType": "standard",
  "direction": "add"
}'

    
Requisição

Calculates VAT or GST for up to 20 items in a single request. All items are validated before any are processed. If any item is invalid a 400 is returned with per-item errors covering all failures at once. Returns 400 if more than 20 items are submitted.

Endpoint ID: 25928
POST https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25928/calculate+vat+gst+batch
PARÂMETROS DE ENTRADA

Calculate VAT GST Batch — Recursos do endpoint

Objeto Descrição
Corpo da requisição Obrigatório Json

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":[{"countryCode":"GB","taxName":"VAT","rateType":"standard","rate":0.2,"direction":"add","inputAmount":100,"taxAmount":20,"outputAmount":120},{"countryCode":"DE","taxName":"MwSt","rateType":"reduced","rate":0.07,"direction":"add","inputAmount":50,"taxAmount":3.5,"outputAmount":53.5},{"countryCode":"AU","taxName":"GST","rateType":"standard","rate":0.1,"direction":"remove","inputAmount":200,"taxAmount":18.18,"outputAmount":181.82}],"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false,"count":3}}
Calculate VAT GST Batch — TRECHOS DE CÓDIGO

curl --location --request POST 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25928/calculate+vat+gst+batch' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
  "items": [
    { "countryCode": "GB", "amount": 100.00, "rateType": "standard", "direction": "add" },
    { "countryCode": "DE", "amount": 50.00, "rateType": "reduced", "direction": "add" },
    { "countryCode": "AU", "amount": 200.00, "rateType": "standard", "direction": "remove" }
  ]
}'

    
Requisição

Calculates VAT or GST for a multi-line invoice with mixed rate types and quantities. Returns per-line tax breakdown including description, quantity, unitAmount, rate, lineTaxAmount, and lineTotal. Also returns invoiceSummary with subtotal, totalTax, and grandTotal. Grand total is guaranteed to equal the exact sum of all line totals.

Endpoint ID: 25929
POST https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25929/calculate+vat+gst+invoice
PARÂMETROS DE ENTRADA

Calculate VAT GST Invoice — Recursos do endpoint

Objeto Descrição
Corpo da requisição Obrigatório Json

Solicitações gratuitas de teste restantes: 3 de 3.


PARÂMETROS DE ENTRADA

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":{"countryCode":"DE","taxName":"MwSt","direction":"add","lineItems":[{"description":"SaaS subscription","quantity":1,"unitAmount":99,"rateType":"standard","rate":0.19,"lineTaxAmount":18.81,"lineTotal":117.81},{"description":"Setup fee","quantity":1,"unitAmount":150,"rateType":"standard","rate":0.19,"lineTaxAmount":28.5,"lineTotal":178.5},{"description":"Export service","quantity":2,"unitAmount":50,"rateType":"zero","rate":0,"lineTaxAmount":0,"lineTotal":100}],"invoiceSummary":{"subtotal":349,"totalTax":47.31,"grandTotal":396.31}},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Calculate VAT GST Invoice — TRECHOS DE CÓDIGO

curl --location --request POST 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25929/calculate+vat+gst+invoice' --header 'Authorization: Bearer YOUR_API_KEY' 

--data-raw '{
  "countryCode": "DE",
  "direction": "add",
  "items": [
    { "description": "SaaS subscription", "amount": 99.00, "rateType": "standard", "quantity": 1 },
    { "description": "Setup fee", "amount": 150.00, "rateType": "standard", "quantity": 1 },
    { "description": "Export service", "amount": 50.00, "rateType": "zero", "quantity": 2 }
  ]
}'

    
Requisição

Returns the VAT or GST rate applicable to digital services and SaaS products sold into a country under OSS, MOSS, or local digital services rules. Includes a differsFromStandard flag which is true when the digital goods rate differs from the standard rate. Returns 404 if no digital goods rate is defined.

Endpoint ID: 25930
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25930/get+digital+goods+rate
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":{"countryCode":"GB","countryName":"United Kingdom","taxName":"VAT","digitalGoodsRate":0.2,"standardRate":0.2,"differsFromStandard":false,"notes":null},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Get Digital Goods Rate — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25930/get+digital+goods+rate&countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns digital goods VAT rates for all 27 EU member states in a single call sorted by country code. Includes an ossNote in meta explaining the EU One Stop Shop scheme and the 10000 euro annual cross-border threshold for digital services.

Endpoint ID: 25931
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25931/eu+oss+digital+goods+rates
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":[{"countryCode":"AT","countryName":"Austria","taxName":"MwSt","digitalGoodsRate":0.2,"standardRate":0.2},{"countryCode":"BE","countryName":"Belgium","taxName":"TVA/BTW","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"BG","countryName":"Bulgaria","taxName":"ДДС","digitalGoodsRate":0.2,"standardRate":0.2},{"countryCode":"CY","countryName":"Cyprus","taxName":"ΦΠΑ","digitalGoodsRate":0.19,"standardRate":0.19},{"countryCode":"CZ","countryName":"Czech Republic","taxName":"DPH","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"DE","countryName":"Germany","taxName":"MwSt","digitalGoodsRate":0.19,"standardRate":0.19},{"countryCode":"DK","countryName":"Denmark","taxName":"Moms","digitalGoodsRate":0.25,"standardRate":0.25},{"countryCode":"EE","countryName":"Estonia","taxName":"Käibemaks","digitalGoodsRate":0.22,"standardRate":0.22},{"countryCode":"ES","countryName":"Spain","taxName":"IVA","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"FI","countryName":"Finland","taxName":"ALV","digitalGoodsRate":0.255,"standardRate":0.255},{"countryCode":"FR","countryName":"France","taxName":"TVA","digitalGoodsRate":0.2,"standardRate":0.2},{"countryCode":"GR","countryName":"Greece","taxName":"ΦΠΑ","digitalGoodsRate":0.24,"standardRate":0.24},{"countryCode":"HR","countryName":"Croatia","taxName":"PDV","digitalGoodsRate":0.25,"standardRate":0.25},{"countryCode":"HU","countryName":"Hungary","taxName":"ÁFA","digitalGoodsRate":0.27,"standardRate":0.27},{"countryCode":"IE","countryName":"Ireland","taxName":"VAT","digitalGoodsRate":0.23,"standardRate":0.23},{"countryCode":"IT","countryName":"Italy","taxName":"IVA","digitalGoodsRate":0.22,"standardRate":0.22},{"countryCode":"LT","countryName":"Lithuania","taxName":"PVM","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"LU","countryName":"Luxembourg","taxName":"TVA","digitalGoodsRate":0.17,"standardRate":0.17},{"countryCode":"LV","countryName":"Latvia","taxName":"PVN","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"MT","countryName":"Malta","taxName":"VAT","digitalGoodsRate":0.18,"standardRate":0.18},{"countryCode":"NL","countryName":"Netherlands","taxName":"BTW","digitalGoodsRate":0.21,"standardRate":0.21},{"countryCode":"PL","countryName":"Poland","taxName":"VAT","digitalGoodsRate":0.23,"standardRate":0.23},{"countryCode":"PT","countryName":"Portugal","taxName":"IVA","digitalGoodsRate":0.23,"standardRate":0.23},{"countryCode":"RO","countryName":"Romania","taxName":"TVA","digitalGoodsRate":0.19,"standardRate":0.19},{"countryCode":"SE","countryName":"Sweden","taxName":"Moms","digitalGoodsRate":0.25,"standardRate":0.25},{"countryCode":"SI","countryName":"Slovenia","taxName":"DDV","digitalGoodsRate":0.22,"standardRate":0.22},{"countryCode":"SK","countryName":"Slovakia","taxName":"DPH","digitalGoodsRate":0.23,"standardRate":0.23}],"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false,"count":27,"ossNote":"EU One Stop Shop (OSS): when annual cross-border B2C digital sales to EU consumers exceed €10,000 combined across all EU member states, non-EU sellers must collect VAT at the rate of each consumer's country, or register for the OSS scheme to file a single quarterly return covering all EU sales. The €10,000 threshold is calculated on total EU-wide cross-border sales, not per country. Below this threshold, sellers may apply their home-country VAT rate. Register via the European Commission Taxation and Customs Union portal."}}
EU OSS Digital Goods Rates — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25931/eu+oss+digital+goods+rates' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns the VAT or GST registration threshold for domestic and foreign sellers in a country. Includes domesticThreshold, foreignThreshold, currency, thresholdNote, simplifiedScheme boolean, and simplifiedSchemeNote. Returns 404 if no threshold data is available for the country.

Endpoint ID: 25932
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25932/get+registration+threshold
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":{"countryCode":"DE","countryName":"Germany","currency":"EUR","domesticThreshold":25000,"foreignThreshold":10000,"thresholdNote":"Kleinunternehmerregelung (small business scheme): threshold raised from €22,000 to €25,000 on 1 January 2025 per EU SME Directive. Foreign EU sellers: €10,000 EU OSS threshold.","simplifiedScheme":true,"simplifiedSchemeNote":"EU One Stop Shop (OSS) available for cross-border EU B2C sales."},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","thresholdNote":"Registration thresholds are subject to change. Always verify the current threshold with the relevant national tax authority before advising clients or making registration decisions.","cached":false}}
Get Registration Threshold — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25932/get+registration+threshold&countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns VAT registration thresholds for all 27 EU member states in a single call sorted by country code. Each entry includes domesticThreshold, foreignThreshold, currency, simplifiedScheme boolean, and simplifiedSchemeNote.

Endpoint ID: 25933
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25933/get+eu+registration+thresholds
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
{"Example Response":"No response example available for now."}
Get EU Registration Thresholds — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25933/get+eu+registration+thresholds' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns the VAT or GST rate that was in effect on January 1st of the specified year. Resolves to the most recent history entry on or before that date. Returns 400 if the year is not a valid 4-digit number between 1950 and the current year. Returns 404 if no data exists for that country before the requested year.

Endpoint ID: 25934
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25934/get+rate+for+specific+year
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":{"countryCode":"DE","countryName":"Germany","year":2020,"effectiveDate":"2007-01-01","standard":0.19,"standardPct":19,"reduced":[0.07],"reducedPct":[7],"notes":"Standard rate increased from 16% to 19% to consolidate the federal budget, partially funding labour market reforms."},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Get Rate for Specific Year — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25934/get+rate+for+specific+year&countryCode=Required&/=Required&year=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns locale formatting rules for a country including currencySymbol, currencyCode, decimalSeparator, thousandsSeparator, vatNumberLabel, vatNumberFormat as a regex string, vatNumberExample, and a formattedExample string showing how 1234.56 displays in that locale such as 1.234,56 for Germany or R1 234.56 for South Africa.

Endpoint ID: 25935
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25935/get+locale+formatting
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":{"countryCode":"DE","countryName":"Germany","currencySymbol":"€","currencyCode":"EUR","decimalSeparator":",","thousandsSeparator":".","formattedExample":"€1.234,56","vatNumberLabel":"USt-IdNr.","vatNumberFormat":"DE[0-9]{9}","vatNumberExample":"DE123456789"},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Get Locale Formatting — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25935/get+locale+formatting&countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns API status, uptime in seconds, version, countryCount loaded from config, endpointCount, and configLastUpdated date. Use this endpoint to verify the API is running and to confirm the current country count and config version.

Endpoint ID: 25936
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25936/health+check
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

Este endpoint não requer parâmetros de entrada.

RESPOSTA DE EXEMPLO DA API
JSON
{"status":"ok","uptime":321629.443241553,"version":"1.0.0","countryCount":166,"endpointCount":18,"configLastUpdated":"2026-06-16"}
Health Check — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25936/health+check' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Requisição

Returns the full VAT or GST rate change history for a country sorted newest first. Each entry includes effectiveDate, standard rate, reduced rates array, and notes explaining the reason for the change. Returns 404 if no history is available for the country.

Endpoint ID: 25937
GET https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25937/get+rate+history
PARÂMETROS DE ENTRADA

Solicitações gratuitas de teste restantes: 3 de 3.

RESPOSTA DE EXEMPLO DA API
JSON
{"success":true,"data":{"countryCode":"GB","countryName":"United Kingdom","count":5,"entries":[{"effectiveDate":"2011-01-04","standard":0.2,"standardPct":20,"reduced":[0.05],"reducedPct":[5],"notes":"Standard rate increased from 17.5% to 20% following the 2010 emergency budget to reduce the UK fiscal deficit."},{"effectiveDate":"2010-01-01","standard":0.175,"standardPct":17.5,"reduced":[0.05],"reducedPct":[5],"notes":"Rate restored to 17.5% after the temporary reduction to 15% that was applied as economic stimulus during the 2008 global financial crisis."},{"effectiveDate":"2008-12-01","standard":0.15,"standardPct":15,"reduced":[0.05],"reducedPct":[5],"notes":"Temporary reduction from 17.5% to 15% implemented as a fiscal stimulus measure during the global financial crisis. Applied for 13 months."},{"effectiveDate":"1991-04-01","standard":0.175,"standardPct":17.5,"reduced":[],"reducedPct":[],"notes":"Standard rate increased from 15% to 17.5%. The distinct reduced rate structure used today was not yet in place in its current form."},{"effectiveDate":"1979-06-18","standard":0.15,"standardPct":15,"reduced":[],"reducedPct":[],"notes":"Rate increased from 8% (plus a higher rate of 12.5%) to a unified 15% following the Conservative government budget."}]},"meta":{"disclaimer":"Tax rates are indicative only and subject to change. Always verify current rates with official government sources before filing.","cached":false}}
Get Rate History — TRECHOS DE CÓDIGO

curl --location --request GET 'https://zylalabs.com/api/12968/global+tax+rate+lookup+api/25937/get+rate+history&countryCode=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Chave de acesso à API e autenticação

Após se cadastrar, cada desenvolvedor recebe uma chave de acesso à API pessoal, uma combinação única de letras e dígitos para acessar nosso endpoint de API. Para autenticar com a Global Tax Rate Lookup API basta incluir seu token Bearer no cabeçalho Authorization.

Cabeçalhos
Cabeçalho Descrição
Authorization Obrigatório Deve ser Bearer access_key. Veja "Sua chave de acesso à API" acima quando você estiver inscrito.

Sem compromisso de longo prazo. Faça upgrade, downgrade ou cancele a qualquer momento. O teste gratuito inclui até 50 requisições.

(Economize 2 meses com cobrança anual 🎉)

🚀 Plano Empresarial

A partir de
$ 10.000/Ano


  • Volume personalizado
  • Limite de taxa personalizado
  • Suporte ao cliente especializado
  • Monitoramento de API em tempo real

Visão Geral

Returns VAT and GST rates for 166 countries with three calculator modes, EU OSS digital goods rules, registration thresholds, historical rate data, and locale-aware formatting.

Six modules, 18 endpoints. Rates covers full country lookup, region filtering for EU, Africa, APAC, and Americas, side-by-side country comparison, and reverse rate search. Calculator supports single item, batch up to 20 items, and multi-line invoice with mixed rate types returning per-line breakdown, subtotal, total tax, and grand total. Digital Goods returns the SaaS and digital services rate per country plus a single-call EU OSS summary for all 27 member states. Thresholds covers registration thresholds for domestic and foreign sellers across 38 countries including all EU member states. History resolves the rate in effect for any specific past year, useful for backdated invoices and audits. Formats returns currency symbol, decimal separator, thousands separator, VAT number format, and a pre-formatted display string for all 166 countries.

Africa region coverage includes 46 countries: ZA, NG, KE, EG, GH, ET, TZ, UG, RW, MU, ZM, ZW, CI, SN, CM, and more.

All rates are stored as decimals — 0.20 for 20%. Supported regions are africa, eu, apac, and americas. Rate types are standard, reduced, and zero. Calculator direction add takes a net price and applies VAT, direction remove strips VAT from a gross price.

Rates are maintained in static config with no external calls at runtime. A GitHub Action runs annually, fetches current rates from authoritative sources, and opens a pull request for review before any change is deployed. Every response includes a disclaimer advising subscribers to verify rates with official government sources before filing.

Global Tax Rate Lookup API FAQs

Rates are updated annually. A scheduled process runs each year, fetches current rates from authoritative sources including the OECD and national revenue services, and applies verified changes to the dataset. The disclaimer included in every response advises subscribers to verify rates with official government sources before filing, as rates can change between update cycles.

Direction controls which way the calculation runs. Add takes a net price that does not include tax and returns the gross price with tax applied — for example, a net price of 100 at 20 percent VAT returns an output of 120 with a tax amount of 20. Remove takes a gross price that already includes tax and strips it out — for example, a gross price of 120 at 20 percent VAT returns a net output of 100 with a tax amount of 20.

The US has no federal VAT or GST system. The entry exists with a standard rate of 0 and a notes field explaining that state-level sales tax applies, which varies by state and product category. This prevents a 404 error on US lookups while accurately representing the US tax system.

The digitalGoods rate is the VAT or GST rate applicable to SaaS products and digital services sold into a country. For most countries it matches the standard rate. Notable exceptions include China, which applies 6 percent VAT to digital services versus 13 percent standard. The GET /digital-goods/:countryCode endpoint includes a differsFromStandard boolean flag to make this easy to detect programmatically.

The GET /digital-goods/eu/oss endpoint returns digital goods VAT rates for all 27 EU member states in a single call. It is designed for SaaS founders and digital product businesses selling into the EU who need to build a VAT rate matrix for EU customers. Under EU One Stop Shop rules, businesses exceeding 10,000 euros in annual cross-border digital sales must charge VAT at the rate of the customer's country. The endpoint includes an ossNote in meta explaining the threshold and linking to the official EU OSS information page.

The batch endpoint accepts up to 20 items per request. All items are validated before any are processed. If one or more items are invalid the API returns a 400 with a per-item errors array listing the itemIndex, error code, and message for every failed item at once. No calculations are returned for any item until all items pass validation.

Yes. Each threshold object includes a currency field indicating which currency the threshold amounts are denominated in. EU thresholds are in EUR, UK thresholds are in GBP, and each country uses its own local currency. Threshold amounts should not be compared directly across countries without currency conversion.

FormattedExample is a pre-formatted string showing how the value 1234.56 would display in that country's locale using the country's own currency symbol, decimal separator, and thousands separator. For example Germany returns 1.234,56 with the euro symbol, South Africa returns R1 234.56, and Switzerland returns CHF1'234.56 using an apostrophe as the thousands separator. This field is designed to be used directly in invoice generators and checkout UIs without requiring any additional locale logic.

Each endpoint returns specific VAT and GST rate data, including standard, reduced, zero, and exempt rates for various countries. For example, the GET Get Rate by Country endpoint returns detailed information such as country code, name, currency, tax name, and applicable rates.

Key fields in the response data include countryCode, countryName, currency, taxName, standard rate, reduced rates array, zero boolean, exempt boolean, and digitalGoods rate. These fields provide comprehensive tax information for each country.

Parameters vary by endpoint. For instance, the GET Rates by Region endpoint accepts a region parameter (africa, eu, apac, americas), while the Search Rates by Value endpoint requires a rate value and optionally accepts a type parameter to filter results.

The response data is structured in JSON format, with a success boolean indicating the request status, followed by a data object containing the relevant tax information. Each entry includes detailed fields like rates and notes, making it easy to parse.

Each endpoint provides various information types, such as VAT/GST rates, registration thresholds, historical rate data, and locale formatting. For example, the GET Get Registration Threshold endpoint returns domestic and foreign seller thresholds for VAT registration.

Data accuracy is maintained through an annual update process that fetches rates from authoritative sources like the OECD and national revenue services. Each update undergoes a review process before deployment, ensuring reliable information.

Casos de uso típicos incluem calcular IVA/ICMS para faturas, determinar as taxas de imposto aplicáveis para transações de e-commerce e garantir conformidade com regulamentações fiscais internacionais As empresas podem usar a API para automatizar cálculos de impostos com base na localização e tipo de produto

Os usuários podem utilizar os dados retornados integrando-os em seus sistemas de faturamento ou plataformas de comércio eletrônico Por exemplo, o campo formattedExample pode ser usado diretamente em interfaces de pagamento para exibir preços de acordo com as regras de formatação da moeda local

Perguntas Frequentes Gerais

O Zyla API Hub é como uma grande loja de APIs, onde você pode encontrar milhares delas em um só lugar. Também oferecemos suporte dedicado e monitoramento em tempo real de todas as APIs. Após se cadastrar, você pode escolher quais APIs deseja usar. Lembre-se apenas de que cada API precisa de sua própria assinatura. Mas se você se inscrever em várias, usará a mesma chave para todas elas, facilitando as coisas para você.
Os preços são listados em USD (Dólar Americano), EUR (Euro), CAD (Dólar Canadense), AUD (Dólar Australiano) e GBP (Libra Esterlina). Aceitamos todos os principais cartões de débito e crédito. Nosso sistema de pagamento usa a mais recente tecnologia de segurança e é operado pela Stripe, uma das empresas de pagamento mais confiáveis do mundo. Se tiver problemas para pagar com cartão, entre em contato conosco em [email protected]

Além disso, se você já tiver uma assinatura ativa em qualquer uma dessas moedas (USD, EUR, CAD, AUD, GBP), essa moeda será mantida para assinaturas subsequentes. Você pode alterar a moeda a qualquer momento, desde que não tenha assinaturas ativas.
A moeda local exibida na página de preços é baseada no país do seu endereço IP e é fornecida apenas como referência. Os preços reais são em USD (Dólar Americano). Ao efetuar o pagamento, a cobrança aparecerá no extrato do seu cartão em USD, mesmo que você veja o valor equivalente em sua moeda local em nosso site. Isso significa que você não pode pagar diretamente com sua moeda local.
Ocasionalmente, o banco pode recusar a cobrança devido às configurações de proteção contra fraude. Sugerimos contatar seu banco inicialmente para verificar se estão bloqueando nossas cobranças. Você também pode acessar o Portal de Cobrança e alterar o cartão associado para realizar o pagamento. Se isso não funcionar e precisar de mais ajuda, entre em contato com nossa equipe em [email protected]
Os preços são determinados por uma assinatura recorrente mensal ou anual, dependendo do plano escolhido.
As chamadas de API são descontadas do seu plano com base nas requisições bem-sucedidas. Cada plano possui um número específico de chamadas por mês. Apenas chamadas bem-sucedidas, indicadas por uma resposta com Status 200, serão contabilizadas, garantindo que falhas não afetem sua cota mensal.
O Zyla API Hub funciona com um sistema de assinatura mensal recorrente. Seu ciclo de cobrança começa no dia em que você compra um dos planos pagos e será renovado no mesmo dia do mês seguinte. Portanto, cancele sua assinatura com antecedência se quiser evitar cobranças futuras.
Para fazer upgrade do seu plano atual, acesse a página de preços da API e selecione o novo plano desejado. O upgrade é instantâneo, permitindo aproveitar imediatamente os recursos do novo plano. Observe que as chamadas restantes do plano anterior não serão transferidas; você será cobrado pelo valor integral do novo plano.
Para verificar quantas chamadas de API restam para o mês atual, consulte o campo 'X-Zyla-API-Calls-Monthly-Remaining' no cabeçalho da resposta. Por exemplo, se seu plano permite 1.000 requisições por mês e você usou 100, este campo no cabeçalho da resposta indicará 900 chamadas restantes.
Para ver o número máximo de requisições de API que seu plano permite, verifique o cabeçalho de resposta 'X-Zyla-RateLimit-Limit'. Por exemplo, se seu plano inclui 1.000 requisições por mês, este cabeçalho exibirá 1.000.
O cabeçalho 'X-Zyla-RateLimit-Reset' mostra o número de segundos até seu limite de taxa ser redefinido. Isso informa quando sua contagem de requisições começará do zero. Por exemplo, se exibir 3.600, significa que restam 3.600 segundos até o limite ser redefinido.
Sim, você pode cancelar seu plano a qualquer momento acessando sua conta e selecionando a opção de cancelamento na página de Cobrança. Observe que upgrades, downgrades e cancelamentos têm efeito imediato. Além disso, após o cancelamento, você não terá mais acesso ao serviço, mesmo que ainda tenha chamadas restantes na sua cota.
Para oferecer a oportunidade de experimentar nossas APIs sem compromisso, oferecemos um teste gratuito de 7 dias que permite realizar até 50 chamadas de API sem custo. Esse teste pode ser usado apenas uma vez; recomendamos aplicá-lo à API que mais interessa. Embora a maioria das APIs ofereça teste gratuito, algumas podem não oferecer. O teste termina após 7 dias ou quando você atingir 50 requisições, o que ocorrer primeiro. Se atingir o limite, será necessário "Iniciar seu plano pago" para continuar. Você encontra esse botão no perfil em Assinatura -> Escolha a API -> aba Preços. Se não cancelar até o 7º dia, sua assinatura será cobrada automaticamente, liberando todas as chamadas do plano.
Após 7 dias, será cobrado o valor total do plano ao qual você estava inscrito durante o teste. Portanto, é importante cancelar antes do término do período. Solicitações de reembolso por esquecimento de cancelamento não são aceitas.
Ao assinar um teste gratuito de API, você pode fazer até 50 chamadas. Se desejar fazer chamadas adicionais além desse limite, a API solicitará que você "Inicie seu plano pago". Você encontra o botão no perfil em Assinatura -> Escolha a API -> aba Preços.
As Ordens de Pagamento são processadas entre os dias 20 e 30 de cada mês. Se você enviar sua solicitação antes do dia 20, seu pagamento será processado dentro desse período.
Você pode nos contatar via chat para receber assistência imediata. Estamos online de 8h às 17h (EST). Se nos contatar após esse horário, retornaremos o mais rápido possível. Além disso, você pode enviar um e-mail para [email protected]

APIs relacionadas