Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
ram:SpecifiedTaxRegistration occurs more than once in ram:UltimateShipToTradeParty. This element may occur no more than once there.
The rule limits the number of ram:SpecifiedTaxRegistration elements in ram:UltimateShipToTradeParty to zero or one.
Multiple ram:SpecifiedTaxRegistration elements are present in ram:UltimateShipToTradeParty. This element may occur no more than once in this XML section.
- Check
ram:UltimateShipToTradePartyand remove any extraram:SpecifiedTaxRegistrationelements. - Generate the invoice again and validate it.
<ram:UltimateShipToTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:UltimateShipToTradeParty>
<ram:UltimateShipToTradeParty> <ram:SpecifiedTaxRegistration/> </ram:UltimateShipToTradeParty>
Technical details
The rule checks that the number of direct ram:SpecifiedTaxRegistration elements in ram:UltimateShipToTradeParty is no greater than one.
The rule applies to ram:UltimateShipToTradeParty of an invoice line.
rule/@context)assert/@test)