Element 'ram:ID' may occur at maximum 1 times.
ram:BuyerTradeParty contains more than one direct ram:ID element. At most one such identifier is allowed for the buyer.
The rule limits the number of buyer identifiers at this location to one at most.
The buyer record contains multiple ram:ID identifiers. You can resolve this by leaving no more than one such element there.
- Find
ram:BuyerTradeParty. - Remove any extra
ram:IDelements from it. - Generate the invoice again and validate it.
<ram:BuyerTradeParty> <ram:ID/> <ram:ID/> </ram:BuyerTradeParty>
<ram:BuyerTradeParty> <ram:ID/> </ram:BuyerTradeParty>
Technical details
Within ram:BuyerTradeParty, the number of direct ram:ID elements is checked to be no greater than one.
The rule applies to ram:ID identifiers within ram:BuyerTradeParty.
rule/@context)assert/@test)