BR-CO-13: Invoice Total Without VAT Mismatch (BT-109)
TaxBasisTotalAmount / TaxExclusiveAmount (BT-109) MUST equal BT-106 (Line Total) minus BT-107 (Document Allowances) plus BT-108 (Document Charges).
Why This Error Happens
Applying a document-level discount or shipping fee in BT-109 without declaring AllowanceTotalAmount (BT-107) or ChargeTotalAmount (BT-108), or putting the wrong sign on allowances (which must be positive in BT-107).
German 2025–2028 § 14 UStG Regulatory Context
Automated tax audits under German GoBD and § 14 UStG require complete mathematical traceability from line net totals to the VAT taxable base.
Invalid XML (Rejected)
FAIL<ram:LineTotalAmount>500.00</ram:LineTotalAmount>
<ram:AllowanceTotalAmount>50.00</ram:AllowanceTotalAmount>
<!-- ERROR: 500.00 - 50.00 = 450.00, not 500.00 -->
<ram:TaxBasisTotalAmount>500.00</ram:TaxBasisTotalAmount>
Fixed EN 16931 XML (Compliant)
PASS<ram:LineTotalAmount>500.00</ram:LineTotalAmount>
<ram:AllowanceTotalAmount>50.00</ram:AllowanceTotalAmount>
<ram:TaxBasisTotalAmount>450.00</ram:TaxBasisTotalAmount>
Step-by-Step Fix Checklist
- Represent document allowances (BT-107) as positive numbers; the formula subtracts BT-107.
- Verify BT-109 = BT-106 - BT-107 + BT-108 using exact integer cents.
Frequently Asked Questions
Should BT-107 (AllowanceTotalAmount) be negative?
No! In EN 16931, BT-107 is a positive amount because the official equation is BT-109 = BT-106 - BT-107 + BT-108.