# BR-CO-12

> Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99).

Checked against Peppol BIS Billing 3.0 2026.5

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

## Official rule text

Sum of charges on document level (BT-108) = Σ Document level charge amount (BT-99).

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

The document-level total of charges (BT-108) must equal the sum of all individual document-level charge amounts (BT-99). This ensures the header "sum of charges" matches the document-level charge lines so the grand total is arithmetically correct.

## Common causes

- A document-level charge omitted from the ChargeTotalAmount.
- Line-level charges wrongly rolled into the document-level charge total.
- Rounding differences between summed charges and the header total.
- ChargeTotalAmount missing or zero while charges are present.

## How do I fix it?

```
Sum all document-level charges into the header: charges of 20.00 and 3.50 give <cac:LegalMonetaryTotal><cbc:ChargeTotalAmount currencyID="EUR">23.50</cbc:ChargeTotalAmount>...</cac:LegalMonetaryTotal>
```
