fatal
EN 16931 (Math & Totals)
BR-CO-21
BR-CO-21: EN 16931 calculation & cross-field consistency (BG-20, BT-97, BT-98)
Related EN 16931 Business Terms:
BG-20
BT-97
BT-98
Description & Regulatory Context
Validation rule BR-CO-21 (severity: fatal) belongs to 'EN 16931 (Math & Totals)'. Enforces exact cent-level reconciliation between line amounts, VAT category breakdowns, and monetary totals. Applies to fields: BG-20, BT-97, BT-98.
Common Rejection Cause
An expected XML element, code-list value, or arithmetic constraint enforced by BR-CO-21 (BG-20, BT-97, BT-98) is missing, misplaced, or violates the target Factur-X / ZUGFeRD / XRechnung profile.
How to Fix in Your System
Run FacturLint 1-click PDF/A-3b repair if marked auto-repairable; otherwise update the source XML/ERP mapping for (BG-20, BT-97, BT-98) against the compliant snippet below and re-validate.
Compliant XML Snippet
<!-- Rule BR-CO-21 | Context: Allowances & Charges (BG-20 / BG-21 / AllowanceCharge) | Profiles: EN 16931, EXTENDED-CTC-FR, EXTENDED, BASIC, BASIC WL -->
<!-- EN 16931 Terms: BG-20, BT-97, BT-98 -->
<ram:ChargeIndicator>
<ram:ReasonCode>95</ram:ReasonCode>
<ram:Reason>Remise commerciale</ram:Reason>
</ram:ChargeIndicator>