EN 16931 core rules (BR)Error
BR-38 Reason for charge missing
What BR-38 means
Every document level charge (BG-21) must say what it is for: with a reason text (BT-104), a reason code (BT-105) or both.
Error: the invoice is not valid until this is fixed.
Common causes
- The charge was entered as an amount only.
- The software writes the reason only into the PDF.
How to fix BR-38
- Add a reason text such as “Shipping” or “Packaging”, or a code from the UNTDID 7161 list, for example FC for freight.
- 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-104Document level charge reason- UBL
cac:AllowanceCharge/cbc:AllowanceChargeReason- CII
ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:Reason
BT-105Document level charge 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:.