VAT Number vs Tax ID: What's the Difference?
4 September 2026

VAT Number vs Tax ID: Why Global Teams Mix Them Up
A VAT number and a tax ID are not the same thing. A VAT number is the EU's VAT-specific identifier — country-prefixed, issued for VAT purposes, and checkable against VIES. "Tax ID" is not a defined identifier at all; it's an umbrella term that means an EIN in the US, a TIN or domestic tax number almost everywhere else, or sometimes the VAT number itself, depending on who's using the phrase. Put the wrong one on an intra-EU invoice, or paste it into a field expecting the other, and the check that's supposed to confirm the business fails — not because the business is wrong, but because the identifiers were never interchangeable.
This is a common trip-up for teams operating outside the EU — US-HQ SaaS finance, sales ops handling international customers, or a developer building a signup form that has one text field labeled "tax ID / VAT number" as if they're synonyms. This guide draws the line. It doesn't cover what a VAT ID is structurally (see what a VAT ID actually is) or whether a specific number is valid (see VAT ID format vs valid). The scope here, as with VIES itself, is the EU-27 plus XI (Northern Ireland).
The core distinction: purpose, not digits
A VAT number identifies a business for one specific purpose: value-added tax, inside the EU VAT system. It's issued by a national tax authority when a business registers for VAT, it carries a two-letter country prefix, and it's the value VIES checks when you need to confirm a trading partner's intra-EU status.
"Tax ID" identifies a business (or a person) to some tax authority, for some purpose — but the phrase itself doesn't say which authority or which purpose. Depending on context, "tax ID" can mean:
- a US EIN, issued by the IRS for federal tax purposes;
- a TIN (Taxpayer Identification Number) — the general term many countries use for a domestic taxpayer identifier;
- a domestic company registration number;
- or, confusingly, the VAT number itself — some businesses and forms use "tax ID" loosely to mean whatever number the local tax office assigned, VAT included.
That last case is exactly why the confusion is so persistent: "tax ID" sometimes does refer to a VAT number, and sometimes doesn't, and the label alone never tells you which. The two are distinct in scope and purpose — a VAT number is specifically for VAT and specifically EU — even though a tax ID and a VAT number can occasionally share the same underlying digits.
Same digits, different status — a real example
Spain is the clearest illustration of why this isn't just definitional hair-splitting. Spain doesn't issue a separate number for EU VAT purposes. A Spanish business already has a NIF (Número de Identificación Fiscal) — its general domestic tax ID. When that business registers for intra-Community trade, the same NIF gets an ES prefix and is activated for cross-border VAT. At that point, and only from that point, ES + the NIF is a real EU VAT number that VIES will confirm.
Before activation, the NIF exists, works fine for Spanish domestic tax purposes, and still won't return valid in VIES — because the VAT-specific activation hasn't happened yet. Same digits, different status, depending on whether the EU VAT registration step occurred. This is Spain-specific — don't generalize it into a blanket rule like "domestic tax ID = VAT number everywhere," because the relationship between the two is entity-type- and country-dependent, not a fixed formula. The point to take from it: a tax ID being present, or even matching a VAT-shaped pattern, tells you nothing about whether the VAT-specific registration exists.
VAT number vs EIN
An EIN (Employer Identification Number) is issued by the US Internal Revenue Service to identify a business for US federal tax purposes. The US has no VAT, so an EIN was never built to carry VAT status — it isn't formatted as an EU VAT number and it won't validate against VIES, because it isn't in scope for VIES at all.
If a US company sells into the EU and needs to confirm a trading partner is VAT-registered — to support not charging VAT on a cross-border B2B supply, for instance — the EIN doesn't help with that check. The EU customer's actual EU VAT number is the identifier that matters there, checked separately, on its own terms.
VAT number vs TIN / domestic tax number
A TIN, or a country's own domestic tax number, identifies a business to its own tax authority for domestic purposes. It normally has no country prefix, it isn't built for cross-border VAT checks, and it isn't checkable in VIES — VIES only understands EU-27 and XI VAT numbers, with the country prefix telling it which national database to query.
A business can legitimately hold both a VAT number and a separate domestic tax ID, issued for different reasons, and they don't substitute for each other. On an intra-EU invoice, the field that needs the VAT number needs the VAT number — a domestic tax ID entered there won't check out, and a VIES lookup against it will simply fail to find a match. Nothing is wrong with the business; that's just not the identifier the system was asked to check.
What actually gets validated — and what "valid" means
Whichever identifier a form or invoice calls for, only one of them is checkable against VIES: the EU VAT number, and only for the EU-27 plus XI. An EIN, a TIN, or another country's domestic tax ID is outside what VIES can check — it lives in a different national system VIES has no reach into.
The European Commission describes VIES as "a search engine, not a database": it routes your query to the relevant member state and relays back a live, as-of-query-timestamp answer — it isn't a legal certification, and the Commission disclaims responsibility for the underlying national data. A "valid" result means the number is registered for intra-Community transactions in that member state right now. For how that mechanism works in full, see what VIES is and how it works, and for why format alone never proves registration, see VAT ID format vs valid.
Two prefix details are worth knowing if you're routing checks by country: Greece uses EL, not GR. Northern Ireland uses XI and is validatable in VIES, but only for goods — a valid XI result says nothing about a services transaction with that counterparty. Which countries have additional national-registry checks alongside VIES varies and changes over time; see which countries vatnode covers for the current list rather than a snapshot here.
A quick single-number check against a VAT validation API, called from your own code:
curl https://api.vatnode.dev/v1/vat/DE123456789 \
-H "Authorization: Bearer $VATNODE_API_KEY"
A response looks roughly like this — the exact fields returned can vary by source, so treat this as illustrative, not an exhaustive contract:
{
"valid": true,
"vatId": "DE123456789",
"countryCode": "DE",
"countryName": "Germany",
"companyName": "Example GmbH",
"companyAddress": "Musterstr. 1, 10115 Berlin",
"checkId": "019d2a89-a5d9-7b97-b710-57b84604de2b",
"verifiedAt": "2026-09-04T08:30:00.000Z",
"source": "VIES"
}
verifiedAt is the timestamp of the registry check itself — not necessarily the moment your request landed, since a cached result carries the original check time forward. If the string you send isn't a recognizable VAT number at all — an EIN, say, or a malformed value — the API rejects it before it ever reaches VIES; the error reference covers what a format rejection and other failure states look like.
Which one belongs on an intra-EU invoice
When a supply is between VAT-registered businesses in different EU member states, the VAT number — not a domestic tax ID, not an EIN, not a TIN — is the identifier that supports the correct VAT treatment on that supply. It's the one VIES checks, and it's the one a tax authority looks for on that specific transaction. A business can list a local tax ID elsewhere on the invoice for its own domestic reasons, but it doesn't substitute for the VAT number where EU VAT treatment is concerned.
This is general information, not tax advice — whether a specific transaction qualifies for a given VAT treatment depends on facts specific to that transaction; confirm with a qualified tax adviser.
FAQ
Is a VAT number the same as a tax ID?
No. A VAT number is the EU's VAT-specific identifier, issued for EU VAT purposes and checkable in VIES. "Tax ID" is a generic term that can mean an EIN, a TIN, or a domestic tax number depending on the country, and none of those are interchangeable with an EU VAT number on an intra-EU invoice.
Is a VAT number the same as an EIN?
No. An EIN (Employer Identification Number) is a US IRS identifier for US federal tax purposes; it has no EU VAT standing and won't validate against VIES. A US company selling into the EU still needs its trading partner's actual EU VAT number, separately from any EIN.
What is a VAT number used for that a generic tax ID isn't?
In the EU, a VAT number is what gets checked against VIES to confirm a business's intra-EU status — for example, to support not charging VAT on a cross-border B2B supply. A generic tax ID (EIN, TIN, domestic company number) carries no standing in that specific check.
My non-EU customer gave me their tax ID — can I validate it as a VAT number?
No. Only EU-27 and Northern Ireland (XI) VAT numbers can be checked against VIES. A US EIN, a UK-only reference, or another country's domestic tax ID isn't something VIES can confirm — that identifier belongs to a different national system.
If a business has both a VAT number and a local tax ID, which one goes on an intra-EU invoice?
The VAT number. It's the identifier VIES and tax authorities check for EU VAT treatment; a domestic tax or company registration number doesn't serve that function even if the business also has one.
Check the right identifier, not just any number
Confirm a single EU VAT number against VIES in seconds with the free VAT number checker. Building this into a signup or checkout form? Get a free API key and validate through the VIES API from your own code — free plan, 100 requests/month.