Documentation · FR · Factur-X
How Arveleht handles French Factur-X.
France’s e-invoicing mandate switches on in two phases in 2026–2027. Arveleht already renders the exact CII payload the mandate requires; the delivery channel upgrades to a registered PDP the day the switch flips.
01 · What’s mandated
The DGFiP-published timeline (Art. 242 nonies A LPF / décret 2022-1299) sequences two dates:
- 1 September 2026 — all businesses must be able to receive e-invoices; large + medium ETI issuers must send.
- 1 September 2027 — VSE / SME issuers must also send.
- Transport. Invoices flow through a registered PDP (private broker) or the PPF (public free portal). Direct email delivery is not compliant after the switch-on date.
- Formats. The accepted envelope is Factur-X (PDF/A-3 + embedded CII), UBL, or CII. Factur-X is the default because the PDF remains human-readable.
02 · What Arveleht produces
gobl 0.309 ships UBL only; Factur-X requires CII (Cross Industry Invoice). We render the CII XML directly in TypeScript, lib/facturx/cii.ts, driven by the same form fields as the DE / BE pipeline:
- EN 16931 CII profile. UN/EDIFACT D16B namespace, Factur-X 1.07.2 CustomizationID (urn:cen.eu:en16931:2017). UNECE Recommendation 21 unit codes (HUR / C62 / LS / EA) mapped automatically from your form’s unit selection.
- Escaping. XML-dangerous characters escaped; CJK, Cyrillic, and full French / Polish diacritics preserved through the emitter + the downstream PDF embedder.
- Reverse-charge. The same “Reverse-charge” dropdown toggle flips the CategoryCode from S → AE, with the appropriate exemption note inlined.
- PDF/A-3 embed. A Python sidecar service wraps akretion/factur-x and embeds the CII XML into a PDF/A-3 container. The call is idle by default on new invoices; it runs if you need the PDF output format.
03 · What you do with the output
Until the September 2026 / 2027 dates, email delivery is compliant — you download the Factur-X PDF (or the bare CII XML) and email the buyer. After the switch-on date, Arveleht’s PDPRouter module hands the same CII to a registered PDP for routing. The render API stays identical; only the channel changes.
The current preview UI shows a small banner on every invoice: “FR is in preview. After 1 September 2027, a PDP will be required; email delivery remains valid until then.”
04 · What this doesn’t do yet
PDP registration is a multi-month process involving DGFiP certification. We will either partner with an existing PDP or register directly before the September 2026 switch-on; ETA announced as soon as we pick a path.
The visual PDF template for the human-readable layer of Factur-X is generic today — your logo + address block don’t auto- place. Landing in the next content pass.
Next: PL · KSeF FA(2) → · Back to docs index