Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
ram:InvoicerTradeParty contains more than one ram:SpecifiedTaxRegistration element.
Multiple tax registration entries are not provided for the invoicing party in this element context.
More than one ram:SpecifiedTaxRegistration 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:SpecifiedTaxRegistrationelements and remove any additional occurrences. - Generate the invoice again and validate it again.
<ram:InvoicerTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:InvoicerTradeParty>
<ram:InvoicerTradeParty> <ram:SpecifiedTaxRegistration/> </ram:InvoicerTradeParty>
Technical details
The test counts the direct ram:SpecifiedTaxRegistration elements in ram:InvoicerTradeParty and allows no more than one.
The rule applies to ram:SpecifiedTaxRegistration within ram:InvoicerTradeParty in the settlement details.
rule/@context)assert/@test)