BR-S-08: Standard-Rated VAT Breakdown Taxable Amount Mismatch
For each distinct standard VAT rate (Category S, e.g. 19% and 7% in Germany), BT-116 MUST equal the exact sum of all lines with that rate minus matching document allowances plus matching charges.
Why This Error Happens
Mixed-rate invoices (e.g. 19% consulting + 7% books/food in Germany) accidentally merge all line totals into a single 19% ApplicableTradeTax block or forget to split document-level discounts by tax rate.
German 2025–2028 § 14 UStG Regulatory Context
German § 14 Abs. 4 Nr. 8 UStG strictly mandates separate VAT bases per tax rate. EN 16931 enforces this machine-readably via BR-S-08.
Invalid XML (Rejected)
FAIL<!-- Lines: 100.00 @ 19% and 50.00 @ 7%, but BG-23 merges into one 19% block -->
<ram:ApplicableTradeTax>
<ram:CalculatedAmount>28.50</ram:CalculatedAmount>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:BasisAmount>150.00</ram:BasisAmount>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
Fixed EN 16931 XML (Compliant)
PASS<ram:ApplicableTradeTax>
<ram:CalculatedAmount>19.00</ram:CalculatedAmount>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:BasisAmount>100.00</ram:BasisAmount>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
<ram:ApplicableTradeTax>
<ram:CalculatedAmount>3.50</ram:CalculatedAmount>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:BasisAmount>50.00</ram:BasisAmount>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>7.00</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>
Step-by-Step Fix Checklist
- Group all invoice lines by exact (CategoryCode, RateApplicablePercent) pairs.
- Emit one ApplicableTradeTax / TaxSubtotal block per unique pair.
- Ensure each block’s BT-116 equals the exact cent sum of its group lines (+/- group allowances/charges).
Frequently Asked Questions
Does Germany’s reduced 7% VAT use Category Code S?
Yes! Under EN 16931 UNCL5305, both German 19% and 7% VAT rates use CategoryCode "S" (Standard rated) — differentiated by RateApplicablePercent (19.00 vs 7.00).