Element 'ram:URIUniversalCommunication' may occur at maximum 1 times.
ram:URIUniversalCommunication occurs more than once in ram:ProductEndUserTradeParty. This element may appear there no more than once.
The XML structure limits the URI communication information for ProductEndUserTradeParty to a single entry. Multiple entries do not conform to the defined structure.
The invoice contains multiple ram:URIUniversalCommunication elements for ProductEndUserTradeParty. You can adjust the XML structure so that no more than one entry is present.
- Locate
ram:URIUniversalCommunicationwithinram:ProductEndUserTradeParty. - Remove additional
ram:URIUniversalCommunicationelements so that no more than one remains. - Generate the invoice again and validate it.
<ram:ProductEndUserTradeParty> <ram:URIUniversalCommunication/> <ram:URIUniversalCommunication/> </ram:ProductEndUserTradeParty>
<ram:ProductEndUserTradeParty> <ram:URIUniversalCommunication/> </ram:ProductEndUserTradeParty>
Technical details
The check verifies that the number of direct ram:URIUniversalCommunication elements in the rule context is no greater than one.
The rule applies to ram:URIUniversalCommunication within the header agreement’s ram:ProductEndUserTradeParty element.
rule/@context)assert/@test)