# BR-CO-11 Sum of document-level allowances must equal the total of all allowance amounts

The Sum of allowances on document level (BT-107) must equal the arithmetic sum of every Document level allowance amount (BT-92).

## Problem Description

The Sum of allowances on document level (BT-107) must equal the arithmetic sum of every Document level allowance amount (BT-92).

> **ERROR**: XRechnung 3.0

## Context and Significance

Document-level discounts must reconcile so that BR-CO-13 (the totals chain) can hold. A single forgotten allowance cascades into rejection of the entire totals block.

## Solution

Recompute BT-107 by summing every BT-92 in the document-level allowance group.

- validate
- convert

## Valid Examples

- Two BT-92 allowances of 5.00 and 10.00 yield BT-107 = 15.00
- No document-level allowances and BT-107 = 0.00 (or absent)

## Invalid Examples

- BT-107 = 10.00 but the only BT-92 in the document is 15.00
- BT-107 missing while BT-92 entries exist

## Technical Details

### Affected Fields
BT-107 Sum of allowances on document level, BT-92 Document level allowance amount

## Related Rules

- [BR-CO-10](/resources/kosit-validator-errors/br-co-10-sum-of-line-net-amounts-must-equal-line-total)
- [BR-CO-13](/resources/kosit-validator-errors/br-co-13-invoice-total-without-vat-must-match-totals-chain)

## Validation Tools

- [Official KoSIT Validator](https://erechnungsvalidator.service-bw.de/): Validate your XRechnung files against all BR-DE rules.
- [Convert PDF to XRechnung](/pdf-to-xrechnung): Automatic validation error fixes when converting.

## Related Resources

- [Official Specification](https://xeinkauf.de/xrechnung/)
- [Test Suite](https://github.com/itplr-kosit/xrechnung-testsuite)
- [Complete Error List](/resources/kosit-validator-errors): Overview of all German XRechnung validation rules.
