Element variant 'ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]' may occur at maximum 1 times.
In SellerTradeParty, SpecifiedTaxRegistration with an ID whose schemeID is FC occurs more than once.
At most one tax registration is allowed for the FC designation. Multiple such entries repeat this designation in the seller’s record.
The seller’s details contain the tax registration with FC more than once. You can make this entry unambiguous.
- Find
SpecifiedTaxRegistrationwithIDandschemeID="FC"inSellerTradeParty. - Remove duplicate entries so that this entry occurs no more than once.
- Generate the invoice again and validate it.
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC">A</ram:ID> </ram:SpecifiedTaxRegistration> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC">B</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC">A</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
Technical details
The check counts the direct SpecifiedTaxRegistration elements whose child ID has a schemeID attribute with the value FC.
The rule applies to the seller’s tax registrations in SellerTradeParty.
rule/@context)assert/@test)