LEI code structure and data fields
The LEI is a 20-character alphanumeric code defined by ISO 17442. It identifies one legal entity and never changes, even when the entity moves, renames itself or changes issuer. The code holds no information about the entity: country, legal form and name live in the reference data, so none of them can make the code wrong when they change.
On this page
The three parts of the 20 characters
ISO 17442 fixes the structure, so a code reads the same way whichever issued it. The example is GLEIF's own LEI.
506700GE1G29325QX363
Characters 1-4: issuer prefix
Identifies the LOU that first issued the code, so two issuers can never assign the same LEI. 5067 belongs to LEI-Suisse, run by the Swiss Federal Statistical Office. The prefix stays the same if the LEI later moves to another issuer.
Characters 5-18: entity part
Assigned by the LOU and carrying no meaning. In most LEIs characters 5 and 6 are "00", a convention from the original allocation rules, but software should not rely on it.
Characters 19-20: check digits
Two digits computed from the first 18 with ISO 7064 MOD 97-10. They catch nearly all typing errors, such as one wrong character or two swapped ones.
How the check digits work (ISO 7064)
The check uses the same MOD 97-10 method as the IBAN. To verify an LEI, replace each letter with two digits (A=10, B=11, up to Z=35), read the result as one large integer, and divide it by 97. A valid LEI leaves a remainder of 1. For GLEIF's code, 506700GE1G29325QX363, the remainder is 1; change any one character and it is not.
A passing check proves only that the code is well formed. It does not prove the LEI was ever issued, or that it is current. For that, the code has to be found in the Global LEI Index with an ISSUED status.
Level 1 and Level 2 data fields
The code is only a key. The reference data behind it is split into two levels, published in separate files.
Level 1: Who is Who
- Legal name: as recorded in the business registry, in the registry's language.
- Addresses: legal (registered) address and headquarters address.
- Legal jurisdiction: an ISO 3166 country or subdivision code.
- Legal form: an ISO 20275 code, such as 2JZ4 for a Swiss foundation.
- Registration authority: the registry's GLEIF code and the entity's number in it.
- Entity status: ACTIVE or INACTIVE.
- Registration data: status, initial registration, last update and next renewal dates, managing LOU, validation level.
Level 2: Who owns Whom
- Direct parent: the closest entity that consolidates this one in its accounts.
- Ultimate parent: the highest consolidating entity in the chain.
- Relationship type: such as IS_DIRECTLY_CONSOLIDATED_BY, or fund links such as IS_FUND-MANAGED_BY and IS_SUBFUND_OF.
- Reporting exceptions: the reason no parent is reported, such as NATURAL_PERSONS, NON_CONSOLIDATING or NO_KNOWN_PERSON.
Level 2 follows accounting consolidation, not shareholding, so a minority shareholder does not appear as a parent.
The Common Data File (CDF) format
publishes the Global LEI Index as the Golden Copy, several times a day, in the Common Data File (CDF) XML formats: LEI-CDF for Level 1 records and RR-CDF for Level 2 relationships, with a separate file for reporting exceptions. CSV and JSON versions are also available. Every LOU sends its records to GLEIF in the same formats, which is why a record looks the same whichever issuer manages it.
<!-- Abridged LEI-CDF record: GLEIF's own LEI, values as published in November 2026 -->
<lei:LEIRecord>
<lei:LEI>506700GE1G29325QX363</lei:LEI>
<lei:Entity>
<lei:LegalName xml:lang="de-CH">Global Legal Entity Identifier Foundation</lei:LegalName>
<lei:LegalAddress xml:lang="de-CH">...</lei:LegalAddress>
<lei:RegistrationAuthority>
<lei:RegistrationAuthorityID>RA000548</lei:RegistrationAuthorityID>
<lei:RegistrationAuthorityEntityID>CHE200595965</lei:RegistrationAuthorityEntityID>
</lei:RegistrationAuthority>
<lei:LegalJurisdiction>CH</lei:LegalJurisdiction>
<lei:LegalForm>
<lei:EntityLegalFormCode>2JZ4</lei:EntityLegalFormCode>
</lei:LegalForm>
<lei:EntityStatus>ACTIVE</lei:EntityStatus>
</lei:Entity>
<lei:Registration>
<lei:InitialRegistrationDate>2018-03-16T00:00:00Z</lei:InitialRegistrationDate>
<lei:LastUpdateDate>2026-04-23T05:00:06Z</lei:LastUpdateDate>
<lei:RegistrationStatus>ISSUED</lei:RegistrationStatus>
<lei:NextRenewalDate>2027-03-15T00:00:00Z</lei:NextRenewalDate>
<lei:ManagingLOU>506700LOLO7M6V0E4247</lei:ManagingLOU>
<lei:ValidationSources>FULLY_CORROBORATED</lei:ValidationSources>
</lei:Registration>
</lei:LEIRecord>Glossary (2)
- LOU
- Local Operating Unit: an organization accredited by GLEIF to issue and renew LEIs and to validate entity data against official sources.
- GLEIF
- Global Legal Entity Identifier Foundation: the Swiss foundation that accredits LEI issuers, checks their data quality and publishes the Global LEI Index.
Related guides
The same fields, read as a person checking a counterparty rather than as a data format, are covered in a separate guide.
Common questions
- How do I update my company address in the LEI database?
- How do I change the legal name associated with my LEI?
- Is there a fee to update my LEI data?
- How do I report a merger or acquisition?
- What if my company structure changes (Level 2 data)?
- How do I correct a mistake in my LEI record?