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:
- Characters and length: for example 9 digits for a German VAT number, 11 for an Australian ABN, 14 for a Brazilian CNPJ.
- 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.
- 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.















