Counterfoil rule note

BR-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

An Invoice line (BG-25) shall have an Invoiced quantity unit of measure code (BT-130).

Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/BR-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

An invoice line (BG-25) must have an invoiced quantity unit of measure code (BT-130). The message starts with "An", not "Each". It says "shall have". The published test checks that the invoiced quantity or the credited quantity has a unit code. The context is the invoice line or the credit note line.

What to change

Add a unit code on the invoiced quantity, or on the credited quantity.

Illustration

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

Fails the stated condition. The invoiced quantity has no unit code, and the credited quantity has no unit code.

Passes the stated condition. The invoiced quantity has a unit code, or the credited quantity has a unit code.

Published context and test

Copied from the source. Not reimplemented on this page.

cac:InvoiceLine | cac:CreditNoteLine
exists(cbc:InvoicedQuantity/@unitCode) or exists(cbc:CreditedQuantity/@unitCode)

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