Element 'ram:ID' may occur at maximum 1 times.
ram:InvoicerTradeParty contains more than one ram:ID element.
Multiple ram:ID entries are not provided for the invoicing party in this element context.
More than one ram:ID element is present for the invoicing party. This element may occur no more than once in this part of the XML.
- Find
ram:InvoicerTradePartyin the settlement details. - Review its
ram:IDelements and remove any additional occurrences. - Generate the invoice again and validate it again.
<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 test counts the direct ram:ID elements in ram:InvoicerTradeParty and allows no more than one.
The rule applies to ram:ID within ram:InvoicerTradeParty in the settlement details.
rule/@context)assert/@test)