EN 16931 core rules (BR)Error
BR-37 Document level charge VAT category code missing
What BR-37 means
Every document level charge (BG-21) must contain the field “Document level charge VAT category code” (BT-102). 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-37
- Fill in “Document level charge VAT category 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-102.
- Create the invoice again and check the new file.
Where the fields are in the XML
BG-21Document level charges- UBL
cac:AllowanceCharge[cbc:ChargeIndicator='true']- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator='true']
BT-102Document level charge VAT category code- UBL
cac:AllowanceCharge/cac:TaxCategory/cbc:ID- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:CategoryTradeTax/ram:CategoryCode
UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.