NormXML EN 16931-1

How to Fix EN 16931 Error BR-CO-10 (Sum of Invoice Line Net Amounts)

Track down line-item arithmetic mismatches where BT-106 LineTotalAmount does not equal the sum of all BT-131 line net totals.

INSPECTION PLATE // CII · UBL · PDF/A-3MODE: CLIENT-SIDE · 0 BYTES UPLOADED · VERIFY IN DEVTOOLS
DROP E-INVOICE FILE OR CLICK TO SELECT

Accepted payloads: .xml (XRechnung CII/UBL, Peppol BIS 3.0) or .pdf (ZUGFeRD 2.x, Factur-X PDF/A-3)

SAMPLES:

SPECIFICATION // OPTIONAL WORKFLOW AUTOMATION

Need batch bookkeeping or automated Stripe ZUGFeRD?

Single-file viewing, validation & CSV export stay free locally.

TIER 01 // BATCH

Batch Bookkeeping Export

€19/mo

Convert 50–500 incoming XRechnung / ZUGFeRD / Factur-X files into one clean DATEV, Xero, or QuickBooks CSV.

TIER 02 // STRIPE

Stripe Checkout → EU E-Invoice

€29/mo

Auto-generate PDF/A-3 ZUGFeRD & XRechnung from Stripe Checkout / Payment Links without paying 0.7% for Stripe Billing. Auto-fixes 1-cent rounding & Leitweg-ID.

TIER 03 // API

KoSIT & Schematron Validation API

€39/mo

Automated pre-send EN 16931, XRechnung CIUS, and Peppol BIS 3.0 validation API for SaaS platforms & ERPs.

SECTION 01

The BR-CO-10 summation formula

EN 16931 rule BR-CO-10 verifies that the document-level sum of invoice line net amounts (BT-106) equals the exact sum of every individual line net amount (BT-131). Discrepancies usually happen when an ERP sums unrounded line totals (e.g. 3 * 33.3333 = 100.00) while printing 2-decimal rounded line amounts (33.33 + 33.33 + 33.33 = 99.99).


                <!-- CII: BT-106 must equal sum of all BT-131 LineTotalAmount elements -->
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:LineTotalAmount>1200.00</ram:LineTotalAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
              

SECTION 02

How to resolve line-level rounding drift

Always round each invoice line net amount (BT-131) to 2 decimal places first, and then compute BT-106 by summing those already-rounded line values. Never sum 4-decimal raw floats and round only at the header.

FAQ // TECHNICAL REFERENCE

Frequently Asked Questions

Which XML elements does BR-CO-10 compare?
In CII it compares SpecifiedTradeSettlementHeaderMonetarySummation/LineTotalAmount against the sum of SpecifiedTradeSettlementLineMonetarySummation/LineTotalAmount. In UBL it compares LegalMonetaryTotal/LineExtensionAmount against the sum of InvoiceLine/LineExtensionAmount.