LEI Validation
lei_validateValidates a 20-character Legal Entity Identifier (ISO 17442) with the ISO 7064 mod-97 check digits.
KYC and MiFID reporting reject an LEI that fails the check digits before anyone looks the entity up. The algorithm is the same family as IBAN (ISO 7064 mod 97-10) over all 20 characters; the remainder must be 1. The first 4 characters are the issuing LOU prefix, the next 14 the entity, the last 2 the check digits. This does not call GLEIF. A checksum-valid LEI can be lapsed, merged, or never issued. Use GLEIF's free API if you need "this legal entity is currently registered".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lei | Yes | Legal Entity Identifier, 20 characters. |