Message

Either ID or special terms need to be specified in Delivery terms

Context
cac:Shipment
Test
not(cac:Delivery/cac:DeliveryTerms) or ((cac:Delivery/cac:DeliveryTerms/cbc:ID) or (cac:Delivery/cac:DeliveryTerms/cbc:SpecialTerms))
Usage
/ ubl:DespatchAdvice / cac:Shipment / cac:Delivery / cac:DeliveryTerms / cbc:ID
/ ubl:DespatchAdvice / cac:Shipment / cac:Delivery / cac:DeliveryTerms / cbc:SpecialTerms