Element 'ram:CompleteDateTime' must occur exactly 1 times.
ram:CompleteDateTime is missing from ram:EffectiveSpecifiedPeriod or occurs more than once. It must be present exactly once.
ram:CompleteDateTime contains the complete date and time for the period described by ram:EffectiveSpecifiedPeriod.
ram:CompleteDateTime is missing from ram:EffectiveSpecifiedPeriod or appears more than once. The rule requires exactly one such element.
- Locate
ram:EffectiveSpecifiedPeriodin the document header. - Check whether
ram:CompleteDateTimeis missing or occurs more than once. - Ensure that
ram:CompleteDateTimeoccurs exactly once. - Generate the invoice again and validate it once more.
<ram:EffectiveSpecifiedPeriod/>
<ram:EffectiveSpecifiedPeriod> <ram:CompleteDateTime> <udt:DateTimeString format="102">20261003</udt:DateTimeString> </ram:CompleteDateTime> </ram:EffectiveSpecifiedPeriod>
Technical details
The rule uses count(ram:CompleteDateTime)=1 to check that the element occurs exactly once in the context.
The rule applies in ram:EffectiveSpecifiedPeriod within the document header ram:ExchangedDocument.
rule/@context)assert/@test)