← Tools Reference

VATlayer

VATlayer integration (Finance, Data). Imported from open-connector.

API key5 toolshttps://apilayer.net/api
GET
vatlayer_validate_vat_number
Validate a VAT number and return company information when vatlayer finds it.

/validate

1 parameter
ParamTypeRequiredDescription
vatNumberstringrequiredVAT number to validate, including the country prefix when available.
GET
vatlayer_get_rate
Retrieve VAT rates for one country selected by country code, IP address, or client IP.

/rate

3 parameters
ParamTypeRequiredDescription
countryCodestringoptionalTwo-letter ISO country code to select country VAT rates.
ipAddressstringoptionalCustom IP address to use to geolocate a country for VAT rate lookup.
useClientIpbooleanoptionalWhether vatlayer should use the requester's IP address to determine the country.
GET
vatlayer_list_rates
Retrieve VAT rates for all EU member states from vatlayer.

/rate_list

GET
vatlayer_calculate_price
Calculate VAT-compliant inclusive and exclusive prices with vatlayer.

/price

6 parameters
ParamTypeRequiredDescription
amountnumberrequiredMonetary amount to convert.
typestringoptionalReduced VAT type to apply, such as medical or books.
inclbooleanoptionalWhether the amount already includes VAT and should be reverse-calculated.
countryCodestringoptionalTwo-letter ISO country code to select country VAT rates.
ipAddressstringoptionalCustom IP address to use to geolocate a country for VAT rate lookup.
useClientIpbooleanoptionalWhether vatlayer should use the requester's IP address to determine the country.
GET
vatlayer_list_types
List vatlayer reduced VAT rate type identifiers for price calculations.

/types