Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times.
More than one ram:SpecifiedTaxRegistration element in SellerTradeParty contains a ram:ID with schemeID="FC". This variant may occur at most once.
The rule allows at most one seller tax registration entry whose ID is marked FC. It does not specify other permitted values for other tax registrations.
The seller details contain multiple tax registrations whose ram:ID has a schemeID value of FC. This variant may appear only once.
- Find the
ram:SpecifiedTaxRegistrationelements inSellerTradeParty. - Count the elements whose
ram:IDhas theschemeID="FC"attribute. - Make sure this variant occurs no more than once.
- Generate the invoice again and validate it once more.
<ram:SellerTradeParty> <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:SellerTradeParty>
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC">ID-1</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
Technical details
Only ram:SpecifiedTaxRegistration elements with a child ram:ID whose schemeID attribute is exactly FC are counted; the count must not exceed 1.
The rule applies to tax registrations in SellerTradeParty with ram:ID and the schemeID="FC" attribute.
rule/@context)assert/@test)