Japan: company identifier formats (Corporate number)

Shape, check digit, accepted and refused examples and the API call for Corporate number in Japan. Every example on this page is run through the same validators as the free identifier validator, so a value shown as accepted is a value the validator accepts.

Corporate number (法人番号)

FieldValue
RegisterNational Tax Agency
ShapeC N{12}
Check digitEnforced. 13 digits; the first is the check digit over the 12-digit base: 9 minus (the sum of the base digits, weighted 1 and 2 alternately from the right, mod 9).
Worked example (accepted)1180301018771
Normalised form1180301018771
Also accepted as inputT1180301018771
A one-character slip1180301018772 is refused
Regex (normalised form)^[1-9][0-9]{12}$
API callGET /companies/search?country=JP&company_number=1180301018771
VAT numberThe register data holds no VAT number for this identifier.

Notes and scope

A T in front and full-width digits are read; the bare 12-digit base is refused. Companies only; government bodies and associations are never served.

Call it from code

curl "https://api.prometiam.com/functions/v1/risk-api/companies/search?country=JP&company_number=1180301018771" \
  -H "Authorization: Bearer YOUR_API_KEY"

Shape notation: N digit · L letter · X digit or letter · C check digit or character · {n} repeat n times.

A valid shape and check digit prove that a number is well-formed, not that a company holds it. Only a lookup in the register answers that.

Source and credit

Register data that the API serves for Japan carries this credit:

Source: National Tax Agency Corporate Number Publication Site (https://www.houjin-bangou.nta.go.jp/). Edited and processed by Prometiam; not a product of the National Tax Agency or the State.

Related pages

Start your 14-day free trial · API documentation

The free trial lasts 14 days and includes 500 credits. A card is required and nothing is charged during the trial; it then continues as Starter (EUR 9.99/month) unless you cancel.

Frequently asked questions

How is the Corporate number checked?
13 digits; the first is the check digit over the 12-digit base: 9 minus (the sum of the base digits, weighted 1 and 2 alternately from the right, mod 9).