Mexico: company identifier formats (LEI)

Shape, check digit, accepted and refused examples and the API call for LEI in Mexico. 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.

LEI

FieldValue
RegisterGLEIF (LEI-registered entities); INEGI (DENUE directory of economic units)
ShapeX{18} C{2}
Check digitEnforced. ISO 17442, ISO 7064 MOD 97-10: 18 letters or digits and 2 check digits; each letter becomes 10 to 35 and the whole string, read as one integer, leaves 1 modulo 97. A company that only INEGI's DENUE directory lists has no LEI: its number is the API's own (E0042-0A1B2C3D, or U and the unit id, U1001), with no check digit.
Worked example (accepted)03P54FSI5G2DPST5NZ10
Normalised form03P54FSI5G2DPST5NZ10
Also accepted as input03p5-4fsi-5g2d-pst5-nz10
A one-character slip03P54FSI5G2DPST5NZ11 is refused
Regex (normalised form)^[0-9A-Z]{18}[0-9]{2}$
API callGET /companies/search?country=MX&company_number=03P54FSI5G2DPST5NZ10 · also taken by lei=
VAT numberThe register data holds no VAT number for this identifier.

Notes and scope

Mexican company records come from two sources, not the Mexican company register: LEI-registered entities (GLEIF) and the companies of INEGI's DENUE directory of economic units, a statistical directory that is not a list of all Mexican companies. The LEI finds an LEI holder; a DENUE-only company is found by the number of this API or by name.

Call it from code

curl "https://api.prometiam.com/functions/v1/risk-api/companies/search?country=MX&company_number=03P54FSI5G2DPST5NZ10" \
  -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.

Related pages

Sign up · 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 LEI checked?
ISO 17442, ISO 7064 MOD 97-10: 18 letters or digits and 2 check digits; each letter becomes 10 to 35 and the whole string, read as one integer, leaves 1 modulo 97. A company that only INEGI's DENUE directory lists has no LEI: its number is the API's own (E0042-0A1B2C3D, or U and the unit id, U1001), with no check digit.