Free tool · Tax and invoices

Tax ID and VAT number validator

Catch a mistyped VAT, GST or business number before it goes on an invoice.

  • Works for any country
  • No sign-up
  • Runs in your browser
  • Facts verified

Spaces, dots and dashes are ignored. EU numbers may start with the country prefix.

Checks run in your browser. Nothing you type is sent anywhere.

Result

Format and check digit are valid

Called
VAT number (USt-IdNr.)Umsatzsteuer-Identifikationsnummer
Cleaned
DE123456788
Usually written
DE 123456788

This checks the format and check digit only. It does not confirm that the number is registered, active or belongs to the business you think it does.

Numbers we check in 58 countries With the official register for each
CountryNumberConfirm on
Argentina Tax ID (CUIT)Clave Única de Identificación Tributaria Registration certificate (ARCA)
Australia Australian Business Number (ABN)ABN ABN Lookup (Australian Business Register)
Austria VAT number (UID)Umsatzsteuer-Identifikationsnummer EU VIES VAT number check (European Commission)
Belgium VAT numberOndernemingsnummer / numéro d’entreprise (BTW, TVA) EU VIES VAT number check (European Commission)
Brazil Company number (CNPJ)Cadastro Nacional da Pessoa Jurídica CNPJ registration status (Receita Federal)
Individual tax number (CPF)Cadastro de Pessoas Físicas CPF status (Receita Federal)
Bulgaria VAT numberИдентификационен номер по ДДС EU VIES VAT number check (European Commission)
Canada Business Number or GST/HST numberBN (9 digits) or BN + RT0001 GST/HST Registry (Canada Revenue Agency)
Chile Tax ID (RUT)Rol Único Tributario Internal Revenue Service (SII)
China Unified Social Credit Code统一社会信用代码 National Enterprise Credit Information Publicity System
Colombia Tax ID (NIT)Número de Identificación Tributaria RUT status check (DIAN)
Croatia VAT number (OIB)Osobni identifikacijski broj EU VIES VAT number check (European Commission)
Cyprus VAT numberΑριθμός Εγγραφής ΦΠΑ EU VIES VAT number check (European Commission)
Czechia VAT number (DIČ)Daňové identifikační číslo EU VIES VAT number check (European Commission)
Denmark VAT number (CVR)CVR-nummer EU VIES VAT number check (European Commission)
Ecuador Tax ID (RUC)Registro Único de Contribuyentes Internal Revenue Service (SRI)
Estonia VAT number (KMKR)Käibemaksukohustuslase number EU VIES VAT number check (European Commission)
Finland VAT number (ALV)Arvonlisäveronumero EU VIES VAT number check (European Commission)
France VAT number (n° TVA)Numéro de TVA intracommunautaire EU VIES VAT number check (European Commission)
Germany VAT number (USt-IdNr.)Umsatzsteuer-Identifikationsnummer EU VIES VAT number check (European Commission)
Greece VAT number (ΑΦΜ)Αριθμός Φορολογικού Μητρώου EU VIES VAT number check (European Commission)
Hungary VAT number (EU format)Közösségi adószám EU VIES VAT number check (European Commission)
Iceland VAT number (VSK)Virðisaukaskattsnúmer Register of enterprises (Skatturinn)
India GSTINGoods and Services Tax Identification Number Search Taxpayer (GST portal)
PANPermanent Account Number Verify your PAN (Income Tax e-filing portal)
Indonesia Tax ID (NPWP)Nomor Pokok Wajib Pajak Directorate General of Taxes (DJP)
Ireland VAT numberVAT registration number EU VIES VAT number check (European Commission)
Israel Company numberמספר חברה (ח.פ.) Israeli Corporations Authority
Italy VAT number (Partita IVA)Partita IVA EU VIES VAT number check (European Commission)
Japan Corporate Number法人番号 (hōjin bangō) Corporate Number Publication Site (National Tax Agency)
Latvia VAT number (PVN)PVN reģistrācijas numurs EU VIES VAT number check (European Commission)
Lithuania VAT number (PVM)PVM mokėtojo kodas EU VIES VAT number check (European Commission)
Luxembourg VAT number (n° TVA)Numéro d’identification à la TVA EU VIES VAT number check (European Commission)
Malta VAT numberVAT registration number EU VIES VAT number check (European Commission)
Mexico Tax ID (RFC)Registro Federal de Contribuyentes Tax Administration Service (SAT)
Netherlands VAT number (btw-id)Btw-identificatienummer EU VIES VAT number check (European Commission)
New Zealand IRD number (also the GST number)IRD number New Zealand Business Number register
Norway VAT number (MVA)Organisasjonsnummer + MVA Brønnøysund Register Centre
Organisation numberOrganisasjonsnummer Brønnøysund Register Centre
Peru Tax ID (RUC)Registro Único de Contribuyentes RUC search (SUNAT)
Poland VAT number (NIP)Numer Identyfikacji Podatkowej EU VIES VAT number check (European Commission)
Portugal VAT number (NIF)Número de Identificação Fiscal EU VIES VAT number check (European Commission)
Romania VAT number (CIF)Cod de identificare fiscală EU VIES VAT number check (European Commission)
Russia Tax ID (INN)ИНН Unified State Register of Legal Entities (Federal Tax Service)
Saudi Arabia VAT registration numberرقم التسجيل الضريبي Zakat, Tax and Customs Authority (ZATCA)
Serbia Tax ID (PIB)Poreski identifikacioni broj Tax Administration
Singapore Unique Entity Number (UEN)UEN GST registered business search (IRAS)
Slovakia VAT number (IČ DPH)Identifikačné číslo pre DPH EU VIES VAT number check (European Commission)
Slovenia VAT number (ID za DDV)Identifikacijska številka za DDV EU VIES VAT number check (European Commission)
South Africa VAT registration numberVAT number (10 digits, starts with 4) VAT vendor search (SARS)
South Korea Business registration number사업자등록번호 Hometax (National Tax Service)
Spain VAT number (NIF)Número de Identificación Fiscal EU VIES VAT number check (European Commission)
Sweden VAT number (momsnr)Momsregistreringsnummer EU VIES VAT number check (European Commission)
Switzerland VAT number (UID + MWST)Mehrwertsteuernummer (MWST / TVA / IVA) UID register (Swiss Federal Statistical Office)
Taiwan Unified Business Number統一編號 Business registration search (Ministry of Finance eTax portal)
Türkiye Tax ID (VKN)Vergi Kimlik Numarası Interactive Tax Office (Revenue Administration)
Ukraine Company code (EDRPOU)Код ЄДРПОУ Unified State Register (Ministry of Justice)
United Arab Emirates Tax Registration Number (TRN)TRN TRN verification (Federal Tax Authority)
United Kingdom VAT registration numberVAT Reg No Check a UK VAT number (HMRC, GOV.UK)
United States Employer Identification Number (EIN)EIN Form W-9, Request for Taxpayer Identification Number (IRS)
Uruguay Tax ID (RUT)Registro Único Tributario Tax Office (DGI)

61 kinds of number. UAE and Saudi numbers, and Indonesian NIKs, are checked for format only. Not covered: countries whose rules we could not confirm from an official source.

An estimate to help you plan. Nothing you type is uploaded.

In short

Most VAT, GST and business numbers have a fixed length and a check digit worked out from the other characters, so one mistyped or swapped digit makes the number fail. A German VAT number is 9 digits with the last one worked out from the first eight (ISO 7064 MOD 11,10): DE 123456788 passes, DE 123456878 fails. This tool checks 61 formats from 58 countries. A pass means well formed, not registered: confirm that on the official register, such as EU VIES or ABN Lookup.

Also called: VAT number validator, Tax ID checker, VAT number format check, ABN checker, EIN format checker, TRN checker UAE, VAT number checker.

How it works

Pick the country and, where there is more than one, the kind of number. The tool removes spaces, dots and dashes, and then checks:

  1. Characters and length: for example 9 digits for a German VAT number, 11 for an Australian ABN, 14 for a Brazilian CNPJ.
  2. Fixed parts: a valid state or office code, a known prefix (CHE for Swiss numbers, U for Austrian ones), or the RT program code on a Canadian GST/HST number.
  3. Check digit: the last character, worked out from the others with the formula the issuing country uses (ISO 7064, modulus 11, Luhn and others).

It then shows the cleaned number, how it is usually written, what the country calls it, and where to confirm the registration.

The common mistake: treating a pass as proof of registration, and a fail as proof of fraud. A pass only says the number could exist; a fail is nearly always a typo, a missing prefix, or an old format. Check the register in both cases before you zero-rate a sale or refuse a supplier.

Worked example

Nordlicht Tools GmbH in Munich puts its VAT number on every invoice. Take the made-up number DE 123456788.

Step Result
Prefix DE (Germany), removed for the check
Length 9 digits
Check digit 8, worked out from 12345678 (ISO 7064, MOD 11,10)
Verdict Format and check digit are valid

Swap two digits, say DE 123456878, and the check digit no longer matches, which is the usual sign of a typo. To see whether a real number is registered, check it on VIES.

Common formats at a glance

Country Number Shape Confirm on
Germany USt-IdNr. DE + 9 digits VIES
United Kingdom VAT number GB + 9 digits (12 for branches) HMRC, Check a UK VAT number
Ireland VAT number IE + 7 digits and 1–2 letters VIES
Australia ABN 11 digits ABN Lookup
Canada GST/HST account 9 digits + RT + 4 digits CRA GST/HST registry
United States EIN 9 digits (12-3456789) No public lookup; Form W-9
United Arab Emirates TRN 15 digits, format only FTA TRN verification
Saudi Arabia VAT number 15 digits starting and ending with 3, format only ZATCA
Brazil CNPJ 14 characters, letters allowed from July 2026 Receita Federal
India GSTIN 15 characters, see the GSTIN validator GST portal

Notes and edge cases

  • Format is not status. A number can be well formed but cancelled, suspended or belong to someone else. Check the register before you rely on it, for example before you zero-rate an EU cross-border sale.
  • Brazil: CNPJs issued from July 2026 can contain letters. Both forms are checked.
  • India: for GSTIN details such as the state code and PAN part, use the GSTIN validator.
  • United States: we know of no public IRS lookup for EINs; businesses usually collect a supplier’s EIN on Form W-9.
  • Indonesia: since 1 Jul 2024 the NPWP has 16 digits. Companies, government bodies and non-residents use 0 plus their old 15-digit NPWP, whose check digit is tested; resident individuals use their NIK identity number, which has no check digit, so only its format is checked. Old 15-digit numbers are checked too.
  • Not covered: countries whose number rules we could not confirm from an official source.

In MyRecords

Customers and suppliers in MyRecords carry their tax IDs, and an import outside India puts a “GST No” column into the party’s VAT, TRN or tax number for Australia, New Zealand, Singapore, Canada and Malaysia. In India, saving a customer, supplier or address checks the GSTIN for format, state code and check character.

Official sources

Checked

  1. VIES VAT number validation, European Commissionconfirms that an EU VAT number is registered for cross-border trade
  2. Check a UK VAT number, HM Revenue and Customs (GOV.UK)
  3. ABN Lookup, Australian Business Register
  4. Confirming a GST/HST account number, Canada Revenue Agency
  5. UID register, Swiss Federal Statistical Office
  6. About Form W-9, Request for Taxpayer Identification Number, Internal Revenue Service (US)
  7. E-invoicing detailed technical guideline, Zakat, Tax and Customs Authority (Saudi Arabia)VAT registration number is 15 digits, starting and ending with 3
  8. PMK 136/2023 on the NPWP for individuals, companies and government bodies, Ministry of Finance (Indonesia)the 16-digit NPWP and the NIK as NPWP from 1 Jul 2024; the Directorate General of Taxes explains the leading 0 at pajak.go.id/en/node/103937
  9. VAT registration and TRN verification, Federal Tax Authority (UAE)the TRN verification field takes 15 characters

Who uses it, and for what

  • Sellers to EU businessesCatch a mistyped EU VAT number before invoicing, then confirm it on VIES.
  • Accounts payable teamsCheck a supplier's VAT, GST or business number format and check digit.
  • US businessesCheck the shape and prefix of an EIN collected on Form W-9.
  • Businesses in the UAECheck a TRN has 15 digits before it goes on a tax invoice.

Questions

Questions people ask

Something else on your mind?

Ask us anything about modules, a quote or moving across. A person from our team replies.

Ask a question
01How do I check a VAT number is valid?

Two steps. First the format and check digit, which this tool tests in your browser: length, country prefix, fixed parts and the check digit formula the country uses. Then the registration: for an EU number, VIES; for a UK number, HMRC's Check a UK VAT number service. Only the register tells you the number is live and whose it is.

02How do I verify a TRN in the UAE?

The Federal Tax Authority's TRN verification service takes the 15-digit number and shows the registered name. This tool checks that a TRN is 15 digits, which catches a missing or extra digit; we found no published check-digit rule, so the FTA lookup is the real test.

03Is this EIN real?

An EIN is 9 digits written 12-3456789, and the tool checks that shape and the known prefixes. The IRS publishes no public lookup, so businesses collect a supplier's EIN on Form W-9. A number that passes here could still be made up.

04Does a valid result mean the business is registered for VAT?

No. It means the number is well formed and its check digit matches. A made-up number can pass, and a real number can be cancelled. Confirm it on the register linked in the result, for example EU VIES for EU VAT numbers or ABN Lookup in Australia.

05Should I type the country prefix?

Either way works for EU VAT numbers: DE 123456788 and 123456788 give the same result. On an EU invoice and in VIES the prefix is part of the number. Greece uses EL, not GR, and Austrian numbers keep their U (ATU…).

06How does a check digit catch typos?

The last character (sometimes two) is worked out from the others with a fixed formula, often a weighted sum divided by 11 or 97. If one digit is mistyped, or two neighbours are swapped, the formula almost always gives a different answer and the number fails.

07Which numbers are checked for format only?

The UAE's Tax Registration Number (15 digits) and Saudi Arabia's VAT number (15 digits that start and end with 3). We found no published check-digit rule for either, so only the length and the documented pattern are checked.

08Why does a VAT number matter on an invoice?

In the EU and UK a business customer's VAT number is what lets you invoice without VAT on a cross-border sale and lets the customer reclaim the tax, so a wrong number can cost one side the VAT. Checking the format as you type, and the register before the first invoice, avoids most of that.

09Is the number I type sent anywhere?

No. The check runs in your browser. Nothing you type is uploaded. To confirm a registration you open the official register yourself.

Any business, anywhere

One system for any business, anywhere.

Accounting, sales, stock, HR and payroll, CRM, support and an AI Assistant in one place. It works in any country and currency, and we customise it to the way your business runs.

See every appWorks worldwide

Free, no obligation

Request a quote

  • For the apps and modules you pick
  • At our best price, in writing
  • Your questions, answered by our team