Validate an EU VAT number (VIES)
verify_vatValidates an EU VAT number live against VIES (European Commission) and returns whether it is currently valid, with the registered name and address when the member state provides them. Input: the full VAT number with its country prefix, e.g. 'FR40303265045'. Optional: requester_vat_number, your own EU VAT number; VIES then issues a consultationNumber, its official proof that you made this check at checkedAt. If VIES or the member state is down, returns the last answer VIES gave us for that number within the past 7 days, marked stale: true with its original checkedAt and never a consultation number; with no such answer, a retryable error. Fresh answers carry stale: false. Light read: costs 0.2 credit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vat_number | Yes | EU VAT number to check, with its 2-letter country prefix (EL for Greece, XI for Northern Ireland), e.g. 'FR40303265045'. Not an IBAN or a company registration number. | |
| requester_vat_number | No | Optional: YOUR OWN EU VAT number, with country prefix, e.g. 'DE811569869'. When given, VIES returns a consultationNumber proving the check. VIES refuses a requester it does not know as valid. |