Element 'ram:SpecifiedTaxRegistration' may occur at maximum 1 times.
The ram:ShipFromTradeParty contains more than one ram:SpecifiedTaxRegistration. This element may occur no more than once in this context.
The ship-from party’s tax registration is represented as a single entry in this XML context. Multiple entries here are structurally not permitted.
More than one tax registration is entered for the ship-from party. You can adjust the XML so that no more than one entry is present.
- Find the
ram:SpecifiedTaxRegistrationelements inram:ShipFromTradeParty. - Remove duplicate entries so that no more than one such element remains.
- Regenerate the invoice and validate it again.
<ram:ShipFromTradeParty> <ram:SpecifiedTaxRegistration/> <ram:SpecifiedTaxRegistration/> </ram:ShipFromTradeParty>
<ram:ShipFromTradeParty> <ram:SpecifiedTaxRegistration/> </ram:ShipFromTradeParty>
Technical details
The check counts the direct ram:SpecifiedTaxRegistration elements in the ram:ShipFromTradeParty context and requires a count of no more than one.
The rule applies to ram:SpecifiedTaxRegistration within ram:ShipFromTradeParty in the invoice delivery information.
rule/@context)assert/@test)