VAT Compliance

How to Check an EU VAT Number: VIES Guide

Paying too much state income tax? Take our free 2-minute quiz to see how much you could save.

Take the Quiz →

1. What Is VIES and How Does It Work?

VIES stands for VAT Information Exchange System. It is the official online tool operated by the European Commission that allows businesses to verify whether a given EU VAT identification number is valid and currently active.

When you enter a VAT number into VIES, the system doesn't maintain its own database of VAT numbers. Instead, it sends a real-time query to the national tax authority of the member state that issued the number. The national database responds with a confirmation (valid or invalid), and VIES relays that answer back to you.

This is an important distinction: VIES is a relay system, not a database. It depends on the availability of 27 separate national databases. If the database for a particular country is down for maintenance, VIES cannot verify numbers from that country — even though the number itself may be perfectly valid.

VIES is free to use and available to anyone. You do not need to be VAT-registered yourself to check a number. The tool is accessible via the European Commission's website, and many third-party tools (including our free VAT number checker) use the same underlying system.

2. Why You Need to Verify VAT Numbers

Verifying your customer's VAT number isn't just good practice — it's a legal requirement if you want to apply the reverse charge mechanism on B2B cross-border sales within the EU.

Here's why this matters:

The reverse charge requirement

Under Articles 44 and 196 of the EU VAT Directive (Council Directive 2006/112/EC), when you sell services to a business in another EU member state, the reverse charge mechanism applies. This means you invoice at 0% VAT, and your customer self-accounts for the VAT on their own return.

But there's a condition: the reverse charge only applies if your customer has a valid VAT identification number. If their number is invalid — whether due to a typo, an expired registration, or fraud — the reverse charge does not apply, and you become liable for the VAT you should have charged.

Financial liability

If you apply the reverse charge without verifying the VAT number, and a subsequent audit reveals the number was invalid, your tax authority will hold you responsible for the uncollected VAT. You'll owe the full VAT amount (potentially 19-27% of the sale price), plus interest and possible penalties.

Consider the math: on a €10,000 invoice to a German customer (19% VAT), failure to verify could cost you €1,900 plus penalties. Multiply that across several invoices and the exposure becomes significant.

Invoice compliance

A valid reverse charge invoice must include both your VAT number and your customer's VAT number. If your customer's number turns out to be invalid, the entire invoice is non-compliant. Your customer cannot reclaim the VAT, and your records are incorrect. Learn more about proper invoice requirements in our cross-border invoice guide.

Bottom line: verify before every B2B invoice It takes 10 seconds to check a VAT number. The cost of not checking can be thousands of euros in unexpected VAT liability. Make verification a standard step in your invoicing process — not an afterthought.

3. Step-by-Step: How to Use the VIES Checker

Verifying a VAT number is straightforward. Here's the process:

1
Get the full VAT number from your customer. This includes the two-letter country prefix (e.g., DE for Germany, FR for France) followed by the numeric or alphanumeric identifier. Ask your customer to provide their complete VAT identification number, including the country code.
2
Go to the VIES checker. You can use the official European Commission VIES website or our free VAT checker tool, which queries the same underlying system with a simpler interface.
3
Select the member state corresponding to the country prefix, or enter the full number including the prefix. Most tools will auto-detect the country from the prefix.
4
Enter the VAT number (without the country prefix if you've already selected the country, or with it if the tool expects the full number).
5
Submit the query. VIES will return one of three results: Valid (the number is active and registered), Invalid (the number is not recognized), or Unavailable (the national database is temporarily down).
6
Save the result. Screenshot it, export it, or record the date and result in your records. This proof of verification is important for audit protection.

When a number comes back as valid, VIES typically returns the registered business name and address associated with the VAT number. Cross-check this against the details your customer has provided. If the name or address doesn't match, investigate before proceeding.

Check a VAT number right now

Our free VAT checker verifies any EU VAT number instantly using the official VIES system. No signup required.

Check a VAT Number →

4. What to Do If a VAT Number Is Invalid

An "invalid" result from VIES doesn't always mean your customer is lying. There are several common reasons a valid business might have an invalid number:

What you should do

  1. Ask the customer to re-verify their number. Send them the exact number you checked and ask them to confirm it's correct.
  2. Try again in 24-48 hours. If the number is new, it may not have propagated to VIES yet.
  3. Ask for proof of registration. Request a copy of the customer's VAT registration certificate from their national tax authority.
  4. If still invalid: charge VAT. If you cannot verify the number, you must treat the sale as B2C and charge VAT at the appropriate rate (either your home rate or the destination rate under OSS). You cannot apply the reverse charge without a valid, verified VAT number.
Never take a customer's word for it "My VAT number is definitely valid, the system must be wrong" is not sufficient. If VIES says invalid and you cannot resolve it, you are legally required to charge VAT. If you later confirm the number is valid, you can issue a credit note and re-invoice with the reverse charge.

5. What to Do When VIES Is Down

VIES has a well-known reliability problem. The system depends on 27 national databases, and at any given time, one or more of those databases may be offline for maintenance. This typically manifests as an "unavailable" or "member state unavailable" response rather than an outright "invalid."

Here's how to handle it:

Short-term outages (hours)

If VIES returns an "unavailable" response for a specific country, try again in a few hours. Most maintenance windows are short — a few hours at most. The European Commission publishes a VIES availability schedule showing planned maintenance windows for each member state's database.

Persistent outages (days)

If a country's database is down for an extended period, you have several options:

Good faith matters EU tax law recognizes the concept of "good faith" in VAT verification. If you can demonstrate that you made reasonable efforts to verify a VAT number — attempted VIES checks, documented the outage, verified the number as soon as the system was available — you are generally protected from liability even if the number later turns out to be invalid. The key is documentation.

6. VAT Number Formats by Country

Every EU member state has its own VAT number format. Knowing the expected format helps you catch obvious errors before submitting to VIES. Here are all 27 EU member states:

Country Prefix Format Example
AustriaATU + 8 digitsATU12345678
BelgiumBE0 or 1 + 9 digitsBE0123456789
BulgariaBG9 or 10 digitsBG123456789
CroatiaHR11 digitsHR12345678901
CyprusCY8 digits + 1 letterCY12345678L
Czech RepublicCZ8, 9, or 10 digitsCZ12345678
DenmarkDK8 digitsDK12345678
EstoniaEE9 digitsEE123456789
FinlandFI8 digitsFI12345678
FranceFR2 chars + 9 digitsFR12345678901
GermanyDE9 digitsDE123456789
GreeceEL9 digitsEL123456789
HungaryHU8 digitsHU12345678
IrelandIE7 digits + 1-2 charsIE1234567T
ItalyIT11 digitsIT12345678901
LatviaLV11 digitsLV12345678901
LithuaniaLT9 or 12 digitsLT123456789
LuxembourgLU8 digitsLU12345678
MaltaMT8 digitsMT12345678
NetherlandsNL9 digits + B + 2 digitsNL123456789B01
PolandPL10 digitsPL1234567890
PortugalPT9 digitsPT123456789
RomaniaRO2-10 digitsRO1234567890
SlovakiaSK10 digitsSK1234567890
SloveniaSI8 digitsSI12345678
SpainES1 char + 7 digits + 1 charESA12345678
SwedenSE12 digitsSE123456789012

Note that some countries use letters within the number (France, Ireland, Cyprus, Spain), while others are purely numeric. The country prefix is always two letters. When entering a number into VIES, include the prefix.

Quick format check before VIES If a customer provides a "German VAT number" that's only 7 digits long, you already know it's wrong — German numbers are always 9 digits after the DE prefix. Catching these format errors saves you a round-trip to VIES and helps your customer correct mistakes faster.

7. When to Check: Before Every B2B Invoice

How much could you save on state income tax?

Take our free 2-minute quiz for a personalized savings estimate.

Get Your Savings Estimate →

The most common question is: "How often do I need to verify a customer's VAT number?" The answer is clear: before every invoice, or at minimum, before each billing cycle.

Here's why periodic re-verification matters:

Best practices for verification timing

Automate this where possible. If you use accounting software or a billing system, many offer built-in VIES verification or integrations. Our VAT checker can be used for quick manual checks.

8. Record-Keeping Requirements

Verifying VAT numbers is only half the job. You also need to keep records of your verifications. If audited, you'll need to prove that you checked the number and what the result was.

What to record for each verification

How long to keep records

Record retention requirements vary by country, but the general rule across the EU is to keep VAT-related records for at least 7-10 years. Germany requires 10 years. Most other member states require 6-7 years. The safest approach is to keep all verification records for 10 years.

Format of records

Records can be kept digitally. Screenshots, exported CSV files from batch checks, or entries in your accounting system are all acceptable. The key requirements are that the records are complete, chronological, and unalterable (i.e., stored in a format that shows they haven't been modified after the fact).

Example verification log A simple spreadsheet works: Date | Customer Name | VAT Number | VIES Result | Name Returned | Address Returned | Notes. One row per check. Keep it up to date and export a PDF backup quarterly. This is sufficient for audit purposes in most jurisdictions.

9. Special Cases: Northern Ireland and Non-EU Countries

Since Brexit, the United Kingdom is no longer part of the EU VAT system. However, Northern Ireland retains its position within the EU VAT area for goods under the Windsor Framework. Northern Irish businesses engaged in trade in goods use VAT numbers with the prefix XI, which can be verified through VIES.

For services, Northern Ireland businesses are treated as UK businesses and use standard UK VAT numbers (with the GB prefix), which cannot be verified through VIES.

For businesses in non-EU countries (UK, Norway, Switzerland, etc.), VIES does not apply. You'll need to use the relevant national verification tool:

For sales to non-EU businesses, the reverse charge mechanism doesn't apply. Instead, the sale is typically outside the scope of EU VAT entirely. See our invoice guide for the correct wording for export invoices.

10. Automating VAT Verification

If you process more than a handful of B2B invoices per month, manual VIES checks become tedious. Here are your options for automation:

VIES SOAP/REST API

The European Commission provides a free SOAP web service for programmatic VIES queries. This allows you to integrate VAT verification directly into your billing or invoicing system. The API returns the same data as the web interface: validity status, registered name, and address.

Third-party APIs

Several services wrap the VIES API with additional features: batch checking, caching (to handle VIES downtime), historical verification logs, and webhook notifications when a number's status changes. These are worth considering if VAT verification is a critical part of your workflow.

Accounting software integrations

Many modern accounting platforms (Xero, QuickBooks, FreeAgent) offer built-in or plugin-based VIES verification. When you add a new contact with an EU VAT number, the software checks it automatically and flags any issues.

Manual checks with PayTaxFast

For quick manual checks, our free VAT checker provides instant results with a clean interface. It's ideal for freelancers, small agencies, and SaaS founders who handle a moderate number of B2B transactions.

11. Common Errors and Troubleshooting

Here are the most frequent issues people encounter when checking VAT numbers, and how to resolve them:

Error: "Invalid VAT number"

Error: "Member State service unavailable"

Error: "Request timeout"

Name/address mismatch

Verify any EU VAT number instantly

Our free tool checks numbers against the official VIES system. Get instant results with clear status indicators.

Try the Free VAT Checker →

12. Integrating VAT Verification Into Your Invoicing Workflow

The best approach is to make VAT verification a mandatory step in your invoicing process, not an optional one. Here's a recommended workflow:

  1. Customer onboarding: Collect the VAT number as part of your customer signup or onboarding form. Verify it immediately using VIES or our VAT checker.
  2. Before first invoice: Confirm the number is still valid. Cross-check the returned name/address against your records.
  3. Invoice generation: Include both your VAT number and the customer's verified VAT number on the invoice. Add the required reverse charge statement: "Reverse charge — VAT to be accounted for by the recipient under Article 196 of Council Directive 2006/112/EC."
  4. Periodic re-verification: Set a quarterly reminder to re-check all active B2B customers' VAT numbers.
  5. Record the check: Log the date, number, and result of every verification.

Need help generating compliant invoices? Our invoice generator handles the correct legal wording automatically based on your scenario, and our tax calculator determines the correct rate for any cross-border transaction.

This guide is for informational purposes only and does not constitute tax or legal advice. VAT rules and VIES functionality may change. Always consult a qualified tax professional for advice specific to your situation.

Frequently Asked Questions

What is VIES and how does it work?
VIES (VAT Information Exchange System) is the European Commission's official tool for verifying EU VAT numbers. It sends real-time queries to the national tax authority of the member state that issued the number and returns whether the number is valid, invalid, or unavailable. It is free to use and available to anyone.
Why do I need to verify VAT numbers before invoicing?
Verification is a legal requirement if you want to apply the reverse charge mechanism on B2B cross-border sales within the EU. If you apply the reverse charge without a valid verified VAT number, you become liable for the VAT you should have charged. This can result in significant financial penalties during an audit.
What should I do if a VAT number comes back as invalid?
First, ask the customer to double-check the number for typos. Try again in 24-48 hours in case of database delays. Ask for a copy of their VAT registration certificate. If you still cannot verify the number, you must treat the sale as B2C and charge VAT at the applicable rate. You cannot apply the reverse charge without a valid number.
What should I do when VIES is down?
VIES depends on 27 national databases, and outages are common. For short outages, try again in a few hours. For longer outages, document your verification attempts with screenshots, try the national verification tool of the specific country, and proceed with reasonable evidence if needed. Follow up once VIES is available again.
How often should I re-verify a customer's VAT number?
At minimum, verify before each invoice for one-off transactions. For subscription customers, re-verify at least quarterly. VAT registrations can be revoked at any time, so a number that was valid when you onboarded a customer may no longer be active. Regular re-verification protects you in case of an audit.
Can I use VIES to check UK VAT numbers after Brexit?
No. Since Brexit, UK VAT numbers (GB prefix) cannot be verified through VIES. You need to use HMRC's 'Check a UK VAT number' service instead. The exception is Northern Ireland businesses trading in goods, which use XI-prefixed numbers that can still be checked through VIES under the Windsor Framework.

Ready to Save on State Tax?

Take our free 2-minute quiz to see how much you could save by changing your domicile to a zero-tax state.

Take the Tax Savings Quiz →

Get Tax-Saving Tips & Tools

Join founders and digital nomads getting updates on new tax tools, residency guides, and strategies that save real money.

No spam, ever. Unsubscribe anytime.