Seller tax identifier for an IGIC charge

Error BR-AF-04 EN 16931

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).

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

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.

What the rule means

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.

Affected fields BG-21 BT-102 BT-31 BT-32 BT-63
Please add a tax identifier for the IGIC charge

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.

What to do
  1. Add a seller tax identifier with schemeID VA or FC using AddSellerTaxRegistration(...).
  2. Alternatively, add a VAT identifier with schemeID VA for the tax representative.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:SellerTradeParty>
  <ram:SpecifiedTaxRegistration>
    <ram:ID schemeID="XX">12345</ram:ID>
  </ram:SpecifiedTaxRegistration>
</ram:SellerTradeParty>
<ram:SellerTaxRepresentativeTradeParty/>
✓ Correct
<ram:SellerTradeParty>
  <ram:SpecifiedTaxRegistration>
    <ram:ID schemeID="FC">12345</ram:ID>
  </ram:SpecifiedTaxRegistration>
</ram:SellerTradeParty>
Check in FactoorSharp
  • 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)
Good to know

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'.

Where the rule applies

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.

Context (rule/@context)
//ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator='true']/ ram:CategoryTradeTax[ram:CategoryCode = 'L']
Test expression (assert/@test)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = ('VA', 'FC')] or /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA']