PEPPOL-T120-R018
- Message
Shipment gross weight measure SHALL match the gross weight of the transport handling units specified
- Context
cac:Shipment
- Test
not(cbc:GrossWeightMeasure) or not(cac:TransportHandlingUnit/cac:MeasurementDimension[normalize-space(cbc:AttributeID) = 'AAB']/cbc:Measure) or number(cbc:GrossWeightMeasure) = sum(cac:TransportHandlingUnit/cac:MeasurementDimension[normalize-space(cbc:AttributeID) = 'AAB']/cbc:Measure)
- Usage