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

  1. Add a reason text such as “Shipping” or “Packaging”, or a code from the UNTDID 7161 list, for example FC for freight.
  2. Create the invoice again and check the new file.

Where the fields are in the XML

  • BG-21 Document level charges

    UBL
    cac:AllowanceCharge[cbc:ChargeIndicator='true']
    CII
    ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator='true']
  • BT-104 Document level charge reason

    UBL
    cac:AllowanceCharge/cbc:AllowanceChargeReason
    CII
    ram:ApplicableHeaderTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:Reason
  • BT-105 Document 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:.

Based on the EN 16931 business rules (CEN/TC 434) and the XRechnung 3.0 rules published by KoSIT. This page explains the rules in plain language and is not legal or tax advice.