Element 'ram:CompleteNumber' must occur exactly 1 times.
ram:CompleteNumber does not occur exactly once in ram:TelephoneUniversalCommunication. It is either missing or occurs more than once.
ram:CompleteNumber contains the telephone number for this communication method. Requiring exactly one element ensures the telephone number is stated unambiguously.
ram:CompleteNumber is missing or occurs more than once in the contact’s telephone communication. You can adjust this information in the invoice.
- Open the contact’s telephone communication under
InvoicerTradeParty. - Make sure
ram:TelephoneUniversalCommunicationcontains exactly oneram:CompleteNumberelement. - Generate the invoice again and validate it.
<ram:TelephoneUniversalCommunication/>
<ram:TelephoneUniversalCommunication> <ram:CompleteNumber>+33123456789</ram:CompleteNumber> </ram:TelephoneUniversalCommunication>
Technical details
The test counts the child elements ram:CompleteNumber in ram:TelephoneUniversalCommunication and requires a count of 1.
The rule applies to the contact’s telephone communication under InvoicerTradeParty.
rule/@context)assert/@test)