LIVE 2026/2027 MANDATE ENGINE: Germany XRechnung 3.0.2 • ZUGFeRD 2.3 • Belgium/EU Peppol BIS 3.0 • Saudi ZATCA Phase 2 • UAE PINT
Home › Official Error Catalog › BR-CO-21
🇪🇺 EN 16931 Calculation Rules • SEVERITY: FATAL • BG-22 / BG-23 Calculation Rule BR-CO-21

How to Fix BR-CO-21: BG-22 / BG-23 Calculation Rule BR-CO-21

Mathematical cross-check BR-CO-21 failed between line items, allowances/charges, VAT subtotals, and LegalMonetaryTotal.

📐 Official Schematron Specification & XPath Diagnosis for BR-CO-21

BR-CO-21 — BLOCKING REJECTION
Official Specification Rule
[BR-CO-21] Mandatory EN 16931 cross-field mathematical calculation & VAT reconciliation rule BR-CO-21.
XPath: /ubl:Invoice/cac:LegalMonetaryTotal
Deterministic Remediation (How to Fix)
Recalculate document totals and VAT breakdowns to 2 decimal places so all BR-CO-21 equations balance to 0.00 discrepancy.
❌ REJECTED XML STRUCTURE (TRIGGERS BR-CO-21)
<!-- Mathematical rounding or tax code mismatch triggering BR-CO-21 -->
✅ COMPLIANT XML STRUCTURE (BR-CO-21 FIXED)
<!-- Reconciled 2-decimal LegalMonetaryTotal & TaxSubtotal (BR-CO-21 PASS) -->

⚡ Repair BR-CO-21 in Your Invoice Right Now:

Norme & Juridiction cible :

📄 Glissez-déposez votre facture PDF, XML ou CSV

Sans inscription pour analyser • Traitement confidentiel • Compatible Stripe, Pennylane, Sage, QuickBooks & Xero

🛠️ Éditeur Auto-Fix

1. Document Header & Routing Identifiers XRECHNUNG 3.0.2
2. Seller Party & Mandatory Contact (BG-4 / BG-6 / BR-DE-2) BT-27 .. BT-43
3. Buyer Party & Peppol Endpoint (BG-7 / R010) BT-44 .. BT-55
4. Line Items & EN 16931 Mathematical Reconciliation (BR-CO-10 .. 16) BG-25 / BG-22

🛡️ Rapport de conformité EN 16931

AUDITING...
Checking Official Schematron Rules...
Validating EN 16931, KoSIT, Peppol BIS 3.0 & ZATCA Phase 2
--%

Related EN 16931 Calculation Rules Validation Rules

BR-CO-03

BG-22 / BG-23 Calculation Rule BR-CO-03

[BR-CO-03] Mandatory EN 16931 cross-field mathematical calculation & VAT reconciliation rule BR-CO-03.

Fix BR-CO-03 →
BR-CO-04

BG-22 / BG-23 Calculation Rule BR-CO-04

[BR-CO-04] Mandatory EN 16931 cross-field mathematical calculation & VAT reconciliation rule BR-CO-04.

Fix BR-CO-04 →
BR-CO-05

BG-22 / BG-23 Calculation Rule BR-CO-05

[BR-CO-05] Mandatory EN 16931 cross-field mathematical calculation & VAT reconciliation rule BR-CO-05.

Fix BR-CO-05 →
BR-CO-06

BG-22 / BG-23 Calculation Rule BR-CO-06

[BR-CO-06] Mandatory EN 16931 cross-field mathematical calculation & VAT reconciliation rule BR-CO-06.

Fix BR-CO-06 →
BR-CO-07

BG-22 / BG-23 Calculation Rule BR-CO-07

[BR-CO-07] Mandatory EN 16931 cross-field mathematical calculation & VAT reconciliation rule BR-CO-07.

Fix BR-CO-07 →
BR-CO-08

BG-22 / BG-23 Calculation Rule BR-CO-08

[BR-CO-08] Mandatory EN 16931 cross-field mathematical calculation & VAT reconciliation rule BR-CO-08.

Fix BR-CO-08 →
BR-CO-09

BG-22 / BG-23 Calculation Rule BR-CO-09

[BR-CO-09] Mandatory EN 16931 cross-field mathematical calculation & VAT reconciliation rule BR-CO-09.

Fix BR-CO-09 →
BR-CO-11

BG-22 / BG-23 Calculation Rule BR-CO-11

[BR-CO-11] Mandatory EN 16931 cross-field mathematical calculation & VAT reconciliation rule BR-CO-11.

Fix BR-CO-11 →
BR-CO-12

BG-22 / BG-23 Calculation Rule BR-CO-12

[BR-CO-12] Mandatory EN 16931 cross-field mathematical calculation & VAT reconciliation rule BR-CO-12.

Fix BR-CO-12 →
INSTANT SELF-SERVE ACTIVATION • NO SALES CALLS

Zéro appel commercial. Conformité immédiate en libre-service.

Débloquez vos factures bloquées en 30 secondes. Pass unitaire ou abonnement mensuel sans engagement.

Single Emergency Fix

Pass Urgence Facture Unique

$19 paiement unique

Convertissez et corrigez 1 facture urgente immédiatement. Sans abonnement.

  • ✅ Convert 1 PDF/CSV or Repair 1 Rejected XML
  • ✅ Full KoSIT, EN 16931, Peppol & ZATCA Validation
  • ✅ Download Certified UBL 2.1 XML + Hybrid ZUGFeRD PDF/A-3
  • ✅ Includes ZATCA Phase 2 TLV QR & Leitweg-ID Check
Débloquer la facture ($19) →
For Tax Advisors & High Volume

Hub Cabinet Comptable & Multi-Sociétés

$199 / mois

SIRET/TVA illimités, API Webhook REST et portail de conformité fournisseurs.

  • ✅ Unlimited Client VAT / Tax Registration IDs
  • ✅ Up to 2,500 Conversions & Validations / month
  • ✅ Full REST Webhook API (Stripe, Make, Zapier, n8n, SAP)
  • ✅ Branded Supplier Compliance Gate Portal for Vendors
Activer le Hub Cabinet ($199/mois) →