Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
ram:SpecifiedTaxRegistration occurs more than once in ram:ProductEndUserTradeParty. This element may appear there no more than once.
The XML structure limits the tax registration information for ProductEndUserTradeParty to a single entry. Multiple entries do not conform to the defined structure.
The invoice contains multiple ram:SpecifiedTaxRegistration elements for ProductEndUserTradeParty. You can adjust the XML structure so that no more than one entry is present.
- Locate
ram:SpecifiedTaxRegistrationwithinram:ProductEndUserTradeParty. - Remove additional
ram:SpecifiedTaxRegistrationelements so that no more than one remains. - Generate the invoice again and validate it.
<ram:ProductEndUserTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:ProductEndUserTradeParty>
<ram:ProductEndUserTradeParty> <ram:SpecifiedTaxRegistration/> </ram:ProductEndUserTradeParty>
Technical details
The check verifies that the number of direct ram:SpecifiedTaxRegistration elements in the rule context is no greater than one.
The rule applies to ram:SpecifiedTaxRegistration within the header agreement’s ram:ProductEndUserTradeParty element.
rule/@context)assert/@test)