UBL-SR-39: Project reference shall occur maximum once
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-SR-39]-Project reference shall occur maximum once.
(count(cac:ProjectReference/cbc:ID) <= 1)UBL-SR-39 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected.
What this rule requires
The rule requires that a UBL Invoice or CreditNote contains at most one project reference ID. The test counts every cac:ProjectReference/cbc:ID element; if more than one such ID occurs anywhere in the document, the document fails validation with severity fatal.
How to fix
In the XML, ensure there is at most one cbc:ID inside cac:ProjectReference. If multiple project reference IDs are present, remove or consolidate them so that the total count of cac:ProjectReference/cbc:ID is 0 or 1.
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-39.
Validate an invoice against these rules · All release changes