Message

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

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