CRATEAPI

BR-FR-22

France · BR-FR (AFNOR/PDP) FATAL

This is a French BR-FR rule from the AFNOR XP Z12-012 standard - a national requirement for invoices exchanged through France's e-invoicing network (PDP platforms) under the September 2026 mandate. Typical French specifics: the seller's SIREN (scheme 0002), mandatory payment mentions (late penalties, recovery costs, discount terms), and the invoicing framework code. The official rule text below is in French - the referenced BT fields identify what to add or fix.

How to fix it
  1. Read the official text - each sub-rule names the exact business term (BT) involved.
  2. Check the seller identifiers: SIREN in CompanyID with schemeID="0002".
  3. Check the mandatory French invoice notes (BT-22 with PMT/PMD/AAB prefixes).
  4. Validate against the fr profile in our API to see all French findings at once.
Official rule text
[BR-FR-22/BT-34] : Si le traitement est BAR/B2B et que le type de document (cbc:InvoiceTypeCode) est en autofacture (389, 501, 500, 471, 473, 261, 502), alors le BT-34 (cbc:EndpointID du vendeur) doit commencer par le SIREN (cbc:ID[@schemeID='0002']) et le schemeID doit être égal à "0225". Valeurs actuelles : EndpointID="", schemeID="", SIREN="".

Developers also reach this page searching for a “French e-invoice validation error”, a “Factur-X bill rejected” message, or how to fix a failed PDP compliance check — it's the same issue, explained above.

In short, in English: If the treatment is BAR/B2B and the document type (cbc:InvoiceTypeCode) is a self-billing type (389, 501, 500, 471, 473, 261, 502), BT-34 (the seller's cbc:EndpointID) must start with the SIREN (cbc:ID[@schemeID='0002']) and its schemeID must be "0225".

Fix it faster

Paste your invoice XML in our free validator - every finding comes with its rule ID. Then generate, convert and render compliant invoices through one API.

Related rules