Peppol BIS Billing 3.0.21 · UBL

UBL-DT-18: Name attribute should not be present

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-DT-18]-Name attribute should not be present

Stored validation assertion
count(//@name) - count(//cbc:PaymentMeansCode/@name) <= 0

UBL-DT-18 is a warning rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected.

What this rule requires

The rule checks the number of @name attributes in the invoice or credit note. The test subtracts the count of @name on cbc:PaymentMeansCode from the total count of @name and requires the result to be 0 or less, so any name attribute outside cbc:PaymentMeansCode triggers the warning. Although the message says 'Name attribute should not be present', the test allows cbc:PaymentMeansCode/@name.

How to fix

Remove name attributes from all elements except cbc:PaymentMeansCode. If your system generates name attributes on other elements, change the mapping so they are not emitted. Since this is a warning, the document is not rejected, but it should be corrected for compliance.

Guidance on this rule. The original text above is authoritative.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to UBL-DT-18.

Validate an invoice against these rules · All release changes