What does BR-CO-13 mean?
Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108). This is a consistency rule of EN 16931: the amounts must add up, otherwise the invoice does not hold together.
Common causes of BR-CO-13
- The sum or consistency condition does not add up.
- A partial amount or a line was left out of the sum.
- Rounding was not carried out cleanly to 2 decimal places.
How to fix BR-CO-13
- Find the faulty spot in the XML. Open the XML of the invoice and go to field BT-109 along this XPath:
//ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxBasisTotalAmount - Apply the fix. Invoice total amount without VAT (BT-109) = sum of invoice line net amounts (BT-131) − allowances + charges on document level. Check how 'ram:TaxBasisTotalAmount' is calculated.
- Validate again. Save the file and validate it again to check that BR-CO-13 is no longer reported.
Invoice total amount without VAT (BT-109) = sum of invoice line net amounts (BT-131) − allowances + charges on document level. Check how 'ram:TaxBasisTotalAmount' is calculated.
//ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:TaxBasisTotalAmountFrequent questions about BR-CO-13
How do I fix BR-CO-13?
Related error codes
Check BR-CO-13 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.