Element 'ram:CompleteNumber' must occur exactly 1 times.
The ram:TelephoneUniversalCommunication element does not contain exactly one ram:CompleteNumber. The element is either missing or occurs more than once.
ram:CompleteNumber carries the complete number for the telephone communication. Exactly one element is required so that the number is unambiguously represented in the XML structure.
The contact’s telephone communication for the ship-from party is missing the complete number or has more than one. You can complete the structure with exactly one ram:CompleteNumber.
- Locate the telephone communication under
ram:DefinedTradeContactforram:ShipFromTradeParty. - Make sure it contains exactly one
ram:CompleteNumberelement. - Regenerate the invoice and validate it again.
<ram:DefinedTradeContact> <ram:TelephoneUniversalCommunication/> </ram:DefinedTradeContact>
<ram:DefinedTradeContact> <ram:TelephoneUniversalCommunication> <ram:CompleteNumber/> </ram:TelephoneUniversalCommunication> </ram:DefinedTradeContact>
Technical details
The check counts the direct ram:CompleteNumber elements in ram:TelephoneUniversalCommunication and requires exactly one.
The rule applies to ram:CompleteNumber within the telephone communication of the contact at ram:ShipFromTradeParty.
rule/@context)assert/@test)