Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="VA"]' may occur at maximum 1 times.
There is more than one ram:SpecifiedTaxRegistration whose ram:ID has the attribute schemeID="VA".
The code VA identifies a VAT identifier. The XML structure allows at most one tax registration of this type in this seller-item context.
Several tax registrations with schemeID="VA" are specified for the seller item. This identifier denotes a VAT identifier, and no more than one is allowed here.
- Find the
ram:SpecifiedTaxRegistrationelements withram:IDandschemeID="VA"inram:ItemSellerTradeParty. - Make sure no more than one of these elements is present.
- Regenerate the invoice and check it again.
<ram:ItemSellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">ID-1</ram:ID> </ram:SpecifiedTaxRegistration> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">ID-2</ram:ID> </ram:SpecifiedTaxRegistration> </ram:ItemSellerTradeParty>
<ram:ItemSellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">ID-1</ram:ID> </ram:SpecifiedTaxRegistration> </ram:ItemSellerTradeParty>
Technical details
The rule counts ram:SpecifiedTaxRegistration elements whose child ram:ID has @schemeID="VA" and requires no more than one.
The rule applies to the tax registrations of ram:ItemSellerTradeParty within the agreement for an invoice line.
rule/@context)assert/@test)