Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
ram:SpecifiedTaxRegistration occurs more than once in ram:PayeeTradeParty. The element may occur at most once, but it may also be absent.
The tax registration is an optional detail of the payee. The rule limits it to one occurrence within this element.
The payee’s tax registration has been entered more than once. Remove additional entries so it occurs no more than once.
- Locate
ram:PayeeTradePartyin the payment terms. - Check its
ram:SpecifiedTaxRegistrationelements and remove any additional entries. - Regenerate the invoice and validate it again.
<ram:PayeeTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:PayeeTradeParty>
<ram:PayeeTradeParty> <ram:SpecifiedTaxRegistration/> </ram:PayeeTradeParty>
Technical details
The rule counts the direct ram:SpecifiedTaxRegistration elements in ram:PayeeTradeParty and passes when the count is at most one.
The rule applies to ram:SpecifiedTaxRegistration within the payee ram:PayeeTradeParty in the payment terms.
rule/@context)assert/@test)