Element 'ram:CompleteDateTime' must occur exactly 1 times.
The ram:EffectiveSpecifiedPeriod element does not contain exactly one ram:CompleteDateTime element. The element is either missing or repeated.
The complete date or time value is part of the specified period and must be present there exactly once.
ram:CompleteDateTime is missing or repeated in ram:EffectiveSpecifiedPeriod. Include it there exactly once.
- Find
ram:EffectiveSpecifiedPeriodin the invoice document data. - Add exactly one
ram:CompleteDateTimeelement or remove any duplicates. - Generate the invoice again and validate it.
<ram:EffectiveSpecifiedPeriod/>
<ram:EffectiveSpecifiedPeriod> <ram:CompleteDateTime/> </ram:EffectiveSpecifiedPeriod>
Technical details
The test counts the direct child elements ram:CompleteDateTime of ram:EffectiveSpecifiedPeriod and requires exactly one.
The rule applies within the ram:EffectiveSpecifiedPeriod period in the invoice document data.
rule/@context)assert/@test)