Element 'ram:CompleteNumber' must occur exactly 1 times.
ram:CompleteNumber is missing from ram:TelephoneUniversalCommunication or occurs more than once. The rule requires exactly one occurrence.
ram:CompleteNumber contains the contact’s complete telephone number. Exactly one element ensures that this number is stated unambiguously.
ram:CompleteNumber is missing from the contact’s telephone communication or is present more than once. You can adjust the XML so that exactly one such element is present.
- Locate
ram:TelephoneUniversalCommunicationunderram:DefinedTradeContactofInvoicerTradeParty. - Check that
ram:CompleteNumberoccurs exactly once. - Generate the invoice again and validate it once more.
<ram:TelephoneUniversalCommunication/>
<ram:TelephoneUniversalCommunication> <ram:CompleteNumber>+33123456789</ram:CompleteNumber> </ram:TelephoneUniversalCommunication>
Technical details
The check counts the direct ram:CompleteNumber elements in ram:TelephoneUniversalCommunication and requires the count to be 1.
In ram:TelephoneUniversalCommunication of the DefinedTradeContact in InvoicerTradeParty, ram:CompleteNumber must occur exactly once.
rule/@context)assert/@test)