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 complete fax number. Exactly one such element is required for the fax reference to have an unambiguous structure.
ram:CompleteNumber is missing from the fax communication reference or occurs more than once. You can adjust the reference so that it contains exactly one such element.
- Find
ram:FaxUniversalCommunicationin the ship-to party contact. - Add exactly one
ram:CompleteNumberelement inside it, or remove any extra occurrences. - Regenerate the invoice and validate it again.
<ram:FaxUniversalCommunication/>
<ram:FaxUniversalCommunication> <ram:CompleteNumber>+33123456789</ram:CompleteNumber> </ram:FaxUniversalCommunication>
Technical details
The test counts the direct ram:CompleteNumber elements under ram:FaxUniversalCommunication and requires exactly one occurrence.
The rule applies to ram:FaxUniversalCommunication within the ship-to party contact for the delivery address of an invoice line.
rule/@context)assert/@test)