Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
ram:SpecifiedTaxRegistration occurs more than once in ram:BuyerAgentTradeParty. This element may occur there at most once.
The limit prevents multiple tax registrations for the same buyer agent in this XML context.
ram:SpecifiedTaxRegistration is listed more than once for the buyer agent. You can fix this by limiting it to no more than one entry.
- Remove any extra
ram:SpecifiedTaxRegistrationelements fromram:BuyerAgentTradeParty. - Leave no more than one
ram:SpecifiedTaxRegistrationelement. - Generate the invoice again and validate it once more.
<ram:BuyerAgentTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:BuyerAgentTradeParty>
<ram:BuyerAgentTradeParty> <ram:SpecifiedTaxRegistration/> </ram:BuyerAgentTradeParty>
Technical details
Within ram:BuyerAgentTradeParty, the number of direct ram:SpecifiedTaxRegistration elements is counted; zero or one is allowed.
The rule applies to ram:SpecifiedTaxRegistration within the buyer agent ram:BuyerAgentTradeParty in the document-level agreement.
rule/@context)assert/@test)