Element 'ram:CompleteNumber' must occur exactly 1 times.
CompleteNumber is missing from TelephoneUniversalCommunication or occurs more than once. Exactly one CompleteNumber element is required.
CompleteNumber contains the complete number for telephone communication. The rule requires this number to be provided exactly once.
The seller contact’s telephone communication is missing CompleteNumber or contains it more than once. Providing it exactly once resolves this issue.
- Find
CompleteNumberin the seller contact’sTelephoneUniversalCommunication. - Make sure exactly one
CompleteNumberelement is present there. - Regenerate the invoice and validate it again.
<ram:TelephoneUniversalCommunication/>
<ram:TelephoneUniversalCommunication> <ram:CompleteNumber>+33123456789</ram:CompleteNumber> </ram:TelephoneUniversalCommunication>
Technical details
The XPath counts the CompleteNumber elements in the current TelephoneUniversalCommunication and requires exactly one.
The rule applies to TelephoneUniversalCommunication within the seller contact for an invoice line.
rule/@context)assert/@test)