- WorkAlio
- Validation rules
- BR-CO-10
BR-CO-10: The invoice's line amounts must match its stated total
What this rule requires
The invoice's line amounts must match its stated total.
ExampleEN 16931 (UBL)
An invoice built like a valid one, except for this:
<cac:InvoiceLine>
<cbc:ID>1</cbc:ID>
<cbc:InvoicedQuantity unitCode="H87">1</cbc:InvoicedQuantity>
<cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount>
<cac:Item>
<cbc:Name>Widget</cbc:Name>
<cac:ClassifiedTaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>19.00</cbc:Percent>
<cac:TaxScheme>
<cbc:ID>VAT</cbc:ID>
</cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
<cac:Price>
<cbc:PriceAmount currencyID="EUR">100.00</cbc:PriceAmount>
</cac:Price>
</cac:InvoiceLine>
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">150.00</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">150.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">169.00</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">169.00</cbc:PayableAmount>
</cac:LegalMonetaryTotal>The validator says: The line amounts add up to 100.00, but the invoice states 150.00.
Official validation message
This is the official EN 16931 validation message for this rule, quoted verbatim in English from the validation artefacts below. It is not translated: a translation would no longer be the official text.
[BR-CO-10]-Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).Quoted verbatim and unmodified from the official EN 16931 validation artefacts published by CEN/TC 434, release validation-1.3.16 of April 13, 2026, licensed under the European Union Public Licence v. 1.2. Provided without warranty of any kind, including as to accuracy. Source and licence →
How to fix it
Check each line's net amount — together they should equal the line total the invoice states.
Frequently asked questions
- What does BR-CO-10 mean?
- The invoice's line amounts must match its stated total. The rule runs under EN 16931 (UBL), Peppol BIS 3.0, and XRechnung 3.0 (UBL).
- How do I fix BR-CO-10?
- Check each line's net amount — together they should equal the line total the invoice states.
Runs under these profiles
- EN 16931 (UBL)
- Peppol BIS 3.0
- XRechnung 3.0 (UBL)
Element path
This rule is not tied to a single business term — the path below is where the worked example demonstrates it.
- UBL /
Invoice/ cac:LegalMonetaryTotal/ cbc:LineExtensionAmount