Element 'ram:CompleteNumber' must occur exactly 1 times.
ram:CompleteNumber does not occur exactly once in ram:FaxUniversalCommunication. The element is missing or appears more than once.
The payee contact’s complete fax number is provided through ram:CompleteNumber. Exactly one such element is required for this communication.
ram:CompleteNumber is missing or appears more than once in the payee contact’s fax communication. Providing it exactly once resolves this structural issue.
- Locate
ram:FaxUniversalCommunicationin the payee’s contact. - Make sure it contains exactly one
ram:CompleteNumber. - Generate the invoice again and validate it.
<ram:FaxUniversalCommunication/>
<ram:FaxUniversalCommunication> <ram:CompleteNumber>+33123456789</ram:CompleteNumber> </ram:FaxUniversalCommunication>
Technical details
The XPath test checks whether the number of direct ram:CompleteNumber child elements is exactly one.
The rule applies to the fax communication of the payee’s contact within the payment terms.
rule/@context)assert/@test)