Counterfoil rule note

UBL-SR-47

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

When there are more than one payment means code, they shall be equal

Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/UBL-SR-47/

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

When more than one payment means code is present, those codes shall be equal. The statement has no period and says shall. It is 68 characters. The flag is fatal. The context is the same string as BR-CO-18. The published test does not wrap the count in parentheses. It counts distinct payment means codes and writes = and <= with a space on each side.

What to change

Use the same payment means code whenever more than one is sent.

Illustration

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

Fails the stated condition. The invoice has two different payment means codes.

Passes the stated condition. The invoice has one payment means code, or several copies of the same code.

Published context and test

Copied from the source. Not reimplemented on this page.

/ubl:Invoice | /cn:CreditNote
count(//cbc:PaymentMeansCode[not(preceding::cbc:PaymentMeansCode/. = .)]) <= 1

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