Message

[PEPPOL-T125-R022] Start date must be earlier or equal to end date

Context
cac:EstimatedDespatchPeriod
Test
not(cbc:EndDate) or translate(cbc:StartDate,'-','') <= translate(cbc:EndDate,'-','')
Usage
/ ubl:Waybill / cac:Shipment / cac:Delivery / cac:Despatch / cac:EstimatedDespatchPeriod / cbc:StartDate
/ ubl:Waybill / cac:Shipment / cac:Delivery / cac:Despatch / cac:EstimatedDespatchPeriod / cbc:EndDate