Element 'ram:CompleteNumber' must occur exactly 1 times.
CompleteNumber is missing from TelephoneUniversalCommunication or occurs more than once. Exactly one CompleteNumber element must be present.
The buyer contact’s telephone communication details must contain exactly one field for the complete number.
The buyer contact’s telephone communication details are missing CompleteNumber or contain it more than once. You can adjust the structure so that it contains exactly one such element.
- Find
TelephoneUniversalCommunicationunderDefinedTradeContactinBuyerTradeParty. - Make sure it contains exactly one
CompleteNumberelement. - Generate the invoice again and validate it.
<ram:BuyerTradeParty> <ram:DefinedTradeContact> <ram:TelephoneUniversalCommunication/> </ram:DefinedTradeContact> </ram:BuyerTradeParty>
<ram:BuyerTradeParty> <ram:DefinedTradeContact> <ram:TelephoneUniversalCommunication> <ram:CompleteNumber/> </ram:TelephoneUniversalCommunication> </ram:DefinedTradeContact> </ram:BuyerTradeParty>
Technical details
Within TelephoneUniversalCommunication, the rule checks that exactly one direct CompleteNumber element is present.
The rule applies to the contact’s telephone communication details under BuyerTradeParty and DefinedTradeContact.
rule/@context)assert/@test)