Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
The ram:ShipToTradeParty element contains more than one ram:SpecifiedTaxRegistration element. At most one is permitted in this context.
The rule limits the number of tax registration elements for the delivery recipient to at most one.
Several ram:SpecifiedTaxRegistration elements are present in ram:ShipToTradeParty. Only one is allowed in this section.
- Locate
ram:ShipToTradePartyin the delivery section. - Remove extra
ram:SpecifiedTaxRegistrationelements so that no more than one remains. - Regenerate the invoice and validate it again.
<ram:ShipToTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:ShipToTradeParty>
<ram:ShipToTradeParty> <ram:SpecifiedTaxRegistration/> </ram:ShipToTradeParty>
Technical details
The check counts the direct child elements ram:SpecifiedTaxRegistration of ram:ShipToTradeParty and requires their number to be no greater than one.
The rule applies within the ram:ShipToTradeParty element in the delivery section.
rule/@context)assert/@test)