Element 'ram:OccurrenceDateTime' must occur exactly 1 times.
ram:OccurrenceDateTime does not occur exactly once in ram:ActualDeliverySupplyChainEvent. The element is either missing or appears more than once.
The actual delivery event must be described by exactly one occurrence of its event date and time. If it is missing or repeated, the event date is not represented as a single, unambiguous entry.
The event date for the actual delivery is missing or entered more than once. This section requires exactly one entry.
- Locate the invoice line’s
ram:ActualDeliverySupplyChainEvent. - Ensure it contains exactly one
ram:OccurrenceDateTime. - Generate the invoice again and validate it again.
Technical details
The test counts the direct ram:OccurrenceDateTime elements in the current ram:ActualDeliverySupplyChainEvent and requires the count to be 1.
The rule applies to ram:ActualDeliverySupplyChainEvent of an invoice line.
rule/@context)assert/@test)