French Invoice LID Generator
Generate and format valid French Invoice LID for software testing and development.
About French Invoice LID
The LID (Clearance Number / Deposit Identifier) is the unique fiscal identifier generated by the French Portail Public de Facturation (PPF) or certified PDP partner platforms, instituted under the French mandatory B2B e-invoicing reform mandated by DGFiP.
The LID format integrates the country code (FR), issue year, the company registration number (9-digit SIREN validated via Luhn Modulo 10 algorithm), and an alphanumeric hash securing transaction uniqueness and anti-fraud traceability.
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:
- 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.