Tax Identification Numbers Around the World: How Tax IDs Work in Europe, the United States, Canada and Beyond

The Italian codice fiscale is a “meaningful” code: anyone who knows the algorithm can read the holder’s surname, first name, date of birth, sex and place of birth straight out of its 16 characters. It was a 1970s design choice with real advantages. You can calculate it without consulting any database, check it by eye, and it carries a check character. It also has obvious drawbacks: it reveals personal data to anyone who sees it, and it produces collisions, which Italy resolves with a dedicated mechanism called omocodia.

The rest of the world made very different choices. This article tours the main tax identifiers for individuals: Europe, the United States and Canada in detail, then a quicker trip through Latin America, Africa, Asia, the Middle East, Australia and New Zealand. For each one I look at three things: how it is built, whether it contains personal data, and how it is checked. At the end you will find the main families of check-digit algorithms and a set of validators in plain JavaScript, with no dependencies.

Two families: meaningful codes and opaque codes

Identifiers fall into two broad families.

Meaningful codes contain information about the person: almost always the date of birth, often the sex, sometimes the place of birth. Besides the Italian codice fiscale, this family includes the French NIR, the Belgian national number, the Polish PESEL, the Nordic personal identity numbers, the Mexican CURP, the Chinese resident ID number and the South African ID number.

Opaque codes are random or sequential numbers with no meaning, with or without a check digit. This family includes the German Steuer-ID, the Dutch BSN, the US Social Security Number since 2011, the Canadian SIN, the Australian Tax File Number and the Japanese My Number.

Over the last twenty years the trend has clearly been towards the second family. Germany created the Steuer-ID in 2007 and deliberately chose a number that reveals nothing about the person. The United States randomized Social Security Number assignment in 2011. South Korea did the same for part of its resident registration number in 2020. Switzerland replaced its old, meaningful AHV number with a random one in 2008.

There are two reasons. The first is privacy: a code containing a date of birth reveals it to anyone who sees it, and a predictable code can easily be reconstructed from public data. The second is exhaustion: if part of the number encodes the day of birth, only a limited set of numbers is available for each day. Denmark ran out in 2007 and had to drop its check digit.

A second trend is just as clear: the tax ID is merging with the national identity number. In many countries the number the tax authority uses for individuals is the same one printed on the identity card or held in the population register. The Nordic countries have worked this way for decades. More recently Indonesia did it in 2024 and Nigeria in 2026, while Germany extended the Steuer-ID into a common identifier shared across dozens of public registers.

Europe

The European Union has no single tax ID for individuals: each member state has its own. The European Commission does, however, run a portal called TIN on Europa, which collects descriptions of the national formats and offers an online check of their structure. For businesses’ VAT numbers there is VIES, the service that checks whether a number is registered for intra-EU trade.

Germany: Steuerliche Identifikationsnummer

The Steuer-ID (or IdNr) has existed since 2007. The Federal Central Tax Office (Bundeszentralamt für Steuern) assigns it to everyone registered in Germany, newborns included. It has 11 digits, never starts with 0 and contains no information about the person. It has one curious rule: within the first ten digits, exactly one digit appears two or three times, and every other digit appears at most once. The eleventh digit is a check digit, calculated with the ISO 7064 MOD 11,10 algorithm.

With the Register Modernisation Act (Registermodernisierungsgesetz, 2021), the Steuer-ID became the common identifier for dozens of public registers, a sort of “citizen number”. The move drew heavy criticism from privacy advocates, because ever since its 1983 census ruling the German Constitutional Court had viewed a single personal identifier with suspicion.

France: two different numbers

France has two identifiers side by side:

  • The numéro fiscal (or SPI number), used by the tax authority: 13 digits, always starting with 0, 1, 2 or 3. It contains no personal data.
  • The NIR, the social security number, also called the “INSEE number”. This is the true cousin of the Italian codice fiscale.

The NIR has 15 digits and is entirely meaningful:

PositionDigitsMeaning
11Sex (1 male, 2 female)
2–32Year of birth
4–52Month of birth
6–72Département of birth (99 for people born abroad)
8–103Municipality of birth (or country, for people born abroad)
11–133Birth register entry number
14–152Check key

The key is 97 minus the remainder of the first 13 digits divided by 97. There is one amusing exception: Corsica’s two départements are 2A and 2B, with a letter. For the calculation they are replaced by 19 and 18 respectively.

Spain: DNI and NIE

In Spain the tax ID for individuals (NIF) is the same as the identity card number, the DNI: 8 digits and a check letter. The letter is found by dividing the number by 23 and using the remainder as an index into the string TRWAGMYFPDXBNJZSQVHLCKE. It is one of the simplest algorithms there is, and perhaps for that reason one of the best known.

Foreign nationals receive an NIE instead: a letter X, Y or Z, seven digits and the check letter. For the calculation the leading letter is replaced by 0, 1 or 2. Companies have an NIF that starts with a letter indicating their legal form.

United Kingdom: no single number

The UK has no single tax identifier. It uses two:

  • The UTR (Unique Taxpayer Reference), 10 digits, issued to people who file a Self Assessment tax return and to companies.
  • The National Insurance number (NINO), which almost everyone receives at 16: two letters, six digits and a final letter from A to D, for example AB 12 34 56 C.

The NINO has no check digit, but it has precise format rules. The first letter cannot be D, F, I, Q, U or V; nor can the second, which also cannot be O. Some pairs are never issued: BG, GB, NK, KN, NT, TN and ZZ. That is why the number used in official examples, QQ 12 34 56 C, is deliberately invalid.

The Netherlands and Belgium

In the Netherlands the BSN (Burgerservicenummer) has 9 meaningless digits and is checked with the “eleven test”: multiply the first eight digits by 9, 8, 7… down to 2, subtract the last digit, and the total must be divisible by 11.

In Belgium the tax authority uses the national register number, which has 11 digits and is meaningful: date of birth as YYMMDD, a three-digit counter (odd for men, even for women) and two check digits, calculated as 97 minus the remainder of the division by 97. For people born from 2000 onwards, a 2 is placed in front of the number before the calculation, so that someone born in 1985 and someone born in 2085 would not share the same key.

The Nordic countries: one personal number for everything

In Sweden, Norway, Denmark and Finland the same personal number is used for the population register, taxes, healthcare and banking. All of them contain the date of birth:

  • Sweden, personnummer: YYMMDD-NNNC, with a Luhn check digit. The hyphen becomes a + once the holder turns 100. Samordningsnummer (coordination numbers), issued to people who are not registered residents, add 60 to the day of birth.
  • Norway, fødselsnummer: 11 digits, DDMMYY followed by three individual digits and two check digits. D-numbers for foreign nationals add 4 to the first digit.
  • Denmark, CPR number: DDMMYY-SSSS. It used to have a check digit, but in 2007 the valid numbers for some birth dates ran out and the check was dropped. Today a perfectly correct CPR number may fail the old test.
  • Finland, henkilötunnus: DDMMYY, a character indicating the century, three digits and a check character (the remainder of a division by 31, converted with a table of digits and letters). Since 2023 there are more century characters: besides -, + and A, there are now Y, X, W, V and U for the 1900s and B, C, D, E and F for the 2000s.

Central and Eastern Europe

Many former Eastern Bloc countries use meaningful numbers that began life as population register codes:

  • Poland, PESEL: 11 digits, YYMMDD followed by four digits and a check digit with weights 1, 3, 7, 9. The century is hidden in the month: for people born from 2000 onwards, 20 is added to the month. The tenth digit is odd for men and even for women. Since 2012 the PESEL has also been the tax ID for people who do not run a business.
  • Czech Republic and Slovakia, rodné číslo: YYMMDD/XXXX. For women, 50 is added to the month, a solution very close to the +40 added to the day in the Italian codice fiscale. The whole number must be divisible by 11.
  • Romania, CNP: 13 digits. The first digit encodes both sex and century, followed by the date of birth, the county code, a sequence number and a check digit.

Switzerland, Portugal, Ireland

In Switzerland many cantons use the AHV number (old-age and survivors’ insurance) as the tax ID: 13 digits starting with 756, the country’s ISO code, and ending with an EAN-13 check digit, the same one used on barcodes. Since 2008 it has contained no personal data.

In Portugal the NIF has 9 digits with a modulo 11 check; the first digit indicates the type of taxpayer (1, 2 and 3 for individuals). In Ireland the PPS number has seven digits, a check letter (modulo 23) and, in recent numbers, a second letter.

United States

The United States has no tax code in the Italian sense: the IRS uses the Social Security Number, created in 1936 to track workers’ social security contributions and gradually turned into the de facto identifier for everything from credit to healthcare.

The SSN has 9 digits in the format AAA-GG-SSSS: area, group and serial number. It has no check digit. Until 2011 the area number reflected the state where the application was made: numbers from 545 to 573, for instance, belonged to California. Since 25 June 2011 the Social Security Administration has assigned numbers at random. Area 000, area 666 and areas 900 to 999 remain excluded, as do group 00 and serial 0000.

A validator can therefore only check these rules and reject a few famous numbers. The most famous is 078-05-1120: in 1938 a wallet manufacturer printed it on a sample card inside wallets sold by Woolworth, and thousands of people used it as if it were their own.

People who must pay tax but are not eligible for an SSN, such as many foreign nationals, receive an ITIN (Individual Taxpayer Identification Number): same format, but it always starts with 9 and the fourth and fifth digits fall within specific ranges (50–65, 70–88, 90–92, 94–99). Businesses have an EIN (Employer Identification Number), 9 digits in the format XX-XXXXXXX. None of the three has a check digit, and real verification is only possible through IRS or Social Security Administration services.

Canada

Canada uses the SIN (Social Insurance Number): 9 digits with a check digit calculated with the Luhn algorithm, the same one used for credit cards. The first digit used to indicate the province of registration. SINs starting with 9 are issued to temporary residents, meaning people who are neither citizens nor permanent residents; no SIN starts with 0 or 8.

Businesses have a BN (Business Number), also 9 digits with a Luhn check, extended with suffixes for each tax account (for example RT for GST/HST, the federal sales tax).

A look at the rest of the world

Latin America

Latin America is the region with the most similarities to Italy.

  • Mexico. This is the closest case to Italy. The RFC (Registro Federal de Contribuyentes) for individuals has 13 characters: four letters taken from the surnames and first name, the date of birth as YYMMDD, and a three-character homoclave that tells namesakes apart, just like Italian omocodia. The CURP, the population register code, has 18 characters: the same four letters, the date of birth, the sex (H or M), the state of birth as two letters (NE for people born abroad), the inner consonants of the surnames and first name, a character distinguishing people born before and after 2000, and a check digit. There is also a rule the Italian code lacks: if the first four letters spell an offensive word, the second letter is replaced with an X.
  • Brazil. The CPF for individuals has 11 digits, two of which are check digits (modulo 11). The ninth digit indicates the tax region where the number was issued. The CNPJ for companies has 14 characters, and since 31 July 2026 it can contain letters: the first twelve positions are alphanumeric, while the last two remain numeric check digits. For the calculation each character’s value is its ASCII code minus 48, so existing all-digit numbers give the same result as before.
  • Argentina. The CUIT (or CUIL for employees) has 11 digits: a two-digit prefix, the identity document (DNI) number and a modulo 11 check digit. The prefix indicates the type of taxpayer: historically 20 for men and 27 for women, 23 and 24 to resolve collisions, and 30, 33 and 34 for companies.
  • Chile. The RUT is the same as the national identity number: 7 or 8 digits and a modulo 11 check character, which can be 0 to 9 or K when the result would be 10.
  • Colombia and Peru. In Colombia the NIT for individuals is the cédula (identity card) number followed by a check digit calculated with weights that are prime numbers (3, 7, 13, 17, 19…). In Peru the RUC has 11 digits: for individuals it is 10 followed by the DNI and a check digit; for companies it starts with 20.

Africa

  • South Africa. The identity number has 13 digits: date of birth as YYMMDD; four sequence digits, from 0000 to 4999 for women and from 5000 to 9999 for men; one digit for citizenship (0 for citizens, 1 for permanent residents); one digit that indicated race under apartheid and no longer has any meaning; and a Luhn check digit. The tax authority (SARS) then issues a separate 10-digit tax reference number.
  • Nigeria. Since January 2026, under the Nigeria Tax Administration Act, the National Identification Number (NIN, 11 digits) automatically serves as the tax ID for individuals, while companies use their Corporate Affairs Commission registration number. The old tax IDs issued by the federal and state tax authorities have been unified into a single identifier.
  • Kenya. The KRA PIN has 11 characters: an initial letter (A for individuals, P for other taxpayers), nine digits and a final letter.
  • Egypt. The national ID number has 14 digits: one for the century of birth (2 for the 1900s, 3 for the 2000s), the date of birth, the governorate code, a sequence number whose last digit is odd for men and even for women, and a check digit. The actual tax registration number is a separate 9-digit number.
  • Morocco. Besides their tax ID, businesses have an ICE (Identifiant Commun de l’Entreprise): 15 characters shared by every government agency, including two check characters.

Asia

  • China. The resident identity card number has 18 characters: 6 digits for the place of registration, the full date of birth as YYYYMMDD, three sequence digits (odd for men, even for women) and a check character calculated with ISO 7064 MOD 11-2, which can be a digit or X. For individuals it is also the tax ID. Companies have the 18-character Unified Social Credit Code.
  • India. The PAN (Permanent Account Number) has 10 characters in the format AAAAA9999A. The fourth character indicates the type of taxpayer (P for individuals, C for companies, H for Hindu undivided families), the fifth is the initial of the surname, followed by four digits and a check letter calculated with an algorithm that has never been published. The PAN 2.0 project, approved in November 2024, added a dynamic QR code to the cards without changing any existing numbers. The PAN must be linked to the Aadhaar, the national biometric identity: 12 random digits that never start with 0 or 1, with the last digit calculated using the Verhoeff algorithm.
  • Japan. The My Number (kojin bangō), introduced in 2015, has 12 digits, the last of which is a check digit, and contains no personal data. Companies have a 13-digit corporate number.
  • South Korea. The resident registration number has 13 digits: YYMMDD, one digit encoding both century and sex (1 and 2 for the 1900s, 3 and 4 for the 2000s, 5 to 8 for foreign nationals), four digits for the place of registration, and a check digit. Since October 2020, for privacy reasons, the six digits after the sex digit have been assigned at random: new numbers no longer contain the place of registration, and the last digit is no longer guaranteed to be a check digit, so a validator should not reject them on that basis.
  • Indonesia. The NIK, the 16-digit population register number, contains the codes for the province, regency and district, the date of birth as DDMMYY and a sequence number. For women, 40 is added to the day of birth, exactly as in the Italian codice fiscale. Since 1 July 2024 the NIK has also served as the tax ID (NPWP) for residents; non-resident foreigners and companies have a 16-digit NPWP.
  • Singapore. The NRIC for citizens and permanent residents consists of a letter (S for people born before 2000, T after), seven digits and a check letter. Foreign nationals have a FIN, starting with F, G or, since 2022, M. Businesses have a UEN.
  • Thailand. The 13-digit identity number, with a modulo 11 check, is also the tax ID for individuals.

Middle East

  • Israel. The Teudat Zehut number has 9 digits, the last being a check digit calculated with a variant of Luhn.
  • Turkey. The T.C. Kimlik No for citizens has 11 digits, never starting with 0, and two check digits. Companies and foreign nationals have a 10-digit tax number, the Vergi Kimlik Numarası.
  • Saudi Arabia. Citizens have a 10-digit national ID number starting with 1; resident foreigners have an iqama number starting with 2. Businesses’ VAT numbers have 15 digits and always start and end with 3; there is a check digit, but its algorithm has not been published.
  • United Arab Emirates. There is no personal income tax, so there is no personal tax ID in the Italian sense. Anyone who registers for VAT or corporate tax receives a TRN: 15 digits starting with 100. The Emirates ID number, from the identity card, has 15 digits: 784 (the country’s ISO code), the year of birth, a sequence number and a Luhn check digit.

Australia and New Zealand

  • Australia. The TFN (Tax File Number) has 9 digits (8 in older numbers), no personal data and a weighted check: multiply the digits by 1, 4, 3, 7, 5, 8, 6, 9 and 10, and the sum must be divisible by 11. It is protected by strict privacy rules: asking for it without legal authority is an offence. Businesses have an ABN, 11 digits with a modulo 89 check.
  • New Zealand. The IRD number has 8 or 9 digits (8-digit numbers are padded with a leading 0) and a modulo 11 check digit. If the first calculation gives 10, a second one is done with a different set of weights.

Check-digit algorithms at a glance

Behind the huge variety of formats sit only a few families of algorithms:

AlgorithmHow it worksWhere it is used
LuhnDouble every second digit from the right, add up the digits; the total must be a multiple of 10Canada (SIN and BN), South Africa, Sweden, Israel (variant), Emirates ID, credit cards
Weighted modulo 11Weighted sum of the digits, remainder after dividing by 11Brazil, Argentina, Chile (with K), Colombia, Peru, the Netherlands, Portugal, Norway, Australia, New Zealand, Thailand
Weighted modulo 10Sum with repeating weights 1, 3, 7, 9, remainder after dividing by 10Poland (PESEL)
Modulo 9797 minus the remainder after dividing by 97France (NIR), Belgium, and IBANs too
Modulo 23 with a letterThe remainder points to a letter in a tableSpain (DNI and NIE), Ireland (PPS)
Modulo 26 with tablesDifferent values for odd and even positionsItaly (codice fiscale)
ISO 7064A standard family of recursive algorithmsGermany (MOD 11,10), China (MOD 11-2)
VerhoeffBased on the dihedral group; catches every swap of adjacent digitsIndia (Aadhaar)
NoneFormat rules onlyUnited States (SSN, ITIN, EIN), United Kingdom (NINO), Denmark after 2007

The caveat that applies to the Italian codice fiscale applies everywhere: valid does not mean it exists. A correct check digit only tells you the number contains no obvious typing errors. To find out whether it was actually issued, and to whom, you need the official verification services, where they exist.

Validating in JavaScript

Here is a set of plain JavaScript validators for the most common formats. They only check the structure and the check digits. I compared them with python-stdnum on several thousand randomly generated valid and invalid numbers, and the results match. The only deliberate difference concerns the Brazilian CPF: numbers made of eleven identical digits, such as 111.111.111-11, pass the calculation but are rejected here, as the Brazilian tax authority does in practice.

// Normalize: uppercase, no spaces, dots, hyphens or slashes
const clean = (v) => String(v).toUpperCase().replace(/[\s.\-\/]/g, '');

// Luhn (Canada, South Africa, Israel, Emirates ID, credit cards…)
function luhn(digits) {
  let sum = 0;
  for (let i = 0; i < digits.length; i++) {
    let d = +digits[digits.length - 1 - i];
    if (i % 2 === 1) { d *= 2; if (d > 9) d -= 9; }
    sum += d;
  }
  return sum % 10 === 0;
}

// Canada — SIN: 9 digits, Luhn; never starts with 0 or 8
function isValidSIN(v) {
  const n = clean(v);
  return /^[1-79]\d{8}$/.test(n) && luhn(n);
}

// Spain — DNI (8 digits + letter) and NIE (X/Y/Z + 7 digits + letter)
function isValidDNI(v) {
  const n = clean(v).replace(/^[XYZ]/, (c) => 'XYZ'.indexOf(c));
  if (!/^\d{8}[A-Z]$/.test(n)) return false;
  return 'TRWAGMYFPDXBNJZSQVHLCKE'[Number(n.slice(0, 8)) % 23] === n[8];
}

// Germany — Steuer-ID: 11 digits, ISO 7064 MOD 11,10
function isValidSteuerID(v) {
  const n = clean(v);
  if (!/^[1-9]\d{10}$/.test(n)) return false;
  const counts = {};
  for (const c of n.slice(0, 10)) counts[c] = (counts[c] || 0) + 1;
  const repeated = Object.values(counts).filter((c) => c > 1);
  if (repeated.length !== 1 || repeated[0] > 3) return false;
  let product = 10;
  for (const c of n.slice(0, 10)) {
    const sum = (Number(c) + product) % 10 || 10;
    product = (sum * 2) % 11;
  }
  return (11 - product) % 10 === Number(n[10]);
}

// France — NIR (social security number): 15 digits, mod 97 key
function isValidNIR(v) {
  let n = clean(v);
  const dep = n.slice(5, 7);
  if (dep === '2A') n = n.slice(0, 5) + '19' + n.slice(7);
  else if (dep === '2B') n = n.slice(0, 5) + '18' + n.slice(7);
  if (!/^\d{15}$/.test(n)) return false;
  return 97 - (Number(n.slice(0, 13)) % 97) === Number(n.slice(13));
}

// Netherlands — BSN: 9 digits, "eleven test"
function isValidBSN(v) {
  const n = clean(v).padStart(9, '0');
  if (!/^\d{9}$/.test(n) || Number(n) === 0) return false;
  let sum = -Number(n[8]);
  for (let i = 0; i < 8; i++) sum += Number(n[i]) * (9 - i);
  return sum % 11 === 0;
}

// United States — SSN: no check digit, structural rules only
function isPlausibleSSN(v) {
  const m = clean(v).match(/^(\d{3})(\d{2})(\d{4})$/);
  if (!m) return false;
  const [, area, group, serial] = m;
  if (['078051120', '219099999', '457555462'].includes(area + group + serial)) return false;
  return area !== '000' && area !== '666' && area[0] !== '9' &&
         group !== '00' && serial !== '0000';
}

// Brazil — CPF: 11 digits, two mod 11 check digits
function isValidCPF(v) {
  const n = clean(v);
  if (!/^\d{11}$/.test(n) || /^(\d)\1{10}$/.test(n)) return false;
  const dv = (len) => {
    let sum = 0;
    for (let i = 0; i < len; i++) sum += Number(n[i]) * (len + 1 - i);
    return (sum * 10) % 11 % 10;
  };
  return dv(9) === Number(n[9]) && dv(10) === Number(n[10]);
}

// Brazil — CNPJ, alphanumeric too (since July 2026): value = ASCII code − 48
function isValidCNPJ(v) {
  const n = clean(v);
  if (!/^[0-9A-Z]{12}\d{2}$/.test(n) || n.startsWith('000000000000')) return false;
  const vals = [...n].map((c) => c.charCodeAt(0) - 48);
  const dv = (len) => {
    let sum = 0;
    for (let i = 0; i < len; i++) sum += vals[len - 1 - i] * ((i % 8) + 2);
    return (11 - (sum % 11)) % 11 % 10;
  };
  return dv(12) === vals[12] && dv(13) === vals[13];
}

// China — resident identity card: 18 characters, ISO 7064 MOD 11-2
function isValidChinaRIC(v) {
  const n = clean(v);
  if (!/^\d{17}[\dX]$/.test(n)) return false;
  const w = [7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2];
  let sum = 0;
  for (let i = 0; i < 17; i++) sum += Number(n[i]) * w[i];
  return '10X98765432'[sum % 11] === n[17];
}

// Australia — 9-digit TFN: weighted sum divisible by 11
function isValidTFN(v) {
  const n = clean(v);
  if (!/^\d{9}$/.test(n)) return false;
  const w = [1, 4, 3, 7, 5, 8, 6, 9, 10];
  let sum = 0;
  for (let i = 0; i < 9; i++) sum += Number(n[i]) * w[i];
  return sum % 11 === 0;
}

// United Kingdom — National Insurance number: format check only
function isValidNINO(v) {
  return /^(?!BG|GB|NK|KN|NT|TN|ZZ)[A-CEGHJ-PR-TW-Z][A-CEGHJ-NPR-TW-Z]\d{6}[A-D]$/.test(clean(v));
}

A few examples, all test numbers taken from the python-stdnum documentation rather than numbers belonging to real people:

isValidSIN('123-456-782');             // true
isValidDNI('54362315-K');              // true
isValidDNI('X-2482300W');              // true (NIE)
isValidSteuerID('36 574 261 809');     // true
isValidNIR('2 95 10 99 126 111 93');   // true
isValidBSN('1112.22.333');             // true
isValidCPF('390.533.447-05');          // true
isValidCNPJ('12.ABC.345/01DE-35');     // true (alphanumeric)
isValidChinaRIC('360426199101010071'); // true
isValidTFN('123 456 782');             // true
isValidNINO('QQ 12 34 56 C');          // false: QQ is never issued

Libraries and reference sources

If you work in Python, the most complete library is python-stdnum by Arthur de Jong. It handles more than two hundred formats of identity numbers, tax IDs, VAT numbers and bank codes from around the world, and every module cites the sources its rules come from. For the Italian codice fiscale, python-codicefiscale remains more specialized, since it also knows the full history of Italian municipalities.

For the official rules, the three best sources are:

  • The OECD TIN portal, with a fact sheet for every country taking part in the automatic exchange of tax information: the structure of the number, who issues it and where it appears on documents.
  • The European Commission’s TIN on Europa portal, for EU countries, with an online structure check.
  • VIES, for checking intra-EU VAT numbers.

Sources