Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
In InvoicerTradeParty, ram:SpecifiedTaxRegistration occurs more than once. The rule does not allow a second occurrence.
The element contains a tax registration value for the invoice issuer. This section allows at most one such value.
ram:SpecifiedTaxRegistration occurs more than once in InvoicerTradeParty. You can adjust the XML so that it contains no more than one such element.
- Locate
InvoicerTradePartyin the settlement. - Check whether
ram:SpecifiedTaxRegistrationoccurs more than once and remove any extra occurrences. - Generate the invoice again and validate it once more.
<ram:InvoicerTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:InvoicerTradeParty>
<ram:InvoicerTradeParty> <ram:SpecifiedTaxRegistration/> </ram:InvoicerTradeParty>
Technical details
The check counts the direct ram:SpecifiedTaxRegistration elements in InvoicerTradeParty and requires a count of at most 1.
Within InvoicerTradeParty in the settlement, ram:SpecifiedTaxRegistration may occur at most once.
rule/@context)assert/@test)