BR-CO-15: Invoice Total With VAT Mismatch (BT-112)
GrandTotalAmount / TaxInclusiveAmount (BT-112) MUST strictly equal Total Without VAT (BT-109) plus Total VAT Amount (BT-110).
Why This Error Happens
Often triggered when an ERP calculates gross prices per line and sums them (gross-first), while EN 16931 calculates VAT on the grouped net tax basis (net-first), creating a 1-cent gross discrepancy.
German 2025–2028 § 14 UStG Regulatory Context
Under EN 16931 & XRechnung 3.0, BT-112 must equal BT-109 + BT-110 exactly. Any 1-cent mismatch triggers immediate Schematron rejection.
Invalid XML (Rejected)
FAIL<ram:TaxBasisTotalAmount>19.99</ram:TaxBasisTotalAmount>
<ram:TaxTotalAmount currencyID="EUR">3.79</ram:TaxTotalAmount>
<!-- ERROR: 19.99 + 3.79 = 23.78, not 23.79 -->
<ram:GrandTotalAmount>23.79</ram:GrandTotalAmount>
Fixed EN 16931 XML (Compliant)
PASS<ram:TaxBasisTotalAmount>19.99</ram:TaxBasisTotalAmount>
<ram:TaxTotalAmount currencyID="EUR">3.80</ram:TaxTotalAmount>
<ram:GrandTotalAmount>23.79</ram:GrandTotalAmount>
Step-by-Step Fix Checklist
- Calculate VAT per rate from the grouped net basis using HALF_UP (19.99 × 19% = 3.7981 → 3.80).
- Set BT-110 = Σ BT-117 and BT-112 = BT-109 + BT-110 in integer cents.
- If a minor cash rounding exists, record it explicitly in BT-114 (RoundingAmount), never inside BT-112.
Frequently Asked Questions
Why did 19.99 EUR at 19% VAT fail my invoice?
19.99 × 0.19 = 3.7981. Truncating to 3.79 instead of HALF_UP rounding to 3.80 causes both a VAT calculation error and a 1-cent BR-CO-15 mismatch against 23.79.