Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
The ram:SalesAgentTradeParty element contains more than one ram:SpecifiedTaxRegistration. This context allows no more than one tax registration.
The maximum limits the sales agent’s tax registration entry to one in this location.
Several ram:SpecifiedTaxRegistration elements are present in the sales agent section. This element may appear there no more than once.
- Find
ram:SalesAgentTradePartyin the agreement. - Remove any extra
ram:SpecifiedTaxRegistrationelements so that no more than one remains. - Generate the invoice again and validate it.
<ram:SalesAgentTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:SalesAgentTradeParty>
<ram:SalesAgentTradeParty> <ram:SpecifiedTaxRegistration/> </ram:SalesAgentTradeParty>
Technical details
The rule counts the direct ram:SpecifiedTaxRegistration elements under ram:SalesAgentTradeParty and allows zero or one.
The rule applies to ram:SpecifiedTaxRegistration within ram:SalesAgentTradeParty in the agreement.
rule/@context)assert/@test)