BR-CO-13: Invoice total without VAT (BT-109) does not match the official formula
How to clear BR-CO-13 when the official CEN EN 16931 schematron rejects your invoice.
3 invoices/month free · Pro €12 (100) · Office €49 (1,000) · pay via Paddle, cancel any time.
BR-CO-13 · Fatal error
[BR-CO-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108).
What it means and how to fix it
The official rule: Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) minus Sum of allowances on document level (BT-107) plus Sum of charges on document level (BT-108).
Common causes
- BT-109 was copied from the line net total without applying a document-level allowance or charge.
- LineExtensionAmount (the sum of BT-131) is itself wrong, which also trips other BR-CO rules.
- Allowance and charge were swapped or subtracted twice.
The official test branches on whether AllowanceTotalAmount and ChargeTotalAmount are present, and rounds to two decimal places. This is an arithmetic rule, not tax advice. See also BR-CO-11 and BR-CO-16.
The source is the official CEN EN 16931 schematron (bundled in the XRechnung 3.0.2 configuration and in Peppol BIS 3.0). This is not tax advice.
<cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">200.00</cbc:LineExtensionAmount>
<cbc:AllowanceTotalAmount currencyID="EUR">15.00</cbc:AllowanceTotalAmount>
<cbc:ChargeTotalAmount currencyID="EUR">0.00</cbc:ChargeTotalAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">185.00</cbc:TaxExclusiveAmount>
<cbc:TaxInclusiveAmount currencyID="EUR">220.15</cbc:TaxInclusiveAmount>
<cbc:PayableAmount currencyID="EUR">220.15</cbc:PayableAmount>
</cac:LegalMonetaryTotal>Where it sits in UBL
Official test (UBL XPath): ((cbc:ChargeTotalAmount) and (cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = round((xs:decimal(cbc:LineExtensionAmount) + xs:decimal(cbc:ChargeTotalAmount) - xs:decimal(cbc:AllowanceTotalAmount)) * 10 * 10) div 100 )) or (not(cbc:ChargeTotalAmount) and (cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = round((xs:decimal(cbc:LineExtensionAmount) - xs:decimal(cbc:AllowanceTotalAmount)) * 10 * 10 ) div 100)) or ((cbc:ChargeTotalAmount) and not(cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = round((xs:decimal(cbc:LineExtensionAmount) + xs:decimal(cbc:ChargeTotalAmount)) * 10 * 10 ) div 100)) or (not(cbc:ChargeTotalAmount) and not(cbc:AllowanceTotalAmount) and (xs:decimal(cbc:TaxExclusiveAmount) = xs:decimal(cbc:LineExtensionAmount))). Element: LegalMonetaryTotal: BT-109 = Σ BT-131 (LineExtensionAmount) − BT-107 + BT-108.
Related rules
- BR-01 — Specification identifier (BT-24) is missing
- BR-03 — Invoice issue date (BT-2) is missing
- BR-04 — Invoice type code (BT-3) is missing
- BR-05 — Invoice currency code (BT-5) is missing
- BR-06 — Seller name (BT-27) is missing
- BR-09 — Seller country code (BT-40) is missing
- BR-15 — Amount due for payment (BT-115) is missing
- BR-CO-11 — Document-level allowance total (BT-107) does not equal the sum of allowance amounts (BT-92)
Source
CEN EN 16931 Schematron (ConnectingEurope). Facts checked 30.11.2026. Not legal or tax advice.
FAQ
Where is the sum of line nets?
In LegalMonetaryTotal as LineExtensionAmount, which must equal the sum of BT-131 (other BR-CO rules).
Why several branches?
BT-107 or BT-108 may be omitted when the corresponding allowance or charge is absent. The official XPath encodes those cases.
Fix errors automatically Validate the XML for free Pricing: 3 free, Pro €12, Office €49