Message

[PEPPOL-T125-R004] Shipment transport handling unit quantity SHALL match the number of the transport handling units specified

Context
cac:Shipment/cac:Consignment
Test
not(cbc:TotalTransportHandlingUnitQuantity) or not(cac:TransportHandlingUnit) or number(cbc:TotalTransportHandlingUnitQuantity) = count(cac:TransportHandlingUnit)
Usage
/ ubl:Waybill / cac:Shipment / cac:Consignment / cbc:TotalTransportHandlingUnitQuantity