# BR-CO-16 Amount due for payment must equal total with VAT minus paid plus rounding

Amount due for payment (BT-115) must equal Invoice total amount with VAT (BT-112) minus Paid amount (BT-113) plus Rounding amount (BT-114).

## Problem Description

Amount due for payment (BT-115) must equal Invoice total amount with VAT (BT-112) minus Paid amount (BT-113) plus Rounding amount (BT-114).

> **ERROR**: XRechnung 3.0

## Context and Significance

Prepayments and rounding adjustments are the typical source of failures here. ERP systems often forget to flow Paid amounts into the e-invoice export.

## Solution

Recompute BT-115 = BT-112 − BT-113 + BT-114, treating BT-113 and BT-114 as zero when absent.

- validate
- convert

## Valid Examples

- BT-112 = 119.00, BT-113 = 50.00, BT-114 = 0.00 → BT-115 = 69.00
- BT-112 = 100.00, BT-113 absent, BT-114 = 0.01 → BT-115 = 100.01

## Invalid Examples

- BT-115 = BT-112 even though BT-113 = 50.00 prepaid
- BT-115 ignores BT-114 rounding adjustment of 0.02

## Technical Details

### Affected Fields
BT-115 Amount due for payment, BT-112 Invoice total amount with VAT, BT-113 Paid amount, BT-114 Rounding amount

## Related Rules

- [BR-CO-15](/resources/kosit-validator-errors/br-co-15-invoice-total-with-vat-must-match)
- [BR-CO-25](/resources/kosit-validator-errors/br-co-25-positive-amount-due-needs-payment-due-date-or-terms)

## 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.
