BR-42: Invoice line allowance reason (BT-139/BT-140) is missing
Official message
[BR-42] Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140).
[BR-42] Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140).
[BR-42] Each Invoice line allowance (BG-27) shall have an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140).
- Severity
- Error The invoice is invalid and may be rejected by the recipient.
- Applies to
- EN 16931 (CII), EN 16931 (UBL), Factur-X / ZUGFeRD EN 16931
- Affected fields
- BG-27, BT-139, BT-140
What does this mean?
Every allowance on an invoice line (BG-27) must have a reason: as text (Invoice line allowance reason, BT-139) or as a code (Invoice line allowance reason code, BT-140). Both are missing for at least one line allowance.
Typical causes
The line discount was output with its amount only.
The reason only appears in the item description or a line note.
How to fix the error
State a reason as text for every line allowance, e.g. "Volume discount", and/or a code from the UNTDID 5189 list, e.g. 95 (discount). If both are given, they must have the same meaning.
CII: ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:Reason or ram:ReasonCode, UBL: cac:InvoiceLine/cac:AllowanceCharge/cbc:AllowanceChargeReason or cbc:AllowanceChargeReasonCode.
Generate and validate the invoice again.
In E-Rechnungsfreund
In the invoice form ("Experte" view), section "Rechnungspositionen (BG-25)" (invoice lines), tab "Zu-/Abschläge (BG-27/28)" (line allowances and charges) of the line, fill in the field "Begründung (BT-139/144)" (reason) and/or select a reason in the code selection next to it for every entry "Abschlag (BG-27)" (allowance).
Example
Wrong
<ram:SpecifiedTradeAllowanceCharge>
<ram:ChargeIndicator>
<udt:Indicator>false</udt:Indicator>
</ram:ChargeIndicator>
<ram:ActualAmount>20.00</ram:ActualAmount>
</ram:SpecifiedTradeAllowanceCharge>
Correct
<ram:SpecifiedTradeAllowanceCharge>
<ram:ChargeIndicator>
<udt:Indicator>false</udt:Indicator>
</ram:ChargeIndicator>
<ram:ActualAmount>20.00</ram:ActualAmount>
<ram:ReasonCode>95</ram:ReasonCode>
<ram:Reason>Volume discount</ram:Reason>
</ram:SpecifiedTradeAllowanceCharge>
For developers: test expression per syntax
EN 16931 (CII) (CII)
Context: //ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'false']
(../ram:Reason) or (../ram:ReasonCode)
EN 16931 (UBL) (UBL)
Context: //cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
exists(cbc:AllowanceChargeReason) or exists(cbc:AllowanceChargeReasonCode)
Factur-X / ZUGFeRD EN 16931 (CII)
Technical ID in the source: FX-SCH-A-000214
Context: //ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ChargeIndicator[udt:Indicator = 'false']
(../ram:Reason) or (../ram:ReasonCode)
Related validation rules
Last updated:
Explanation of the validation rule, not legal or tax advice.