Explainer

VIES VAT number validation explained

VIES is the European Commission's search engine for VAT numbers. Here is what it can and cannot tell you, and how to use it reliably.

Updated October 1, 2026 ยท 2 min read

What VIES is

The VAT Information Exchange System connects the VAT databases of the 27 EU member states and Northern Ireland. When you check a number, VIES forwards the question to the national database of that country and returns its answer.

What VIES returns

A number that is valid for domestic VAT can still be invalid in VIES if the company is not registered for cross-border trade. For the reverse charge, the VIES status is what counts.

Why VIES is often unavailable

VIES has no database of its own: if a national system is down or in maintenance, numbers of that country cannot be checked. Several countries have regular night or weekend maintenance windows, and the services rate-limit automated traffic (errors such as MS_UNAVAILABLE, MS_MAX_CONCURRENT_REQ).

What to do: retry later, keep the error and the time as evidence, and check the format and check digit in the meantime so typos are caught at once.

UK VAT numbers since Brexit

UK numbers (GB prefix) left VIES on 1 January 2021 and are checked with HMRC’s Check a UK VAT number service. Northern Ireland businesses that trade goods with the EU use their number with the XI prefix, which is in VIES.

Automating VIES checks

You can call VIES directly through its SOAP or REST interface and handle retries, rate limits and HMRC separately, or use an API that does this for you:

curl "https://api.vatcheckapi.com/v2/check?vat_number=FR40303265045" -H "apikey: YOUR-API-KEY"

vatcheckapi checks format and checksum first, then VIES or HMRC, and returns one JSON format for all 29 country codes. Try it in the VAT number validator.

Frequently asked questions

Is VIES free?

Yes. The VIES web form, its SOAP service and its REST API are free. There is no service level, and the Commission limits automated high-volume use.

Can I check UK VAT numbers in VIES?

No, not since 1 January 2021. UK (GB) numbers are checked with HMRC. Northern Ireland businesses trading goods with the EU have XI numbers, which are in VIES.

What is a VIES consultation number?

If you enter your own VAT number as the requester, VIES returns a consultation number that proves you checked the customer's number on that date. Keep it with the invoice.

VAT validation API

Validate VAT numbers in your app

vatcheckapi checks the format and checksum of EU and UK VAT numbers and confirms the registration with VIES and HMRC, with company name and address where the country provides them.

/v2/check documentation VAT number API All documentation

150 free validations every month. No credit card required.

GET https://api.vatcheckapi.com/v2/check?vat_number=LU26375245

{
  "country_code": "LU",
  "vat_number": "26375245",
  "format_valid": true,
  "checksum_valid": true,
  "registration_info": {
    "is_registered": true,
    "name": "AMAZON EUROPE CORE S.A R.L.",
    "address": "38, AVENUE JOHN F. KENNEDY\nL-1855  LUXEMBOURG",
    "checked_at": "2023-01-11T12:30:28.000000Z"
  }
}

Keep reading

Start using our VAT Validation API for free today!

Get 150 validations / month for free