UBL-SR-01: Contract identifier shall occur maximum once
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-SR-01]-Contract identifier shall occur maximum once.
(count(cac:ContractDocumentReference/cbc:ID) <= 1)UBL-SR-01 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 in a UBL Invoice or CreditNote, the element cac:ContractDocumentReference/cbc:ID occurs at most once. The test counts all such cbc:ID elements under cac:ContractDocumentReference; if the count is greater than 1, the rule reports a fatal error and the document is rejected.
How to fix
Check all cac:ContractDocumentReference elements in the invoice or credit note. Keep at most one cbc:ID element across them; remove or do not generate any additional contract identifiers. If the system currently outputs multiple contract identifier values, configure it to output only one or none.
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-01.
Validate an invoice against these rules · All release changes