Skip to main content

Factur-X Invoice — fr-FR (France)

A Paris design studio's invoice to a bookshop, set as an editorial page and carrying every mention a French invoice must, including the four the electronic-invoicing reform adds from September 2026: the client's SIREN, the delivery address, the nature of the operation and the option for VAT on debits.

  • The mentions obligatoires. SIRET, RCS and intra-community VAT numbers, the legal form and share capital, the late-payment penalties and the €40 recovery fee (art. L.441-10 of the Code de commerce).
  • The September 2026 mentions. The client's SIREN, the delivery address, the nature of the operation and the option for VAT on debits.
  • French conventions. TVA 20 %, 1 234,56 €, 28 mars 2026, IBAN and BIC, and the amount in words.
  • A Factur-X e-invoice. The same invoice as EN 16931 XML, attached as factur-x.xml and related as alternative, with factur-x-en16931 claimed beside PDF/A-3b (Conformance). The XML carries what France's reform asks of it from September 2026: both SIRENs, the parties' electronic addresses and the three payment notes.
  • Shared parts restyled. invoice-party, invoice-totals and invoice-payment are restyled, with icons in clipped discs.

Features used: PDF/A-3b, Factur-X (EN 16931) conformance, columns, tables, SVG, barcodes (datamatrix), attachments, data binding, components, headers and footers

Locale conventions on display: decimal comma + space thousands separator, day-month-year date format, TVA as the legally-required tax label, IBAN as the primary payment instrument.

How it's built​

Declaring the e-invoice​

The invoice XML is an ordinary attachment. The claim beside PDF/A-3b names the profile:

"metadata": {
"title": "Facture $data.invoice.number · $data.issuer.name",
"lang": "fr-FR",
"conformance": { "pdf": ["a-3b", "factur-x-en16931"] }
},
"attachments": [
{
"fileName": "factur-x.xml",
"filePath": "attachments/factur-x-fac-2026-0418.xml",
"description": "La facture au format Factur-X EN 16931 (CII) : les mêmes données que la page, pour la plateforme de réception",
"relationship": "alternative"
}
]

The renderer finds the XML by its name, factur-x.xml; mimeType is left out, so it is set to text/xml. alternative says the XML is another rendering of the same invoice, one of the three relationships the EN 16931 profile allows. The profile implies a-3b, which is named here for clarity. The claim is granted only once the finished file is checked to carry the XML as the profile requires; it is withheld, with the reason, when no attachment is named factur-x.xml, its relationship is not one the profile allows, or the PDF/A claim is withheld. The renderer checks how the file carries the XML, not what the XML says: the invoice data is the issuer's to produce, valid against EN 16931 (Conformance).

Shared components, restyled by name​

invoice-party, invoice-totals and invoice-payment take their values as params, and the document declares styles under the components' own names (ipBox, itDueLabel, itDueValue, ipayKey and the rest). A document's style wins over a component's of the same name, so the components draw in the invoice's navy and clay. Each payment row names its own style in its data, as "tone": "ipayKey" or "tone": "ipayValue", and the component's value cell takes "style": "$item.tone".

The icons are characters of the Font Awesome face, declared in fonts as vendored/fa-solid-900.otf and set in a [span, iconDisc] tag. The style cuts each to a disc:

"styles": {
"iconDisc": { "fontFamily": "fa", "fontSize": 5.5, "color": "#C0563A", "backgroundColor": "#F3E5DF", "padding": "2.5 2.5", "clipPath": "ellipse()", "fontWeight": "normal", "letterSpacing": 0 }
}