Element 'ram:ID' may occur at maximum 1 times.
ram:InvoicerTradeParty contains ram:ID more than once. This element may occur there no more than once.
ram:ID is an identifier entry for the invoice issuer. This rule permits no more than one such entry in ram:InvoicerTradeParty.
ram:InvoicerTradeParty contains ram:ID more than once. This element may occur there once or not at all.
- Locate
ram:InvoicerTradePartyin the invoice. - Remove any extra
ram:IDelements; the identifier may also be absent. - Generate the invoice again and validate it once more.
<ram:InvoicerTradeParty> <ram:ID>123</ram:ID> <ram:ID>456</ram:ID> </ram:InvoicerTradeParty>
<ram:InvoicerTradeParty> <ram:ID>123</ram:ID> </ram:InvoicerTradeParty>
Technical details
The XPath counts the direct ram:ID elements in ram:InvoicerTradeParty and permits zero or one.
The ram:InvoicerTradeParty element may contain no more than one ram:ID.
rule/@context)assert/@test)