Validate EU VAT number (VIES)
validate_vat_euUse this when you need to confirm that an EU VAT number is actually registered for intra-community trade (B2B invoicing, reverse charge, supplier onboarding). Checks the format locally, then queries the European Commission VIES service live and returns valid, the registered name and address when the member state discloses them, the request date and an optional consultation number. Supported: the 27 EU member states plus XI (Northern Ireland): AT, BE, BG, CY, CZ, DE, DK, EE, EL, ES, FI, FR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK, XI. Non-EU countries return UNSUPPORTED_COUNTRY; VIES outages return SOURCE_UNAVAILABLE. Neither is charged.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_vat_eu"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Batch mode: up to 500 items, each with the same fields as a single call. Omit when validating a single value through the top-level fields. | |
| vatNumber | No | VAT number with or without the country prefix, spaces or dots, e.g. "IE6388047V", "DE 123 456 789", "ESB12345674". | |
| countryCode | No | Two-letter VIES country code of the VAT number: the 27 EU member states plus XI (Northern Ireland). Greece is "EL" ("GR" accepted). | |
| requesterVatNumber | No | Optional: your own VAT number (without country prefix). | |
| requesterCountryCode | No | Optional: your own VIES country code. Together with requesterVatNumber, VIES returns a consultation number as proof of the check. |