Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
ram:SpecifiedTaxRegistration occurs more than once in ram:SalesAgentTradeParty. The element may occur no more than once.
The rule limits the number of tax registration entries for the party specified as the sales agent to at most one.
More than one ram:SpecifiedTaxRegistration element is entered for the sales agent. You can correct the invoice by ensuring that no more than one is included there.
- Locate
ram:SalesAgentTradePartyin the agreement information. - Check the
ram:SpecifiedTaxRegistrationelements it contains. - 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 in ram:SalesAgentTradeParty and permits at most one.
This rule applies to ram:SpecifiedTaxRegistration within ram:SalesAgentTradeParty in the agreement information.
rule/@context)assert/@test)