What does BR-CO-15 mean?
The total amount with VAT must be exactly the net amount plus the VAT amount. The rule checks this sum.
Common causes of BR-CO-15
- The gross amount (BT-112) was set by hand and does not match net plus VAT.
- The VAT total (BT-110) was changed after the gross amount had been calculated.
- Rounding error: line amounts and VAT were rounded differently.
How to fix BR-CO-15
- Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-112 along this XPath:
//ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmount - Apply the fix. The invoice total amount with VAT (BT-112, 'ram:GrandTotalAmount') must be the sum of the invoice total amount without VAT (BT-109, 'ram:TaxBasisTotalAmount') and the invoice total VAT amount (BT-110, 'ram:TaxTotalAmount'). Formula: BT-112 = BT-109 + BT-110. The wrong value is in 'ram:GrandTotalAmount' - recalculate it and enter the correct sum.
- Validate again. Save the file and validate it again to check that BR-CO-15 is no longer reported.
The invoice total amount with VAT (BT-112, 'ram:GrandTotalAmount') must be the sum of the invoice total amount without VAT (BT-109, 'ram:TaxBasisTotalAmount') and the invoice total VAT amount (BT-110, 'ram:TaxTotalAmount'). Formula: BT-112 = BT-109 + BT-110. The wrong value is in 'ram:GrandTotalAmount' - recalculate it and enter the correct sum.
//ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:GrandTotalAmountBefore / after: the XML example
This is the spot in question before and after the fix (Cross Industry Invoice, ZUGFeRD/Factur-X).
<ram:TaxBasisTotalAmount>1000.00</ram:TaxBasisTotalAmount>
<ram:TaxTotalAmount currencyID="EUR">190.00</ram:TaxTotalAmount>
<ram:GrandTotalAmount>1000.00</ram:GrandTotalAmount>
<ram:TaxBasisTotalAmount>1000.00</ram:TaxBasisTotalAmount>
<ram:TaxTotalAmount currencyID="EUR">190.00</ram:TaxTotalAmount>
<ram:GrandTotalAmount>1190.00</ram:GrandTotalAmount>
Frequent questions about BR-CO-15
Which value is wrong with BR-CO-15?
What is the difference between BT-109, BT-110 and BT-112?
Related error codes
Check BR-CO-15 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.