EN 16931 core rules (BR)Error
BR-04 Invoice type code missing
What BR-04 means
The invoice must contain the field “Invoice type code” (BT-3). In your file it is missing or empty, so the invoice does not meet the standard.
Error: the invoice is not valid until this is fixed.
Common causes
- The field was left empty in the invoicing software.
- The software stores the information but does not write it into the XML export.
- The value only appears in the PDF or in a free text, not in the structured field.
How to fix BR-04
- Fill in “Invoice type code” in your invoicing software, on the invoice or in the master data it comes from.
- If the field is filled in but still reported, ask your software provider to export it as BT-3.
- Create the invoice again and check the new file.
Where the fields are in the XML
BT-3Invoice type code- UBL
cbc:InvoiceTypeCode- CII
rsm:ExchangedDocument/ram:TypeCode
UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.