Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="VA"]' may occur at maximum 1 times.
The seller details contain more than one ram:SpecifiedTaxRegistration whose child ram:ID is identified as a VAT identifier by schemeID="VA".
In this rule, the identifier VA denotes the VAT identifier; the seller details may contain no more than one such registration.
The VAT identifier marked with VA appears more than once in the seller details. You can resolve this by providing no more than one such tax registration.
- Check the
ram:SpecifiedTaxRegistrationelements inram:SellerTradeParty. - Find the entries whose
ram:IDhas the attributeschemeID="VA". - Make sure that no more than one such entry is present.
- Generate the invoice again and validate it.
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">A</ram:ID> </ram:SpecifiedTaxRegistration> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">B</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">A</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
Technical details
The check counts direct ram:SpecifiedTaxRegistration elements whose ram:ID has a schemeID attribute with the exact value VA; zero or one is allowed.
Within ram:SellerTradeParty, for ram:SpecifiedTaxRegistration whose ram:ID has the attribute schemeID="VA".
rule/@context)assert/@test)