Element 'ram:CompleteNumber' must occur exactly 1 times.
TelephoneUniversalCommunication must contain exactly one ram:CompleteNumber element. The element is either missing or occurs more than once.
The buyer contact’s telephone number is provided through ram:CompleteNumber. Having exactly one number makes the telephone contact unambiguous.
The buyer contact’s telephone number is missing ram:CompleteNumber, or the element occurs more than once. Exactly one such element identifies the contact number clearly.
- Check
ram:TelephoneUniversalCommunicationfor the buyer’s contact. - Make sure it contains exactly one
ram:CompleteNumber. - Generate the invoice again and validate it once more.
<ram:TelephoneUniversalCommunication/>
<ram:TelephoneUniversalCommunication> <ram:CompleteNumber>+33123456789</ram:CompleteNumber> </ram:TelephoneUniversalCommunication>
Technical details
The Schematron check requires the number of direct ram:CompleteNumber child elements of ram:TelephoneUniversalCommunication to be exactly 1.
The rule applies to the telephone communication of the contact under BuyerTradeParty in the invoice header.
rule/@context)assert/@test)