abstract-python, the VatAPI class is used to communicate with this API.
Endpoints
Validate VAT
Validate VAT numbers in your app
Calculate VAT
Calculate the VAT fee on goods in a country
VAT Categories
Get a detailed
JSON object of product categories and their VAT fee in each country.Supported currency codes
AbstractAPI supports ISO 4217 currency codes for the VAT API which can be found hereGet currency codes
Withabstract-python you can get the supported country codes as a Python List. See usage below:
Use case
If your app receives country codes from users, you may need to validate these inputs before querying theVatAPI class.
See usage below:
Error messages
Refer to this page for all possible error messages you may encounter while using theVatAPI class.