What does BR-CO-11 mean?
The stated sum of allowances on document level must equal the sum of the individual allowance amounts.
Common causes of BR-CO-11
- A document level allowance was left out of the sum BT-107.
- Rounding difference between the individual amounts and the total.
- Line level allowances were wrongly included in ram:AllowanceTotalAmount, although only document level allowances count there.
How to fix BR-CO-11
- Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-107 along this XPath:
//ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:AllowanceTotalAmount - Apply the fix. The sum of allowances on document level (BT-107) must equal the sum of all individual allowance amounts (BT-92): BT-107 = sum of BT-92. Correct ram:AllowanceTotalAmount so that it maps exactly to the sum of all ram:ActualAmount from the document level allowances (ChargeIndicator=false). Usually the total BT-107 is wrong or one allowance was not counted.
- Validate again. Save the file and validate it again to check that BR-CO-11 is no longer reported.
The sum of allowances on document level (BT-107) must equal the sum of all individual allowance amounts (BT-92): BT-107 = sum of BT-92. Correct ram:AllowanceTotalAmount so that it maps exactly to the sum of all ram:ActualAmount from the document level allowances (ChargeIndicator=false). Usually the total BT-107 is wrong or one allowance was not counted.
//ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:AllowanceTotalAmountBefore / 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:ActualAmount>10.00</ram:ActualAmount>
</ram:SpecifiedTradeAllowanceCharge>
<ram:AllowanceTotalAmount>0.00</ram:AllowanceTotalAmount>
<ram:SpecifiedTradeAllowanceCharge>
<ram:ChargeIndicator><udt:Indicator>false</udt:Indicator></ram:ChargeIndicator>
<ram:ActualAmount>10.00</ram:ActualAmount>
</ram:SpecifiedTradeAllowanceCharge>
<ram:AllowanceTotalAmount>10.00</ram:AllowanceTotalAmount>
Frequent questions about BR-CO-11
Do line level allowances count towards BT-107?
What do I do about a one-cent difference?
Related error codes
Check BR-CO-11 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.