Element 'ram:URIUniversalCommunication' may occur at maximum 1 times.
There is more than one ram:URIUniversalCommunication in ram:PayeeTradeParty. This element may occur no more than once.
The rule limits the payee's URI communication entry to no more than one so that the XML structure remains unambiguous.
The payee has multiple ram:URIUniversalCommunication elements. Remove the extra elements so that no more than one remains.
- Find all
ram:URIUniversalCommunicationelements inram:PayeeTradeParty. - Remove any extra elements; the URI communication entry is optional.
- Regenerate the invoice and validate it again.
<ram:PayeeTradeParty> <ram:URIUniversalCommunication/> <ram:URIUniversalCommunication/> </ram:PayeeTradeParty>
<ram:PayeeTradeParty> <ram:URIUniversalCommunication/> </ram:PayeeTradeParty>
Technical details
The check verifies that there is no more than one direct ram:URIUniversalCommunication element in ram:PayeeTradeParty; the element is optional.
The rule applies to the payee details in ram:PayeeTradeParty.
rule/@context)assert/@test)