# Peppol error BR-CO-10: fixing the sum of line net amounts

> BR-CO-10 fails when the header line total (BT-106) does not equal the sum of every invoice line net amount (BT-131). The test, causes and a GBP fix.

- Canonical URL: https://einvoices.uk/news/peppol-error-br-co-10-sum-of-line-amounts
- Published: 29 November 2026 (2026-11-29)
- Last updated: 29 November 2026 (2026-11-29) (not updated since publication)
- Author: Floris Lindenaar, Editor, e-invoicing expert (https://einvoices.uk/authors/floris-lindenaar)
- Publisher: einvoices.uk (https://einvoices.uk)
- Type: Guide
- Topics: Validation, Technical, Peppol
- Language: en-GB (UK English); covers the United Kingdom

## Sources

- [BR-CO-10 – EN16931 model bound to UBL, Peppol BIS Billing 3.0](https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-CO-10/)
- [CEN-EN16931-UBL.sch (Schematron version 1.3.16, Peppol BIS Billing 3.0)](https://docs.peppol.eu/poacc/billing/3.0/files/CEN-EN16931-UBL.sch)
- [cbc:LineExtensionAmount (cac:LegalMonetaryTotal) – Peppol BIS Billing 3.0](https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-LegalMonetaryTotal/cbc-LineExtensionAmount/)
- [PEPPOL-EN16931-R120 – Rules for Peppol BIS 3.0 Billing](https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-peppol/PEPPOL-EN16931-R120/)
- [PEPPOL-EN16931-UBL.sch (Peppol BIS Billing 3.0)](https://docs.peppol.eu/poacc/billing/3.0/files/PEPPOL-EN16931-UBL.sch)
- [Peppol BIS Billing 3.0 (May 2026 release)](https://docs.peppol.eu/poacc/billing/3.0/bis/)
- [Roadmap for e-invoicing implementation – GOV.UK](https://www.gov.uk/government/publications/e-invoicing-implementation-roadmap/roadmap-for-e-invoicing-implementation)

## Key points

- BR-CO-10 checks that the sum of invoice line net amounts (BT-106) equals the sum of every invoice line net amount (BT-131) on the invoice or credit note.
- In UBL, cac:LegalMonetaryTotal/cbc:LineExtensionAmount must equal the sum of every line's cbc:LineExtensionAmount, rounded to 2 decimals, with no tolerance.
- BR-CO-10 is flagged fatal in the CEN EN 16931 UBL Schematron used by Peppol BIS Billing 3.0, so the invoice is rejected until it is fixed.
- Negative lines on an invoice count with their minus sign, and line allowances are already inside each line net amount, so they must not be subtracted again.
- PEPPOL-EN16931-R120 checks each line with a 0.02 tolerance, while BR-CO-10 checks the header total exactly against the line amounts as sent.

---

BR-CO-10 means the **line total in your invoice header does not equal the sum of the invoice lines**. The sum of invoice line net amounts (BT-106) must be exactly the total of every invoice line net amount (BT-131), so the fix is to rebuild BT-106 by adding up the `cbc:LineExtensionAmount` values that are actually in the XML, signs included, and nothing else.

It is one of the simplest arithmetic rules in EN 16931, but it is fatal, and it often shows up alongside line or total errors because they share the same root cause.

## The official rule text and test

From the Peppol BIS Billing 3.0 rules page for BR-CO-10 (EN16931 model bound to UBL), the message is:

> Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).

The context is `cac:LegalMonetaryTotal` and the test is:

```
(xs:decimal(cbc:LineExtensionAmount) = xs:decimal(round(sum(//(cac:InvoiceLine|cac:CreditNoteLine)/xs:decimal(cbc:LineExtensionAmount)) * 10 * 10) div 100))
```

In the CEN-EN16931-UBL Schematron (version 1.3.16) the assertion carries `flag="fatal"`. The Peppol syntax page for `cac:LegalMonetaryTotal/cbc:LineExtensionAmount` describes the element as "Sum of all Invoice line net amounts in the Invoice. Must be rounded to maximum 2 decimals." and lists BR-CO-10 as fatal alongside BR-12 (BT-106 must be present) and BR-DEC-09 (at most 2 decimals).

## What the test actually does

Reading the published test step by step:

1. It finds every `cac:InvoiceLine` or `cac:CreditNoteLine` in the document and adds up their `cbc:LineExtensionAmount` values.
2. It rounds that sum to 2 decimals (multiply by 100, round, divide by 100).
3. It compares the result with `cac:LegalMonetaryTotal/cbc:LineExtensionAmount` as decimals. They must be equal.

Three things follow from that:

- **There is no tolerance.** Unlike PEPPOL-EN16931-R120, which allows 0.02 per line, or the VAT breakdown rules, BR-CO-10 fails on a one penny difference.
- **Only the line amounts count.** Document level allowances and charges are not part of BT-106. They are added later, in the total without VAT (BR-CO-13).
- **Signs count.** A negative line reduces the sum. Because each line net amount may have at most 2 decimals (BR-DEC-23), a valid set of lines always adds up to an exact 2-decimal figure.

The BIS calculation section gives the same formula in UBL terms: `cbc:LineExtensionAmount` in the header is the sum of `cac:InvoiceLine/cbc:LineExtensionAmount`.

## Worked example in GBP

A UK invoice with a line discount and a returned item shown as a negative line. All lines are standard rated at 20%.

| Line | Calculation | Net (BT-131) |
|---|---|---|
| 1 | 12 × £18.50 | £222.00 |
| 2 | 3 × £64.99 = £194.97, less 10% line allowance £19.50 | £175.47 |
| 3 | Return: −1 × £18.50 | −£18.50 |
| **BT-106** | 222.00 + 175.47 − 18.50 | **£378.97** |

There are no document level allowances or charges, so the total without VAT is also £378.97. VAT at 20% is £75.79 and the total with VAT £454.76.

```xml
<cac:LegalMonetaryTotal>
  <cbc:LineExtensionAmount currencyID="GBP">378.97</cbc:LineExtensionAmount>
  <cbc:TaxExclusiveAmount currencyID="GBP">378.97</cbc:TaxExclusiveAmount>
  <cbc:TaxInclusiveAmount currencyID="GBP">454.76</cbc:TaxInclusiveAmount>
  <cbc:PayableAmount currencyID="GBP">454.76</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine>
  <cbc:ID>2</cbc:ID>
  <cbc:InvoicedQuantity unitCode="C62">3</cbc:InvoicedQuantity>
  <cbc:LineExtensionAmount currencyID="GBP">175.47</cbc:LineExtensionAmount>
  <cac:AllowanceCharge>
    <cbc:ChargeIndicator>false</cbc:ChargeIndicator>
    <cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
    <cbc:Amount currencyID="GBP">19.50</cbc:Amount>
  </cac:AllowanceCharge>
  <!-- Item and VAT category omitted -->
  <cac:Price>
    <cbc:PriceAmount currencyID="GBP">64.99</cbc:PriceAmount>
  </cac:Price>
</cac:InvoiceLine>
<cac:InvoiceLine>
  <cbc:ID>3</cbc:ID>
  <cbc:InvoicedQuantity unitCode="C62">-1</cbc:InvoicedQuantity>
  <cbc:LineExtensionAmount currencyID="GBP">-18.50</cbc:LineExtensionAmount>
  <!-- Item and VAT category omitted -->
  <cac:Price>
    <cbc:PriceAmount currencyID="GBP">18.50</cbc:PriceAmount>
  </cac:Price>
</cac:InvoiceLine>
```

Line 1, the tax total, parties and other mandatory elements are left out for space. See our [full UK XML example](https://einvoices.uk/news/e-invoice-xml-example-uk) for a complete invoice. The item net price stays positive on the return line, because BIS 3.0 says the item net price (BT-146) shall not be negative; the minus sign goes on the quantity and the line amount, as in the BIS negative invoice example.

## Common causes, using the same invoice

These results are worked by applying the published BR-CO-10 test to variations of the example, not by running each file through a validator.

| What the sender did | BT-106 sent | Sum of lines | Result |
|---|---|---|---|
| Correct, as above | 378.97 | 378.97 | Passes |
| Return line added as a positive value | 415.97 | 378.97 | Fails (gap 37.00) |
| Line allowance subtracted again in the header | 359.47 | 378.97 | Fails (gap 19.50) |
| Header built from gross line values, before the line allowance | 398.47 | 378.97 | Fails (gap 19.50) |
| Return line left out of the header total | 397.47 | 378.97 | Fails (gap 18.50) |

The causes behind those rows:

- **Lines not summed from the XML.** BT-106 is calculated in one place (an order total, a ledger figure) and the lines in another. If a line is dropped, split or added during mapping, the two drift apart. Always total the lines you are about to send.
- **Credit and return lines.** On an invoice, Peppol BIS Billing 3.0 supports negative quantities and line amounts; its own example has lines of 2800 and -1500 and a header line total of 1300. Summing absolute values, or excluding negative lines, breaks BR-CO-10. On a credit note the BIS says the representation of the amount, "including its sign, is not affected" by the document type: its example credit note repeats the lines of 2800 and -1500 with the same signs, and BR-CO-10 sums them the same way. See [credit notes in Peppol](https://einvoices.uk/news/credit-notes-peppol-uk) and [correcting an e-invoice](https://einvoices.uk/news/cancel-or-correct-e-invoice-sent-in-error).
- **Line allowances applied twice.** BIS 3.0 defines the line net amount as "the net amount without VAT, and inclusive of line level allowance and charges". The discount is already inside BT-131, so BT-106 is simply the sum of the lines. If you also want an order-wide discount, send it as a document level allowance, which is handled by BR-CO-13, not BR-CO-10. See [allowance and charge codes](https://einvoices.uk/news/allowance-charge-reason-codes-peppol).
- **Rounding of line amounts.** Each line net amount must be rounded to 2 decimals, and BT-106 must be the sum of those rounded figures. Take 20 lines, each 1 × £2.4995. Each line shows £2.50, so the lines add up to £50.00. A system that totals the unrounded values gets £49.99 and puts that in the header, which fails by 0.01. Line amounts with 3 decimals fail BR-DEC-23 in their own right.

## How BR-CO-10 interacts with R120

[PEPPOL-EN16931-R120](https://einvoices.uk/news/peppol-error-r120-line-net-amount) checks each line: "Invoice line net amount MUST equal (Invoiced quantity * (Item net price/item price base quantity) + Sum of invoice line charge amount - sum of invoice line allowance amount". Its test uses `u:slack(..., 0.02)`, so a line may be up to 0.02 away from that calculation and still pass. It is also fatal in the Peppol Schematron.

BR-CO-10 does not recalculate anything from quantities and prices. It only adds up the line amounts as sent. That gives two practical points:

- If your system works out BT-106 from quantity × price rather than from the stated line amounts, small differences that R120 tolerates can still fail BR-CO-10.
- The errors can appear separately. In the gross-value row above, if the sender had also put £194.97 on line 2 instead of £175.47, the header would match the lines and pass BR-CO-10, but line 2 would fail R120 by 19.50. Fixing R120 by changing a line amount will then break BR-CO-10 unless the header is recalculated too.

## How to fix it

1. Make each line correct first: line net amount = quantity × (price ÷ base quantity) + line charges − line allowances, rounded to 2 decimals (R120, BR-DEC-23).
2. Set BT-106 to the sum of the `cbc:LineExtensionAmount` values in the XML, keeping minus signs, and round to 2 decimals.
3. Do not subtract line allowances again, and do not include document level allowances or charges in BT-106.
4. Recalculate the totals that depend on it: total without VAT (BR-CO-13), VAT breakdowns ([BR-S-08](https://einvoices.uk/news/peppol-error-br-s-08-vat-breakdown)), VAT total ([rounding](https://einvoices.uk/news/vat-rounding-peppol-br-co-17-uk)) and total with VAT ([BR-CO-15](https://einvoices.uk/news/peppol-validation-error-br-co-15)).
5. Validate a test file before sending. See [how to validate a Peppol invoice](https://einvoices.uk/news/validate-peppol-invoice-schematron).

## UK position

The rules above are the current Peppol BIS Billing 3.0 rules. The UK data standard for the April 2029 mandate is **NOT YET CONFIRMED**. The [roadmap](https://einvoices.uk/news/uk-e-invoicing-roadmap-published) says the government's approach "will build on established international standards, including those already used within the Peppol framework", that the UK "may therefore need to introduce a limited number of UK-specific requirements", and that a public technical consultation on the proposed UK standards will launch in spring 2027. Whether any UK change touches the line total rules is not known.

Related: [common Peppol validation errors](https://einvoices.uk/news/common-peppol-validation-errors), [what the 2029 mandate means](https://einvoices.uk/mandate).

## Frequently asked questions

### What does BR-CO-10 mean in Peppol?

The header line total does not match the lines. "Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131)." In UBL, LegalMonetaryTotal/LineExtensionAmount must equal the sum of every line's LineExtensionAmount.

### Is there a rounding tolerance for BR-CO-10?

No. The test rounds the sum of the line amounts to 2 decimals and then requires an exact match. A difference of one penny fails.

### Do negative invoice lines count towards BT-106?

Yes, with their minus sign. Peppol BIS Billing 3.0 allows negative quantities and line amounts on an invoice, and its own example adds a line of 2800 and a line of -1500 to give a line total of 1300.

### Does BR-CO-10 apply to credit notes?

Yes. The test sums cac:CreditNoteLine as well as cac:InvoiceLine, and runs on the credit note's cac:LegalMonetaryTotal.

---

How to cite: "Peppol error BR-CO-10: fixing the sum of line net amounts", einvoices.uk, 29 November 2026, https://einvoices.uk/news/peppol-error-br-co-10-sum-of-line-amounts

einvoices.uk is an independent publication and is not affiliated with HMRC or the UK Government. Nothing here is tax advice; check the sources and official GOV.UK guidance before acting.
