Message

Shipment transport handling unit quantity SHALL match the number of the transport handling units specified

Context
cac:Shipment
Test
not(cbc:TotalTransportHandlingUnitQuantity) or number(cbc:TotalTransportHandlingUnitQuantity) < 0 or number(cbc:TotalTransportHandlingUnitQuantity) = count(cac:TransportHandlingUnit)
Usage
/ ubl:DespatchAdvice / cac:Shipment / cbc:TotalTransportHandlingUnitQuantity
/ ubl:DespatchAdvice / cac:Shipment / cac:TransportHandlingUnit