Element 'ram:OccurrenceDateTime' must occur exactly 1 times.
Within ram:ActualDeliverySupplyChainEvent, ram:OccurrenceDateTime does not occur exactly once. The element is missing or occurs more than once.
The delivery occurrence date and time indicate when the actual delivery event took place.
The actual delivery event is missing ram:OccurrenceDateTime or contains it more than once. You can correct the number of these entries.
- Check
ram:ActualDeliverySupplyChainEventand make sure it contains exactly oneram:OccurrenceDateTime. - Regenerate the invoice and validate it again.
<ram:ActualDeliverySupplyChainEvent/>
<ram:ActualDeliverySupplyChainEvent> <ram:OccurrenceDateTime/> </ram:ActualDeliverySupplyChainEvent>
Technical details
The test counts the direct ram:OccurrenceDateTime elements in ram:ActualDeliverySupplyChainEvent and requires exactly one occurrence.
The rule applies to ram:ActualDeliverySupplyChainEvent in the invoice delivery section.
rule/@context)assert/@test)