Check an EU VAT number
check_vat_numberUse this when the user asks whether a business's VAT registration number is valid or which company it belongs to, for example "is ES A28015865 a valid VAT number?", "check the supplier VAT number on this invoice, ATU33864707" or "I need a VIES consultation number for this supplier". Pass the country code and the VAT number printed on the invoice or company letterhead, and requesterCountry with requesterVatNumber only when the user gives their own business VAT number for a consultation number. Returns whether the business is registered for VAT on the date of the check and, where the member state publishes it, the registered company name and address. Covers EU member states and Northern Ireland (XI), not GB. It only reads the public EU register of VAT-registered businesses; do not use it for VAT rates or to judge whether a business is trustworthy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | Two-letter country code of the VAT number: an EU member state (Greece is EL) or XI for Northern Ireland. GB numbers cannot be checked. | |
| vatNumber | Yes | The business VAT registration number, as printed on an invoice, with or without the country prefix, spaces and dots, for example 811128135 or DE 811 128 135. | |
| requesterCountry | No | Country code of the business VAT number of the user asking. Send with requesterVatNumber to get a consultation number. | |
| requesterVatNumber | No | The business VAT number of the user asking, for a consultation number. Leave out unless the user gives it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| note | No | ||
| valid | Yes | ||
| notice | Yes | ||
| source | Yes | ||
| address | No | ||
| country | Yes | ||
| checkedAt | Yes | ||
| vatNumber | Yes | ||
| detailsWithheld | No | ||
| consultationNumber | No |