EN 16931 core rules (BR)Error
BR-33 Reason for allowance missing
What BR-33 means
Every document level allowance (BG-20) must say why it is granted: with a reason text (BT-97), a reason code (BT-98) or both. An amount alone is not enough.
Error: the invoice is not valid until this is fixed.
Common causes
- The discount was entered as an amount only.
- The software writes the reason only into the PDF.
How to fix BR-33
- Add a reason text such as “Discount” or “Loyalty bonus”, or a code from the UNTDID 5189 list, for example 95 for discount.
- Create the invoice again and check the new file.
Where the fields are in the XML
BG-20Document level allowances- UBL
cac:AllowanceCharge[cbc:ChargeIndicator='false']- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator='false']
BT-97Document level allowance reason- UBL
cac:AllowanceCharge/cbc:AllowanceChargeReason- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:Reason
BT-98Document level allowance reason code- UBL
cac:AllowanceCharge/cbc:AllowanceChargeReasonCode- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ReasonCode
UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.