Validate an EU VAT number with VIES
vatEU VAT number check: format and checksum are tested locally first (a malformed number is rejected with HTTP 400 and no charge), then the official VIES service answers whether it is valid, with the registered name and address where the member state discloses them. All 27 EU states plus Northern Ireland (XI). VIES can take 6-25 seconds when a member state's register is slow; if it does not answer within 25 s the call returns HTTP 503 and is not charged. Source: European Commission VIES. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
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": {
"number": "<number>"
},
"name": "vat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | VAT number with its 2-letter country prefix, e.g. DE811907980 (EL for Greece, XI for Northern Ireland). Spaces and dots are ignored | |
| country | No | Optional: country code, if the number has no prefix |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| input | No | ||
| valid | No | ||
| checks | No | ||
| source | No | ||
| address | No | ||
| formatted | No | ||
| vatNumber | No | ||
| viesStatus | No | ||
| countryCode | No | ||
| requestDate | No |