Counterfoil rule note

UBL-DT-18

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
warning
Last verified
2026-10-18

Official statement

Name attribute should not be present

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

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

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

Plain-language reading

A name attribute should not be present. The statement has no period and says should not. It does not say shall. It is 36 characters. The flag is warning. The context is the same string as BR-CO-18. The published test is count(//@name) - count(//cbc:PaymentMeansCode/@name) <= 0. It writes <= with a space on each side. It calls count twice and subtracts the name attribute on PaymentMeansCode. It does not call exists.

What to change

Leave name attributes off the document, except on PaymentMeansCode.

Illustration

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

Fails the stated condition. The document includes a name attribute on an element other than PaymentMeansCode.

Passes the stated condition. A name attribute appears only on PaymentMeansCode, or the document has no name attribute.

Published context and test

Copied from the source. Not reimplemented on this page.

/ubl:Invoice | /cn:CreditNote
count(//@name) - count(//cbc:PaymentMeansCode/@name) <= 0

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