BR-S-09 EN 16931 Math & Tax EU FATAL REJECTION
BR-S-09 — VAT Category Tax Amount Rounding Error (BT-117)
Rule Definition & Compliance Impact
Rule BR-S-09 requires VAT category tax amount (BT-117) to equal VAT category taxable amount (BT-116) multiplied by the VAT rate (BT-119 / 100), rounded to 2 decimal places at the category subtotal level.
Common ERP & Exporter Root Causes
Legacy accounting tools calculate and round VAT per individual line item and sum those rounded line taxes into BT-117. On multi-line invoices, line-by-line VAT rounding routinely diverges from category-level VAT calculation.
How to Fix This Violation
Compute VAT strictly at the BG-23 category level: BT-117 = roundHalfUp(BT-116 * (BT-119 / 100), 2), then sum all BT-117 subtotals into BT-110.
Non-Compliant vs. Compliant Payload Comparison
UN/CEFACT CII D16B (Factur-X / ZUGFeRD)
REJECTED
<!-- Summed line-by-line VAT (0.47 + 0.47 = 0.94) instead of header 4.90 * 19% = 0.93! -->
<ram:ApplicableTradeTax>
<ram:CalculatedAmount>0.94</ram:CalculatedAmount>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:BasisAmount>4.90</ram:BasisAmount>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
</ram:ApplicableTradeTax> COMPLIANT
<ram:ApplicableTradeTax>
<ram:CalculatedAmount>0.93</ram:CalculatedAmount>
<ram:TypeCode>VAT</ram:TypeCode>
<ram:BasisAmount>4.90</ram:BasisAmount>
<ram:CategoryCode>S</ram:CategoryCode>
<ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
</ram:ApplicableTradeTax>OASIS UBL 2.1 (XRechnung / Peppol / RO e-Factura)
REJECTED
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">4.90</cbc:TaxableAmount>
<!-- 4.90 * 0.19 = 0.931 -> rounds to 0.93, NOT 0.94 -->
<cbc:TaxAmount currencyID="EUR">0.94</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>19.00</cbc:Percent>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal> COMPLIANT
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">4.90</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">0.93</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>S</cbc:ID>
<cbc:Percent>19.00</cbc:Percent>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>