What does BR-CO-16 mean?
The amount due for payment must equal gross minus prepaid amount plus rounding amount. The rule checks this calculation.
Common causes of BR-CO-16
- A prepayment already made (BT-113) was not deducted from the amount due.
- The amount due (BT-115) was set equal to the gross amount, although BT-113 or BT-114 are filled.
- A rounding amount (BT-114) was stated but not included in the amount due.
How to fix BR-CO-16
- Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-115 along this XPath:
//ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmount - Apply the fix. The amount due for payment (BT-115, 'ram:DuePayableAmount') must result from the gross amount minus the amount already paid plus the rounding amount. Formula: BT-115 = BT-112 (gross) - BT-113 (prepaid amount, 'ram:TotalPrepaidAmount') + BT-114 (rounding amount, 'ram:RoundingAmount'). The wrong value is in 'ram:DuePayableAmount' - recalculate it.
- Validate again. Save the file and validate it again to check that BR-CO-16 is no longer reported.
The amount due for payment (BT-115, 'ram:DuePayableAmount') must result from the gross amount minus the amount already paid plus the rounding amount. Formula: BT-115 = BT-112 (gross) - BT-113 (prepaid amount, 'ram:TotalPrepaidAmount') + BT-114 (rounding amount, 'ram:RoundingAmount'). The wrong value is in 'ram:DuePayableAmount' - recalculate it.
//ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:DuePayableAmountBefore / after: the XML example
This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).
<ram:GrandTotalAmount>1190.00</ram:GrandTotalAmount>
<ram:TotalPrepaidAmount>100.00</ram:TotalPrepaidAmount>
<ram:DuePayableAmount>1190.00</ram:DuePayableAmount>
<ram:GrandTotalAmount>1190.00</ram:GrandTotalAmount>
<ram:TotalPrepaidAmount>100.00</ram:TotalPrepaidAmount>
<ram:DuePayableAmount>1090.00</ram:DuePayableAmount>
Frequent questions about BR-CO-16
Why does my amount due differ from the gross amount?
Where do I enter a prepayment in the CII XML?
Related error codes
Check BR-CO-16 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.