# Tax ID and VAT number validator: 61 formats | MyRecords

> Check the format and check digit of 61 kinds of VAT, GST and business number from 58 countries, ABN and EIN to CNPJ, then confirm it on the official register.

Canonical: https://myrecords.cloud/resources/free-tools/tax-id-validator/
Last updated: 2026-12-03

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 4 Nov 2026

**Numbers we check in 58 countries With the official register for each**

| Country | Number | Confirm on |
| --- | --- | --- |
| Argentina | Tax ID (CUIT) Clave Única de Identificación Tributaria | [Registration certificate (ARCA)](https://seti.afip.gob.ar/padron-puc-constancia-internet/ConsultaConstanciaAction.do) |
| Australia | Australian Business Number (ABN) ABN | [ABN Lookup (Australian Business Register)](https://abr.business.gov.au/) |
| Austria | VAT number (UID) Umsatzsteuer-Identifikationsnummer | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Belgium | VAT number Ondernemingsnummer / numéro d’entreprise (BTW, TVA) | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Brazil | Company number (CNPJ) Cadastro Nacional da Pessoa Jurídica | [CNPJ registration status (Receita Federal)](https://solucoes.receita.fazenda.gov.br/servicos/cnpjreva/cnpjreva_solicitacao.asp) |
|  | Individual tax number (CPF) Cadastro de Pessoas Físicas | [CPF status (Receita Federal)](https://servicos.receita.fazenda.gov.br/servicos/cpf/consultasituacao/consultapublica.asp) |
| Bulgaria | VAT number Идентификационен номер по ДДС | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Canada | Business Number or GST/HST number BN (9 digits) or BN + RT0001 | [GST/HST Registry (Canada Revenue Agency)](https://www.canada.ca/en/revenue-agency/services/e-services/e-services-businesses/confirming-a-gst-hst-account-number.html) |
| Chile | Tax ID (RUT) Rol Único Tributario | [Internal Revenue Service (SII)](https://www.sii.cl/) |
| China | Unified Social Credit Code 统一社会信用代码 | [National Enterprise Credit Information Publicity System](https://www.gsxt.gov.cn/) |
| Colombia | Tax ID (NIT) Número de Identificación Tributaria | [RUT status check (DIAN)](https://muisca.dian.gov.co/WebRutMuisca/DefConsultaEstadoRUT.faces) |
| Croatia | VAT number (OIB) Osobni identifikacijski broj | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Cyprus | VAT number Αριθμός Εγγραφής ΦΠΑ | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Czechia | VAT number (DIČ) Daňové identifikační číslo | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Denmark | VAT number (CVR) CVR-nummer | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Ecuador | Tax ID (RUC) Registro Único de Contribuyentes | [Internal Revenue Service (SRI)](https://www.sri.gob.ec/) |
| Estonia | VAT number (KMKR) Käibemaksukohustuslase number | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Finland | VAT number (ALV) Arvonlisäveronumero | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| France | VAT number (n° TVA) Numéro de TVA intracommunautaire | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Germany | VAT number (USt-IdNr.) Umsatzsteuer-Identifikationsnummer | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Greece | VAT number (ΑΦΜ) Αριθμός Φορολογικού Μητρώου | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Hungary | VAT number (EU format) Közösségi adószám | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Iceland | VAT number (VSK) Virðisaukaskattsnúmer | [Register of enterprises (Skatturinn)](https://www.skatturinn.is/fyrirtaekjaskra/) |
| India | GSTIN Goods and Services Tax Identification Number | [Search Taxpayer (GST portal)](https://services.gst.gov.in/services/searchtp) |
|  | PAN Permanent Account Number | [Verify your PAN (Income Tax e-filing portal)](https://eportal.incometax.gov.in/iec/foservices/#/pre-login/verifyYourPAN) |
| Indonesia | Tax ID (NPWP) Nomor Pokok Wajib Pajak | [Directorate General of Taxes (DJP)](https://pajak.go.id/) |
| Ireland | VAT number VAT registration number | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Israel | Company number מספר חברה (ח.פ.) | [Israeli Corporations Authority](https://ica.justice.gov.il/) |
| Italy | VAT number (Partita IVA) Partita IVA | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Japan | Corporate Number 法人番号 (hōjin bangō) | [Corporate Number Publication Site (National Tax Agency)](https://www.houjin-bangou.nta.go.jp/en/) |
| Latvia | VAT number (PVN) PVN reģistrācijas numurs | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Lithuania | VAT number (PVM) PVM mokėtojo kodas | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Luxembourg | VAT number (n° TVA) Numéro d’identification à la TVA | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Malta | VAT number VAT registration number | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Mexico | Tax ID (RFC) Registro Federal de Contribuyentes | [Tax Administration Service (SAT)](https://www.sat.gob.mx/) |
| Netherlands | VAT number (btw-id) Btw-identificatienummer | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| New Zealand | IRD number (also the GST number) IRD number | [New Zealand Business Number register](https://www.nzbn.govt.nz/) |
| Norway | VAT number (MVA) Organisasjonsnummer + MVA | [Brønnøysund Register Centre](https://virksomhet.brreg.no/) |
|  | Organisation number Organisasjonsnummer | [Brønnøysund Register Centre](https://virksomhet.brreg.no/) |
| Peru | Tax ID (RUC) Registro Único de Contribuyentes | [RUC search (SUNAT)](https://e-consultaruc.sunat.gob.pe/) |
| Poland | VAT number (NIP) Numer Identyfikacji Podatkowej | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Portugal | VAT number (NIF) Número de Identificação Fiscal | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Romania | VAT number (CIF) Cod de identificare fiscală | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Russia | Tax ID (INN) ИНН | [Unified State Register of Legal Entities (Federal Tax Service)](https://egrul.nalog.ru/) |
| Saudi Arabia | VAT registration number رقم التسجيل الضريبي | [Zakat, Tax and Customs Authority (ZATCA)](https://zatca.gov.sa/en/) |
| Serbia | Tax ID (PIB) Poreski identifikacioni broj | [Tax Administration](https://purs.gov.rs/) |
| Singapore | Unique Entity Number (UEN) UEN | [GST registered business search (IRAS)](https://mytax.iras.gov.sg/ESVWeb/default.aspx?target=GSTListingSearch) |
| Slovakia | VAT number (IČ DPH) Identifikačné číslo pre DPH | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Slovenia | VAT number (ID za DDV) Identifikacijska številka za DDV | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| South Africa | VAT registration number VAT number (10 digits, starts with 4) | [VAT vendor search (SARS)](https://secure.sarsefiling.co.za/vatvendorsearch/application/VendorSearch.aspx) |
| South Korea | Business registration number 사업자등록번호 | [Hometax (National Tax Service)](https://www.hometax.go.kr/) |
| Spain | VAT number (NIF) Número de Identificación Fiscal | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Sweden | VAT number (momsnr) Momsregistreringsnummer | [EU VIES VAT number check (European Commission)](https://ec.europa.eu/taxation_customs/vies/) |
| Switzerland | VAT number (UID + MWST) Mehrwertsteuernummer (MWST / TVA / IVA) | [UID register (Swiss Federal Statistical Office)](https://www.uid.admin.ch/) |
| Taiwan | Unified Business Number 統一編號 | [Business registration search (Ministry of Finance eTax portal)](https://www.etax.nat.gov.tw/etwmain/etw113w1/ban/query) |
| Türkiye | Tax ID (VKN) Vergi Kimlik Numarası | [Interactive Tax Office (Revenue Administration)](https://ivd.gib.gov.tr/) |
| Ukraine | Company code (EDRPOU) Код ЄДРПОУ | [Unified State Register (Ministry of Justice)](https://usr.minjust.gov.ua/) |
| United Arab Emirates | Tax Registration Number (TRN) TRN | [TRN verification (Federal Tax Authority)](https://tax.gov.ae/en/services/vat.registration.aspx) |
| United Kingdom | VAT registration number VAT Reg No | [Check a UK VAT number (HMRC, GOV.UK)](https://www.gov.uk/check-uk-vat-number) |
| United States | Employer Identification Number (EIN) EIN | [Form W-9, Request for Taxpayer Identification Number (IRS)](https://www.irs.gov/forms-pubs/about-form-w-9) |
| Uruguay | Tax ID (RUT) Registro Único Tributario | [Tax Office (DGI)](https://www.gub.uy/direccion-general-impositiva/) | 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.

 Formula and worked example

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](https://myrecords.cloud/resources/free-tools/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 4 Nov 2026

1.  [VIES VAT number validation, European Commission](https://ec.europa.eu/taxation_customs/vies/) confirms that an EU VAT number is registered for cross-border trade
2.  [Check a UK VAT number, HM Revenue and Customs (GOV.UK)](https://www.gov.uk/check-uk-vat-number)
3.  [ABN Lookup, Australian Business Register](https://abr.business.gov.au/)
4.  [Confirming a GST/HST account number, Canada Revenue Agency](https://www.canada.ca/en/revenue-agency/services/e-services/e-services-businesses/confirming-a-gst-hst-account-number.html)
5.  [UID register, Swiss Federal Statistical Office](https://www.uid.admin.ch/)
6.  [About Form W-9, Request for Taxpayer Identification Number, Internal Revenue Service (US)](https://www.irs.gov/forms-pubs/about-form-w-9)
7.  [E-invoicing detailed technical guideline, Zakat, Tax and Customs Authority (Saudi Arabia)](https://zatca.gov.sa/en/E-Invoicing/Introduction/Guidelines/Documents/E-invoicing-Detailed-Technical-Guideline.pdf) 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)](https://jdih.kemenkeu.go.id/dok/pmk-136-tahun-2023/summary) 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)](https://tax.gov.ae/en/services/vat.registration.aspx) the TRN verification field takes 15 characters

## Who uses it, *and for what*

-   **Sellers to EU businesses** Catch a mistyped EU VAT number before invoicing, then confirm it on VIES.
-   **Accounts payable teams** Check a supplier's VAT, GST or business number format and check digit.
-   **US businesses** Check the shape and prefix of an EIN collected on Form W-9.
-   **Businesses in the UAE** Check 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](https://myrecords.cloud/contact/)

**How 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.

**How 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.

**Is 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.

**Does 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.

**Should 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…).

**How 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.

**Which 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.

**Why 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.

**Is 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.

Last updated 3 Dec 2026 Facts last verified 4 Nov 2026 against the official sources below

This tool gives an estimate to help you plan. Rules change; confirm with your accountant before you file or pay.

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 app](https://myrecords.cloud/product/) [Works worldwide](https://myrecords.cloud/solutions/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

[Request a quote](https://myrecords.cloud/contact/?topic=quote) [or contact us](https://myrecords.cloud/contact/)
