Counterfoil rule note
Quoted from a public specification. This page is not a validator, and it is not tax, legal, or accounting advice.
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.
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.
Add a unit code on the invoiced quantity, or on the credited quantity.
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.
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