Description
TheVatAPI.validate() method is used to communicate with this endpoint as seen below:
VatAPI.validate(vat_number)
Query Parameters
String
required
The VAT number you want to validate
Usage
Below is a code snippet to query theVatAPI.validate() method:
Response Fields
String
The VAT number to validate
Boolean
A boolean value to check if the VAT number is valid. True if VAT number is valid.
String
The company associated with the VAT number
String
The company’s address.
String
The country where the company is located
String
The two letter ISO 3166-1 alpha-2 code of the country associated with the VAT number.