einvoice / EN 16931 / XRechnung rule reference
BR-CO-13
Invoice total without VAT (BT-109) = Σ line net (BT-131) − document allowances (BT-107) + document charges (BT-108).
„Gesamtbetrag der Rechnung ohne Umsatzsteuer“ (BT-109) = Σ „Nettobetrag der Rechnungsposition“ (BT-131) - „Summe der Nachlässe auf Dokumentenebene“ (BT-107) + „Summe der Zuschläge auf Dokumentenebene“ (BT-108).
Deutsche Fassung: Übersetzung der gleichen BT/BG-Semantik (translation — not the official assert).
- Requires
- 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).
- Business terms
BT-107BT-108BT-109BT-131- Syntax
- Binds the UBL-2.1 Invoice / CreditNote syntax and the UN/CEFACT-CII syntax
- Location (UBL-2.1 path)
cac:LegalMonetaryTotal- Fix
- Correct the calculated amount at `cac:LegalMonetaryTotal` so that 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).
- Fix (Deutsch)
- Korrigieren Sie den berechneten Betrag bei `cac:LegalMonetaryTotal`, sodass gilt: „Gesamtbetrag der Rechnung ohne Umsatzsteuer“ (BT-109) = Σ „Nettobetrag der Rechnungsposition“ (BT-131) - „Summe der Nachlässe auf Dokumentenebene“ (BT-107) + „Summe der Zuschläge auf Dokumentenebene“ (BT-108).
- Severity
- fatal
- Provenance source
en16931-ubl- Provenance assert
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).
The Location above is a UBL-2.1 path, and no UN/CEFACT-CII path for this rule is published here; Fix and Fix (Deutsch), verbatim from remediation_catalog.json and not reworded here; the UN/CEFACT-CII binding of this rule is differentially proven against the official CEN EN 16931 1.3.16 Schematron.
Everything here is free and open source — pick up whatever helps, at your own pace:
- Licensing — Apache-2.0 for everyone, including closed-source embedding; an optional $29 / $290 commercial license adds support and rule-corpus update notices.
- German remediation (
--lang de) — the German fix for this rule is in the section above; the CLI surfaces it in place of the English message with--lang de. - Quickstart / free on-ramp — the README, a copy-paste CI-gate recipe, and a 5-minute worked walkthrough.