# BR-CO-10

> Sum of Invoice line net amount (BT-106) must equal the sum of all invoice line net amounts (BT-131). Recompute cac:LegalMonetaryTotal/cbc:LineExtensionAmount so it matches the total of every line's cbc:LineExtensionAmount.

Checked against Peppol BIS Billing 3.0 2026.5

Canonical: https://einvoicecheck.eu/rules/br-co-10

## Official rule text

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

## Why did my invoice fail BR-CO-10?

The sum of invoice line net amounts (BT-106), a document total, must equal the arithmetic sum of every individual invoice line net amount (BT-131). This guarantees the header line-total agrees with the lines and underpins the overall document totals.

## Common causes

- A line net amount omitted or double-counted when computing the header total.
- Rounding each line then summing differs from a separately-rounded header figure.
- Line net amounts that themselves don't reflect line allowances/charges, throwing off the total.
- Currency/decimal formatting inconsistencies between lines and the header.

## How do I fix it?

```
Set LineExtensionAmount to the exact sum of line net amounts. If lines are 100.00 and 40.00: <cac:LegalMonetaryTotal><cbc:LineExtensionAmount currencyID="EUR">140.00</cbc:LineExtensionAmount>...</cac:LegalMonetaryTotal>
```
