BR-CO-23fatal

How to fix BR-CO-23

Each Invoice line allowance (BG-27) shall contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both.

What this rule checks

A line-level allowance has neither a reason text nor a reason code. At least one must be present to describe why the allowance was applied.

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-139) and/or <cbc:AllowanceChargeReasonCode> (BT-140) to the line-level <cac:AllowanceCharge> where ChargeIndicator is false.

Related rules

Validate your invoice

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