UBL-SR-08: Invoice period shall occur maximum once
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-SR-08]-Invoice period shall occur maximum once
(count(cac:InvoicePeriod) <= 1)UBL-SR-08 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 requires that the cac:InvoicePeriod element occurs at most once within the invoice or credit note. The test checks count(cac:InvoicePeriod) <= 1, so a document fails when it contains more than one cac:InvoicePeriod element.
How to fix
Remove all but one cac:InvoicePeriod element under /ubl:Invoice or /cn:CreditNote. If only one invoice period is needed, keep a single cac:InvoicePeriod; if none is needed, omit it.
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-08.
Validate an invoice against these rules · All release changes