Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
ram:SpecifiedTaxRegistration occurs more than once in ram:InvoiceeTradeParty. This element may appear there at most once.
The limit prevents multiple tax registration entries for the invoicee within this element.
The invoicee has multiple ram:SpecifiedTaxRegistration elements. Keep no more than one.
- Find
ram:InvoiceeTradePartyin the invoice. - Remove additional
ram:SpecifiedTaxRegistrationelements so that no more than one remains. - Generate the invoice again and validate it once more.
<ram:InvoiceeTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:InvoiceeTradeParty>
<ram:InvoiceeTradeParty> <ram:SpecifiedTaxRegistration/> </ram:InvoiceeTradeParty>
Technical details
The test counts the direct ram:SpecifiedTaxRegistration elements in ram:InvoiceeTradeParty and requires a count of no more than one.
The rule applies to ram:SpecifiedTaxRegistration within ram:InvoiceeTradeParty, the invoicee.
rule/@context)assert/@test)