Element 'ram:CompleteNumber' must occur exactly 1 times.
ram:TelephoneUniversalCommunication does not contain exactly one ram:CompleteNumber: the element is missing or occurs more than once.
The telephone communication requires exactly one element for the complete number in this XML context. A missing or repeated element does not match the expected structure.
The buyer agent’s telephone contact is missing ram:CompleteNumber or contains it more than once. Exactly one such element meets the structural requirement.
- Check
ram:TelephoneUniversalCommunicationin the buyer agent’s contact. - Make sure it contains exactly one
ram:CompleteNumberelement. - Generate the invoice again and validate it once more.
<ram:TelephoneUniversalCommunication/>
<ram:TelephoneUniversalCommunication> <ram:CompleteNumber/> </ram:TelephoneUniversalCommunication>
Technical details
The XPath counts direct ram:CompleteNumber elements under ram:TelephoneUniversalCommunication and requires exactly one.
The rule applies to ram:CompleteNumber within the ram:TelephoneUniversalCommunication telephone communication of the buyer agent’s contact.
rule/@context)assert/@test)