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