Element 'ram:CompleteNumber' must occur exactly 1 times.
ram:CompleteNumber does not occur exactly once in TelephoneUniversalCommunication. The element is missing or occurs more than once.
The contact person’s telephone communication requires exactly one complete number so that it is stated unambiguously.
The sales agent contact’s telephone details are missing the complete number or include it more than once. You can resolve this by including a single ram:CompleteNumber.
- Locate the telephone details under
ram:TelephoneUniversalCommunicationfor the sales agent contact. - Make sure there is exactly one
ram:CompleteNumberthere. - Generate the invoice again and validate it once more.
<ram:TelephoneUniversalCommunication> <ram:CompleteNumber>123</ram:CompleteNumber> <ram:CompleteNumber>456</ram:CompleteNumber> </ram:TelephoneUniversalCommunication>
<ram:TelephoneUniversalCommunication> <ram:CompleteNumber>123</ram:CompleteNumber> </ram:TelephoneUniversalCommunication>
Technical details
The rule checks that there is exactly one direct ram:CompleteNumber element in the ram:TelephoneUniversalCommunication context.
The rule applies to the telephone communication of the contact person in SalesAgentTradeParty.
rule/@context)assert/@test)