Message

End date of line period MUST be within invoice period.

Context
ubl-invoice:Invoice[cac:InvoicePeriod/cbc:EndDate]/cac:InvoiceLine/cac:InvoicePeriod/cbc:EndDate | ubl-creditnote:CreditNote[cac:InvoicePeriod/cbc:EndDate]/cac:CreditNoteLine/cac:InvoicePeriod/cbc:EndDate
Test
xs:date(text()) <= xs:date(../../../cac:InvoicePeriod/cbc:EndDate)
Usage
/ ubl:Invoice / cac:InvoiceLine / cac:InvoicePeriod / cbc:EndDate