Peppol BIS Billing 3.0.21 · UBL

UBL-SR-03: Despatch advice identifier shall occur maximum once

Peppol BIS Billing 3.0.21 · UBL

fatalschema

Original rule text

[UBL-SR-03]-Despatch advice identifier shall occur maximum once

Stored validation assertion
(count(cac:DespatchDocumentReference/cbc:ID) <= 1)

UBL-SR-03 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.

What this rule requires

The rule checks that the invoice or credit note contains at most one despatch advice identifier. In UBL this is the value in cac:DespatchDocumentReference/cbc:ID. A document fails when count(cac:DespatchDocumentReference/cbc:ID) is greater than 1, i.e. when more than one such identifier is present.

How to fix

Ensure the invoice or credit note has no more than one cac:DespatchDocumentReference/cbc:ID. If multiple DespatchDocumentReference elements exist, remove the extra cbc:ID elements or consolidate them so that only one remains.

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-SR-03.

Validate an invoice against these rules · All release changes