This page is also available in your language:
CRATEAPI Error reference EN · FR · DE · RO

BR-FR-04

France · BR-FR (AFNOR/PDP) FATAL

Official rule text

[BR-FR-04/BT-3] : Le code type de document (cbc:InvoiceTypeCode") n’est pas autorisé. Valeurs acceptées : 380, 389, 393, 501, 386, 500, 384, 471, 472, 473, 261, 262, 381, 396, 502, 503. Valeur actuelle : "". Veuillez utiliser un code conforme à la liste autorisée. Les autres codes définis dans la norme UNTDID 1001 ne doivent pas être utilisés.

[BR-FR-04/EXT-FR-FE-02] : Le code type de document référencé (cbc:DocumentTypeCode) n’est pas autorisé. Valeurs acceptées : 380, 389, 393, 501, 386, 500, 384, 471, 472, 473, 261, 262, 381, 396, 502, 503. Valeur actuelle : "". Veuillez utiliser un code conforme à la liste autorisée.

[BR-FR-04/EXT-FR-FE-137] : Le code type de document référencé en ligne (cbc:DocumentTypeCode) n’est pas autorisé. Valeurs acceptées : 380, 389, 393, 501, 386, 500, 384, 471, 472, 473, 261, 262, 381, 396, 502, 503. Valeur actuelle : "". Veuillez utiliser un code conforme à la liste autorisée.

What this error means

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 above 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.

Related rules

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.