Element 'ram:URIUniversalCommunication' may occur at maximum 1 times.
URIUniversalCommunication occurs more than once in BuyerTradeParty. This element may appear there no more than once.
The rule limits the buyer’s URI communication entries to one so that this XML section remains unambiguous.
URIUniversalCommunication appears more than once in the buyer section of the invoice. You can adjust the XML section so that this element appears there no more than once.
- Locate
BuyerTradePartyin the invoice header. - Check how many times
URIUniversalCommunicationoccurs inside it. - Remove any occurrences beyond the first.
- Generate the invoice again and validate it.
<ram:BuyerTradeParty> <ram:URIUniversalCommunication/> <ram:URIUniversalCommunication/> </ram:BuyerTradeParty>
<ram:BuyerTradeParty> <ram:URIUniversalCommunication/> </ram:BuyerTradeParty>
Technical details
Within BuyerTradeParty, the number of direct URIUniversalCommunication elements is counted and checked against a maximum of one.
The rule applies within the buyer section BuyerTradeParty in the invoice header.
rule/@context)assert/@test)