BR-CO-21fatal

How to fix BR-CO-21

Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both.

What this rule checks

A document-level allowance has neither a reason text nor a reason code. At least one must be present so the allowance 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-97) and/or <cbc:AllowanceChargeReasonCode> (BT-98) to the document-level <cac:AllowanceCharge> where ChargeIndicator is false.

Related rules

Validate your invoice

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