What does BR-41 mean?
Every invoice line allowance must state its amount. Otherwise the line cannot be calculated.
Common causes of BR-41
- The invoice line allowance was transmitted without ram:ActualAmount.
- The amount is negative or carries the wrong sign in the XML.
- Only a discounted unit price was calculated instead of an allowance, without showing the allowance as its own block.
How to fix BR-41
- Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-136 along this XPath:
//ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ActualAmount - Apply the fix. Every invoice line allowance (BG-27) needs an amount (BT-136). Add the element ram:ActualAmount with the positive allowance amount to the ram:SpecifiedTradeAllowanceCharge of the line (with ChargeIndicator=false).
- Validate again. Save the file and validate it again to check that BR-41 is no longer reported.
Every invoice line allowance (BG-27) needs an amount (BT-136). Add the element ram:ActualAmount with the positive allowance amount to the ram:SpecifiedTradeAllowanceCharge of the line (with ChargeIndicator=false).
//ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge/ram:ActualAmountBefore / after: the XML example
This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).
<ram:SpecifiedTradeAllowanceCharge>
<ram:ChargeIndicator><udt:Indicator>false</udt:Indicator></ram:ChargeIndicator>
<ram:Reason>Mengenrabatt</ram:Reason>
</ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeAllowanceCharge>
<ram:ChargeIndicator><udt:Indicator>false</udt:Indicator></ram:ChargeIndicator>
<ram:ActualAmount>2.50</ram:ActualAmount>
<ram:Reason>Mengenrabatt</ram:Reason>
</ram:SpecifiedTradeAllowanceCharge>
Frequent questions about BR-41
Must the allowance amount be positive?
How does the allowance affect the line amount?
Related error codes
Check BR-41 automatically
Instead of digging through the XML by hand you can validate your ZUGFeRD or XRechnung file online – upload the PDF or the XML and you get every error with rule ID, affected field, fix and XPath, as a readable report or as JSON through the API.