How to fix BR-FR-04
Le code type de document n’est pas autorisé. Valeurs acceptées : 380, 389, 393, 501, 386, 500, 384, 471, 472, 473, 261, 262, 381, 396, 502, 503.
What this rule checks
The invoice type code (BT-3) must be one of the codes France allows: 380, 389, 393, 501, 386, 500, 384, 471, 472, 473, 261, 262, 381, 396, 502, 503. Other UNTDID 1001 codes that EN 16931 accepts, such as 383 (debit note) or 326 (partial invoice), are not allowed. The type codes of referenced invoices follow the same list.
How to fix it
Use 380 for a commercial invoice, 381 for a credit note, 384 for a corrective invoice, 386 for a prepayment invoice or 389 for a self-billed invoice (see the list for the other cases). UBL: cbc:InvoiceTypeCode or cbc:CreditNoteTypeCode. CII: rsm:ExchangedDocument/ram:TypeCode.
Related rules
Rule sets
BR-FR-04 is in these rule sets. Each page lists all its rules and the pinned version.
Validate your invoice
Upload your corrected invoice to check it passes BR-FR-04 and all other EN 16931 and the French rules (BR-FR) rules. Free, instant, no signup.