Element 'ram:ID' may occur at maximum 1 times.
ram:ID occurs more than once in ram:UltimateShipToTradeParty. This element may occur no more than once there.
The rule limits the number of ram:ID elements in ram:UltimateShipToTradeParty to zero or one.
Multiple ram:ID elements are present in ram:UltimateShipToTradeParty. In this XML section, ram:ID may occur no more than once.
- Check
ram:UltimateShipToTradePartyand remove any extraram:IDelements. - Generate the invoice again and validate it.
<ram:UltimateShipToTradeParty> <ram:ID/> <ram:ID/> </ram:UltimateShipToTradeParty>
<ram:UltimateShipToTradeParty> <ram:ID/> </ram:UltimateShipToTradeParty>
Technical details
The rule checks that the number of direct ram:ID elements in ram:UltimateShipToTradeParty is no greater than one.
The rule applies to ram:UltimateShipToTradeParty of an invoice line.
rule/@context)assert/@test)