BR-CO-11 BT-107 = Σ BT-92 (BG-20) EN 16931-1

BR-CO-11: Sum of Document Level Allowances Mismatch (BT-107)

Header AllowanceTotalAmount (BT-107) MUST strictly equal the exact cent sum of all document-level allowances (BG-20, ChargeIndicator = false, Σ BT-92).

Why This Error Happens

ERPs often write a discount amount directly into <ram:AllowanceTotalAmount> (BT-107) without emitting a matching <ram:SpecifiedTradeAllowanceCharge> (BG-20) block specifying the tax category and rate, breaking both BR-CO-11 and VAT breakdown reconciliation.

German 2025–2028 § 14 UStG Regulatory Context

Under EN 16931 and German § 14 UStG, document-level discounts directly reduce the VAT taxable base (BT-116). Without explicit BG-20 entries linked to a VAT category/rate, tax reduction cannot be audited.

Invalid XML (Rejected)

FAIL
<!-- ERROR: BT-107 declares 50.00 allowance, but no BG-20 SpecifiedTradeAllowanceCharge exists! -->
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:LineTotalAmount>500.00</ram:LineTotalAmount>
  <ram:AllowanceTotalAmount>50.00</ram:AllowanceTotalAmount>
  <ram:TaxBasisTotalAmount>450.00</ram:TaxBasisTotalAmount>
  <ram:TaxTotalAmount currencyID="EUR">85.50</ram:TaxTotalAmount>
  <ram:GrandTotalAmount>535.50</ram:GrandTotalAmount>
  <ram:DuePayableAmount>535.50</ram:DuePayableAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>

Fixed EN 16931 XML (Compliant)

PASS
<ram:SpecifiedTradeAllowanceCharge>
  <ram:ChargeIndicator><udt:Indicator>false</udt:Indicator></ram:ChargeIndicator>
  <ram:ActualAmount>50.00</ram:ActualAmount>
  <ram:Reason>Volume Discount 10%</ram:Reason>
  <ram:CategoryTradeTax>
    <ram:TypeCode>VAT</ram:TypeCode>
    <ram:CategoryCode>S</ram:CategoryCode>
    <ram:RateApplicablePercent>19.00</ram:RateApplicablePercent>
  </ram:CategoryTradeTax>
</ram:SpecifiedTradeAllowanceCharge>
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:LineTotalAmount>500.00</ram:LineTotalAmount>
  <ram:AllowanceTotalAmount>50.00</ram:AllowanceTotalAmount>
  <ram:TaxBasisTotalAmount>450.00</ram:TaxBasisTotalAmount>
  <ram:TaxTotalAmount currencyID="EUR">85.50</ram:TaxTotalAmount>
  <ram:GrandTotalAmount>535.50</ram:GrandTotalAmount>
  <ram:DuePayableAmount>535.50</ram:DuePayableAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>

Step-by-Step Fix Checklist

  1. Emit one document-level <ram:SpecifiedTradeAllowanceCharge> (CII) or <cac:AllowanceCharge> (UBL) with ChargeIndicator = false for each document discount (and per VAT rate if multi-rate).
  2. Keep BT-92 (ActualAmount) and BT-107 (AllowanceTotalAmount) as positive amounts; EN 16931 subtracts BT-107 in BT-109 = BT-106 - BT-107 + BT-108.
  3. Reduce the matching BG-23 VAT BasisAmount (BT-116) by the exact allowance amount and recalculate VAT via HALF_UP.

Frequently Asked Questions

How do I handle a document-level discount on a mixed 19% and 7% German invoice?

Split the discount into two separate BG-20 blocks — one with RateApplicablePercent 19.00 and one with 7.00 — whose exact cent sum equals BT-107.