Element 'ram:CompleteNumber' must occur exactly 1 times.
The ram:TelephoneUniversalCommunication element does not contain exactly one ram:CompleteNumber element. The complete number is either missing or the element occurs more than once.
The payee’s contact telephone number must be provided as exactly one complete number.
The payee party’s contact telephone number is missing its complete number, or that number is entered more than once. This can be resolved by having a single ram:CompleteNumber.
- Find the payee party contact’s
ram:TelephoneUniversalCommunication. - Make sure it contains exactly one
ram:CompleteNumber. - Generate the invoice again and validate it.
<ram:TelephoneUniversalCommunication/>
<ram:TelephoneUniversalCommunication> <ram:CompleteNumber>+33123456789</ram:CompleteNumber> </ram:TelephoneUniversalCommunication>
Technical details
The XPath test requires exactly one direct ram:CompleteNumber child of ram:TelephoneUniversalCommunication.
The rule applies to the telephone number of the payee party’s contact in the invoice settlement.
rule/@context)assert/@test)