Counterfoil rule note

BR-CO-23

Quoted from a public specification. This page is not a validator, and it is not tax, legal, or accounting advice.

Country
EU
Syntax
UBL
Severity
fatal
Last verified
2026-10-18

Official statement

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.

Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-CO-23/

Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL

Severity note: fatal, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-18.

Plain-language reading

Each Invoice line allowance (BG-27) must contain an Invoice line allowance reason (BT-139) or an Invoice line allowance reason code (BT-140), or both. The statement says "shall contain", not "shall have", and it ends with a period. The context starts with // and writes ChargeIndicator = false() with spaces around =. The published test is exists on the reason or exists on the reason code.

What to change

On each invoice line allowance, send an Invoice line allowance reason (BT-139), an Invoice line allowance reason code (BT-140), or both.

Illustration

Illustration of the condition in the official statement. Not an example published by the source.

Fails the stated condition. An invoice line allowance has neither a reason nor a reason code.

Passes the stated condition. An invoice line allowance has a reason and no reason code.

Published context and test

Copied from the source. Not reimplemented on this page.

//cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | //cac:CreditNoteLine/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
exists(cbc:AllowanceChargeReason) or exists(cbc:AllowanceChargeReasonCode)

All rule notes · JSON · Markdown · llms.txt · Invoice page · Privacy