# BR-CO-11

Quoted from a public specification. This page is not a validator, and it is not tax, legal, or accounting advice.

- Country: EU
- Syntax: UBL
- Severity: fatal
- Statement language: en
- Last verified: 2026-10-18

## Official statement

> Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92).

Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-CO-11/

Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL

Severity note: fatal, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-18.

## Plain-language reading

The sum of allowances on document level (BT-107) must equal the sum of the document-level allowance amounts (BT-92). The statement uses U+03A3 and ends with a period. The published test rounds that sum to two decimals. It also passes when the allowance total is absent and no document-level allowance is present. That absent branch is not() and does not call exists. The charge-indicator comparison is ChargeIndicator=false() with no space before =.

## What to change

Set BT-107 to the sum of the document-level allowance amounts (BT-92). Omit the allowance total only when the invoice has no document-level allowance.

## Illustration

Illustration of the condition in the official statement. Not an example published by the source.

**Fails the stated condition.** Document-level allowance amounts are 10 and 5, and BT-107 is 10.

**Passes the stated condition.** Those same amounts, and BT-107 is 15.

## Published context and test

Copied from the source. Not reimplemented on this page.

```
cac:LegalMonetaryTotal
```

```
xs:decimal(cbc:AllowanceTotalAmount) = (round(sum(../cac:AllowanceCharge[cbc:ChargeIndicator=false()]/xs:decimal(cbc:Amount)) * 10 * 10) div 100) or (not(cbc:AllowanceTotalAmount) and not(../cac:AllowanceCharge[cbc:ChargeIndicator=false()]))
```

[All rule notes](https://einvoicegoblin.com/rules/index.md) · [JSON](https://einvoicegoblin.com/rules/BR-CO-11.json) · [HTML](https://einvoicegoblin.com/rules/BR-CO-11/) · [llms.txt](https://einvoicegoblin.com/llms.txt) · [Invoice page](https://einvoicegoblin.com/) · [Privacy](https://einvoicegoblin.com/privacy.html)
