Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
The ram:ProductEndUserTradeParty contains more than one ram:SpecifiedTaxRegistration element.
ram:SpecifiedTaxRegistration is optional in this party element but may occur only once. Multiple tax registration elements at this location do not conform to the required structure.
ram:SpecifiedTaxRegistration appears multiple times in ram:ProductEndUserTradeParty. This element may appear there at most once.
- Find the relevant
ram:ProductEndUserTradeParty. - Remove any extra
ram:SpecifiedTaxRegistrationelements there, or omit the element if no tax registration is to be provided. - Generate the invoice again and validate it once more.
<ram:ProductEndUserTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:ProductEndUserTradeParty>
<ram:ProductEndUserTradeParty> <ram:SpecifiedTaxRegistration/> </ram:ProductEndUserTradeParty>
Technical details
The test counts the direct ram:SpecifiedTaxRegistration elements in the current ram:ProductEndUserTradeParty and allows no more than one.
The rule applies to ram:SpecifiedTaxRegistration within ram:ProductEndUserTradeParty in the invoice agreement.
rule/@context)assert/@test)