French Invoice LID Validator
Validate the authenticity, format, and checksum of French Invoice LID.
About French Invoice LID Validation
The LID validator verifies the French clearance identifier syntax, inspecting the country prefix (FR), 4-digit issue year, mathematical validity of the 9-digit SIREN via Luhn checksum, and sequential key integrity.
All validation runs entirely in your local browser within milliseconds, ensuring strict GDPR compliance with zero confidential data transmission to external servers.
Anatomy & Structure of French Routing Identifier (LID)
The French LID utilized on Chorus Pro and PEPPOL links country, year and public entity:
| Position | Field | Length | Meaning & Rule | Example |
|---|---|---|---|---|
| 1 & 2 | Country Code | 2 letters | ISO 3166-1 alpha-2 identifier "FR" | FR |
| 3 to 6 | Fiscal Year | 4 digits | Invoice issuance tax year (e.g. 2026) | 2026 |
| 7 to 15 | Recipient SIREN | 9 digits | SIREN code of public buyer entity | 123456782 |
| 16 to 23 | Routing Hash | 8 chars | Technical routing code in Chorus Pro hub | ABCDEF12 |
Validation Rules of French Routing Identifier (LID)
Structural verification ensures country prefix, fiscal year, SIREN Luhn integrity, and hash length:
Validate(FR) && Validate(SIREN) && Hash.length == 8
- 1. Verify document starts with the "FR" country prefix.
- 2. Validate that the fiscal year comprises 4 valid calendar digits.
- 3. Extract 9-digit SIREN component and verify compliance with the Luhn checksum.
- 4. Confirm routing hash consists of exactly 8 alphanumeric characters.