Validate an EU VAT number on VIES
check_vat_numberUse this when the user asks to validate a VAT number, check a tax ID or get a VIES consultation number, for example "is ES A28015865 a valid VAT number?". Pass country as a two-letter code (Greece is EL) or English name, and vatNumber as printed, with or without its prefix, spaces, dots or dashes, for example {"country":"DE","vatNumber":"DE 811 128 135"}. A prefix that names another country is refused. Send requesterCountry and requesterVatNumber only when the user gives their own business VAT number, for a consultation number. Returns whether the number is registered for VAT on the date of the check and, where published, the company name and address. Covers EU member states and Northern Ireland (XI), not GB. Do not use it for VAT rates or to judge whether a business is trustworthy.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>",
"vatNumber": "<vatNumber>"
},
"name": "check_vat_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | Country of the VAT number: a two-letter code in any case, such as DE or de (Greece is EL; GR also works), XI for Northern Ireland, or the English name, such as Germany. GB numbers cannot be checked. | |
| vatNumber | Yes | The business VAT number as printed on an invoice, with or without the country prefix, spaces, dots or dashes, for example DE811128135, 811128135 or DE 811.128.135. A prefix must match country. | |
| requesterCountry | No | Country, as a code or English name, 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 |