opyebInvoiceJP

InvoiceJP / Guides / Registration numbers: T+13 digits and the check digit

Registration numbers: T+13 digits and the check digit

How the number is built, the corporate-number check digit formula, and why a valid format is not proof that the business exists.

A qualified invoice issuer's registration number is the letter T followed by 13 digits. A company with a corporate number uses T plus that number; other taxable businesses, including sole proprietors and unincorporated associations, use T plus a 13-digit number. The number for a sole proprietor also carries a check digit, but it is not the individual number (My Number).

The first of the 13 digits is a check digit

A corporate number is 12 base digits plus one check digit. The check digit follows the formula in Article 2 of the Ministerial Ordinance on the Specification of Corporate Numbers:

check digit = 9 − (Σ Pn × Qn mod 9)
Pn: the digit at position n counted from the least significant digit of the base number
Qn: 1 when n is odd, 2 when n is even

Read the base number from the right, keep odd positions as they are, double even positions, add, divide by 9 and subtract the remainder from 9. The remainder is 0 to 8, so the check digit is always 1 to 9 and never 0. A corporate number therefore never begins with 0.

Worked examples

The NTA's own example uses the base number 700110005901. From the right, the even positions add to 13 and the odd positions to 11, so 13 × 2 + 11 = 37; 37 mod 9 = 1; 9 − 1 = 8, giving the corporate number 8700110005901.

Another example: base number 180301018771 gives a weighted sum of 53; 53 mod 9 = 8; 9 − 8 = 1, so the corporate number is 1180301018771.

Base number (12 digits)Computed check digitCorporate number (13 digits)
70011000590188700110005901
18030101877111180301018771

Change one digit of the base number and the check digit changes with it. Most typing errors show up as a mismatch here.

A valid format is not proof of existence

A matching check digit does not mean the business exists or is registered. Confirm the registration on the NTA public site for qualified invoice issuers, which searches by registration number and returns the name, registration date and any cancellation or expiry date.

The corporate number check has a known weakness: 0 and 9 carry the same weight in the calculation, so swapping a 0 for a 9 or a 9 for a 0 still matches. A format check catches most typing errors, but not all of them.

How to write it on an invoice

Write T1234567890123. A hyphen as in T-1234567890123 is accepted, and full-width or half-width characters are both allowed. Some customer systems accept only half-width T plus 13 digits, so a consistent half-width form without a hyphen is the safer habit.

A business that is not registered cannot issue a qualified invoice. Issuing a document that could be mistaken for one is prohibited and carries a penalty. If you are tax-exempt and issue an ordinary invoice, leave the registration number off and make clear that it is not a qualified invoice.

Checking a supplier's number

  1. Take the 13 digits after the T from the invoice you received.
  2. Check that the first digit matches the check digit computed from the other 12.
  3. If it matches, search the number on the NTA public site and compare the name and status.
  4. If the name differs, ask the supplier whether the registration changed or was cancelled.

This tool does steps 1 and 2 only. It runs offline and makes no lookup.

Checked 29 November 2026. Main sources: Ministerial Ordinance on the Specification of Corporate Numbers, Article 2; NTA “Structure of the corporate number”; NTA invoice Q&A 18; NTA “Understanding the invoice system”.

Build an invoice

More guides