BR-CO-22fatal

How to fix BR-CO-22

Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both.

What this rule checks

A document-level charge has neither a reason text nor a reason code. At least one must be present so the charge can be understood and categorized.

Referenced business terms

This rule references the following EN 16931 business terms. Click through for the full definition, the UBL XPath and the cardinality.

How to fix it

Add <cbc:AllowanceChargeReason> (BT-104) and/or <cbc:AllowanceChargeReasonCode> (BT-105) to the document-level <cac:AllowanceCharge> where ChargeIndicator is true.

Related rules

Validate your invoice

Upload your corrected invoice to check it passes BR-CO-22 and all other EN 16931 and Peppol BIS 3.0 rules. Free, instant, no signup.