Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times.
There is more than one ram:SpecifiedTaxRegistration whose ram:ID has the attribute schemeID="FC".
The rule limits tax registrations with code FC to at most one element in this seller-item context. The input does not specify a business meaning for code FC.
Several tax registrations with schemeID="FC" are specified for the seller item. No more than one such registration is allowed here.
- Find the
ram:SpecifiedTaxRegistrationelements withram:IDandschemeID="FC"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="FC">ID-1</ram:ID> </ram:SpecifiedTaxRegistration> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC">ID-2</ram:ID> </ram:SpecifiedTaxRegistration> </ram:ItemSellerTradeParty>
<ram:ItemSellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC">ID-1</ram:ID> </ram:SpecifiedTaxRegistration> </ram:ItemSellerTradeParty>
Technical details
The rule counts ram:SpecifiedTaxRegistration elements whose child ram:ID has @schemeID="FC" 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)