Element 'ram:URIUniversalCommunication' may occur at maximum 1 times.
ram:URIUniversalCommunication occurs more than once within ram:PayerTradeParty. The element may occur no more than once.
The payer’s URI communication is provided no more than once in this XML context.
ram:URIUniversalCommunication appears more than once in ram:PayerTradeParty. You can adjust the XML so that the element occurs no more than once.
- Find
ram:PayerTradePartyin the invoice. - Check whether it contains more than one
ram:URIUniversalCommunicationelement. - Remove any extra
ram:URIUniversalCommunicationelements, or omit the element if no URI communication is provided. - Generate the invoice again and validate it.
<ram:PayerTradeParty> <ram:URIUniversalCommunication/> <ram:URIUniversalCommunication/> </ram:PayerTradeParty>
<ram:PayerTradeParty> <ram:URIUniversalCommunication/> </ram:PayerTradeParty>
Technical details
The rule counts direct ram:URIUniversalCommunication elements under ram:PayerTradeParty and permits zero or one occurrence.
The rule applies to URI communication within document-level ram:PayerTradeParty.
rule/@context)assert/@test)