CRATEAPI

BR-FR-CO-05

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-CO-05/BT-3] : Si le type de facture (BT-3) est un avoir (261, 381, 396, 502, 503), alors : - soit au moins une référence à une facture antérieure (BT-25) avec sa date (BT-26) doit être présente au niveau entête, - soit chaque ligne (BG-25) doit contenir une référence à une facture antérieure (EXT-FR-FE-136) avec sa date (EXT-FR-FE-138). Références entête trouvées : . Nbline : LineREF : N° Facture :

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 invoice type (BT-3) is a credit note (261, 381, 396, 502, 503), either at least one preceding invoice reference (BT-25) with its date (BT-26) must be present at header level, or each line (BG-25) must contain a line-level preceding invoice reference (EXT-FR-FE-136) with its date (EXT-FR-FE-138).

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