Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
ram:SpecifiedTaxRegistration occurs more than once in ram:PayeeTradeParty. This element may appear at most once in this context.
The element contains a tax registration detail for the payee. In this context, the structure limits such details to at most one element.
ram:SpecifiedTaxRegistration appears more than once in ram:PayeeTradeParty. This element may appear at most once in this section.
- Locate
ram:PayeeTradePartyin the payment terms. - Check the
ram:SpecifiedTaxRegistrationelements it contains and remove any extra occurrences. - Regenerate the invoice and validate it again.
<ram:PayeeTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:PayeeTradeParty>
<ram:PayeeTradeParty> <ram:SpecifiedTaxRegistration/> </ram:PayeeTradeParty>
Technical details
The XPath test count(ram:SpecifiedTaxRegistration)<=1 allows zero or one ram:SpecifiedTaxRegistration element and rejects more than one.
The rule applies to ram:SpecifiedTaxRegistration within ram:PayeeTradeParty in the document-level payment terms.
rule/@context)assert/@test)