Validate EU VAT number
validate_vat_numberVerifies an EU VAT number against the official VIES service, returning company name, address, and validation status. Optionally provides an audit-grade consultation number for compliance evidence.
Instructions
Verifies an EU VAT number against the official VIES service and returns validity, company name, address, registration date and other metadata. When the requester (your own VAT) is configured on the vatnode account, also returns a VIES consultation number — audit-grade proof of validation. Use whenever the user wants to confirm a VAT is real, look up the company behind a VAT, or needs evidence for accounting/compliance. Requires a vatnode API key (free tier available). Only EU-27 + XI (Northern Ireland) are supported by VIES.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vatId | Yes | EU VAT number, with country prefix. Spaces and dashes are stripped. Examples: "DE123456789", "IE6388047V", "FR12345678901". | |
| requesterCountryCode | No | Optional: 2-letter country code of the party doing the check. Together with requesterVatNumber, asks VIES to issue an audit consultation number. | |
| requesterVatNumber | No | Optional: VAT number of the party doing the check. Pair with requesterCountryCode to get a consultation number. |