Element 'ram:CompleteNumber' must occur exactly 1 times.
The element ram:CompleteNumber is missing from ram:TelephoneUniversalCommunication or occurs more than once. It must occur exactly once.
ram:CompleteNumber contains the complete telephone number for telephone communication. Exactly one such element keeps this contact detail unambiguously structured.
The seller contact’s telephone communication is missing ram:CompleteNumber or contains it more than once. You can correct the structure by including exactly one such element.
- Check
ram:TelephoneUniversalCommunicationfor the seller’s contact. - Add a
ram:CompleteNumberelement there or remove extras so that exactly one remains. - Generate the invoice again and validate it.
<ram:TelephoneUniversalCommunication/>
<ram:TelephoneUniversalCommunication> <ram:CompleteNumber>+33123456789</ram:CompleteNumber> </ram:TelephoneUniversalCommunication>
Technical details
The test counts the direct ram:CompleteNumber elements in ram:TelephoneUniversalCommunication and requires exactly one.
The rule applies to ram:CompleteNumber within ram:TelephoneUniversalCommunication for the seller’s contact.
rule/@context)assert/@test)