Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
ram:SpecifiedTaxRegistration occurs more than once in ram:PayerTradeParty. The element may occur at most once.
The rule limits the payer's tax registration entry to at most one element.
More than one ram:SpecifiedTaxRegistration element is present for the payer. You can resolve this by limiting the entry to at most one element.
- Locate the
ram:SpecifiedTaxRegistrationelements inram:PayerTradeParty. - Remove the extra elements so that no more than one remains.
- Generate the invoice again and validate it.
<ram:PayerTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:PayerTradeParty>
<ram:PayerTradeParty> <ram:SpecifiedTaxRegistration/> </ram:PayerTradeParty>
Technical details
The rule counts the direct ram:SpecifiedTaxRegistration elements within ram:PayerTradeParty and requires no more than one.
The number of ram:SpecifiedTaxRegistration elements is checked in ram:PayerTradeParty within the settlement information.
rule/@context)assert/@test)