An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "IGIC" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63).
For a charge with category L, the seller has no tax identifier with scheme VA or FC, and the tax representative has no VAT identifier with scheme VA. The test requires at least one of these options.
Category L denotes IGIC. For such a charge, the invoice must contain one of the checked seller tax identifiers or the VAT identifier of the seller’s tax representative.
For an IGIC charge, none of the required tax identifiers for the seller or the seller’s tax representative is present. Any one of the identifiers accepted by the test is sufficient.
- Add a seller tax identifier with
schemeIDVAorFCusingAddSellerTaxRegistration(...). - Alternatively, add a VAT identifier with
schemeIDVAfor the tax representative. - Generate the invoice again and validate it.
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="XX">12345</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty> <ram:SellerTaxRepresentativeTradeParty/>
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="FC">12345</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
LegalOrganization.ID(SellerTradeParty: BT-31; SellerTradeParty: BT-32; SellerTaxRepresentativeTradeParty: BT-63)TaxRegistration.SchemeID(For Seller VAT identifier: BT-31; For Seller tax registration identifier: BT-32)FacturXInvoice.AddSellerTaxRegistration(no, schemeID)(BT-31)FacturXInvoice.GetSellerTaxRegistration()(BT-31)FacturXInvoice.GetSellerTaxRepresentativeTaxRegistration()(BT-63)
For the seller, VA and FC are accepted schemeID values; for the tax representative, the test requires VA.
Technical details
The XPath accepts a seller ram:ID with schemeID='VA' or schemeID='FC'; alternatively, it accepts a tax representative ram:ID with schemeID='VA'.
The rule applies to a document level charge in ram:SpecifiedTradeAllowanceCharge with VAT category L for IGIC. It checks the seller’s tax registrations or the tax representative’s VAT identifier.
rule/@context)assert/@test)