Element 'ram:CompleteNumber' must occur exactly 1 times.
ram:CompleteNumber is missing from ram:FaxUniversalCommunication or occurs more than once. The element must appear exactly once.
The ram:CompleteNumber element contains the complete number for the fax communication. Exactly one such element is required for this communication entry.
ram:CompleteNumber is missing from the contact's fax communication entry or appears more than once. Include exactly one ram:CompleteNumber element.
- Find
ram:FaxUniversalCommunicationfor the invoicee's contact. - Add
ram:CompleteNumberif it is missing, or remove extra occurrences so that exactly one remains. - Generate the invoice again and validate it once more.
<ram:FaxUniversalCommunication/>
<ram:FaxUniversalCommunication> <ram:CompleteNumber>+33123456789</ram:CompleteNumber> </ram:FaxUniversalCommunication>
Technical details
The test counts the direct ram:CompleteNumber elements in ram:FaxUniversalCommunication and requires exactly one.
The rule applies to ram:CompleteNumber within ram:FaxUniversalCommunication for the invoicee's contact.
rule/@context)assert/@test)