Check a VAT number in VIES
check_vat_numberLooks up an EU VAT number (and XI numbers of Northern Ireland) in VIES, the VAT Information Exchange System of the European Commission, and returns whether it is registered at this moment, with the name and address when the member state shares them. For a GB number, which is not in VIES, the check digits are tested and registry_checked is false unless the UK register could be asked. The answer is what VIES said at the time of asking; it is not the official consultation number that VIES gives a registered requester. At most 30 checks per ten minutes.
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": {
"vat_number": "<vat_number>"
},
"name": "check_vat_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Two letter prefix, only needed when vat_number has none. Greece is EL. | |
| vat_number | Yes | The VAT number including its country prefix, for example "NL123456789B01" or "DE 123456789". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| valid | No | ||
| number | No | ||
| reason | No | ||
| source | No | ||
| address | No | ||
| checked | Yes | false when no answer could be had (wrong form, VIES down, too many checks). | |
| country | No | ||
| message | No | ||
| checked_on | No | ||
| registry_checked | No |