Element 'ram:CompleteNumber' must occur exactly 1 times.
ram:CompleteNumber is missing from ram:TelephoneUniversalCommunication, or it does not occur exactly once. The telephone communication must contain exactly one ram:CompleteNumber element.
ram:CompleteNumber contains the complete telephone number. The rule requires exactly one such element in the contact’s telephone communication.
The tax representative contact’s ram:TelephoneUniversalCommunication is missing ram:CompleteNumber, or the element appears more than once. Exactly one element is required here.
- Ensure that
ram:TelephoneUniversalCommunicationcontains exactly oneram:CompleteNumberelement. - Regenerate the invoice and validate it again.
<ram:TelephoneUniversalCommunication/>
<ram:TelephoneUniversalCommunication> <ram:CompleteNumber>+33123456789</ram:CompleteNumber> </ram:TelephoneUniversalCommunication>
Technical details
The test counts direct ram:CompleteNumber elements in ram:TelephoneUniversalCommunication and requires the count to be 1.
The rule applies to ram:TelephoneUniversalCommunication in the defined contact of the seller’s tax representative.
rule/@context)assert/@test)