← All rule codes

BR-02

Error (blocking) EN 16931 (UBL)EN 16931 (CII)

Official rule text

[BR-02]-An Invoice shall have an Invoice number (BT-1).

What it means

Every invoice needs an invoice number in BT-1. The rule fires when cbc:ID (UBL) or rsm:ExchangedDocument/ram:ID (CII) is missing or contains only whitespace - typically a template placeholder that was never filled by the generator.

How to fix it

Populate BT-1 with the seller-assigned invoice number: cbc:ID directly under the Invoice root in UBL, ram:ID under rsm:ExchangedDocument in CII.

Business terms involved: BT-1

🇫🇷 En français

Toute facture doit porter un numéro dans le BT-1. La règle tombe quand cbc:ID (UBL) ou rsm:ExchangedDocument/ram:ID (CII) est absent ou ne contient que des espaces - typiquement une variable de template jamais remplie par le générateur.

Correction : Renseignez le BT-1 avec le numéro de facture attribué par le vendeur : cbc:ID directement sous la racine Invoice en UBL, ram:ID sous rsm:ExchangedDocument en CII.

Seeing BR-02 in a rejection?

Run your file through the free validator to see every violation at once — or let NormDrift watch your reference invoices so the next ruleset release never surprises you.