Legal Entity Identifier (LEI) - Global

Detects ISO 17442 Legal Entity Identifiers (LEIs) — the 20-character uppercase alphanumeric codes issued under the Global LEI System (GLEIF) that uniquely identify legal entities in financial transactions. Structure: characters 1-4 are the LEI-issuer (LOU) prefix, characters 5-6 are reserved and set to "00", characters 7-18 are the entity-specific part, and characters 19-20 are numeric check digits (ISO 7064 MOD 97-10). Requiring the literal "00" at positions 5-6 and two digits at positions 19-20 makes the format far more distinctive than a generic 20-character alphanumeric run. Known recall cost: pre-2013 CICI-era legacy LEIs — interim identifiers issued before the "00" reservation, grandfathered into the GLEIF system and still live and checksum-valid — do not carry "00" at positions 5-6 and are NOT matched. This class includes major counterparties such as Microsoft (INR2EJN1ERAN0W5ZP974), Deutsche Bank (7LTWFZYICNSX8D621K86) and Apple (HWUPKR0MPOU8FGXBT394), so documents dealing with such entities' LEIs will be missed. This is a deliberate precision-over-recall trade-off: dropping the "00" anchor would widen the pattern to any 20-character uppercase alphanumeric run ending in two digits.

Type
regex
Engine
boost_regex
Confidence
high
Confidence justification
High confidence: the fixed 20-character length, uppercase-only charset, reserved "00" at positions 5-6 and numeric check-digit pair at positions 19-20 make coincidental collisions rare; the evidence-gated 85 tier is the recommended workhorse. The 65 tier is discovery-only because the MOD 97-10 checksum cannot be enforced in the exported SIT, so a bare structural match is not confirmed to be an issued LEI. Recall is knowingly reduced by the "00" requirement: live, checksum-valid pre-2013 CICI-era legacy LEIs without "00" at positions 5-6 — including major counterparties such as Microsoft, Deutsche Bank and Apple — are structurally excluded, a deliberate precision choice documented in the description.
Jurisdictions
global
Regulations
MiFID II, EMIR, Dodd-Frank Act
Frameworks
ISO 27001, ISO 27701, SOC 2
Data categories
business-identifier, financial
Scope
narrow
Risk rating
4
Platform compatibility
Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported

Pattern

(?<![A-Za-z0-9])[A-Z0-9]{4}00[A-Z0-9]{12}\d{2}(?![A-Za-z0-9])

Corroborative evidence keywords

LEI, Legal Entity Identifier, GLEIF, ISO 17442, counterparty, legal entity, data record, database record, record set, data extract, data export, database table, spreadsheet, data registry, registry entry, master data, bulk export, data dump

Proximity: 300 characters

Should match

Should not match

Known false positives

References