Message

A credit note period end date MUST be later or equal to a credit note period start date

Context
//cac:InvoicePeriod
Test
(cbc:StartDate and cbc:EndDate) and (number(translate(cbc:StartDate,'-','')) <= number(translate(cbc:EndDate,'-','')))
Usage
/ ubl:CreditNote / cac:InvoicePeriod / cbc:EndDate