Provide a VAT identifier for a VAT-exempt charge

Error BR-E-04 EN 16931

An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Exempt from VAT" 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

The charge is assigned to VAT category E for supplies exempt from VAT, but the invoice is missing an accepted tax identifier for the seller or the seller’s tax representative. It requires either a seller identifier with schemeID VA or FC, or the tax representative’s VAT identifier with schemeID VA.

What the rule means

For a charge in category E, the invoice must contain a tax identifier for the seller or the seller’s tax representative. This keeps the seller side tax-identifiable even when the charge is exempt from VAT.

Affected fields BG-21 BT-102 BT-31 BT-32 BT-63
Please provide a seller tax identifier for the VAT-exempt charge

The invoice contains a VAT-exempt charge in category E, but no matching tax identifier for the seller or the seller’s tax representative. You can add the missing identifier to the seller-side details.

What to do
  1. Check the tax identifiers in SellerTradeParty.
  2. Add a seller identifier with schemeID VA or FC, for example using AddSellerTaxRegistration(...) and TaxRegistration.SchemeID, or provide the tax representative’s VAT identifier with schemeID VA.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:SpecifiedTradeAllowanceCharge>
  <ram:ChargeIndicator>
    <udt:Indicator>true</udt:Indicator>
  </ram:ChargeIndicator>
  <ram:CategoryTradeTax>
    <ram:CategoryCode>E</ram:CategoryCode>
  </ram:CategoryTradeTax>
</ram:SpecifiedTradeAllowanceCharge>
✓ Correct
<ram:SellerTradeParty>
  <ram:SpecifiedTaxRegistration>
    <ram:ID schemeID="VA">DE123456789</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)
Technical details

The test checks ram:SpecifiedTaxRegistration/ram:ID for the seller with schemeID VA or FC; alternatively, it checks the same structure under ram:SellerTaxRepresentativeTradeParty with schemeID VA. The rule applies only in the specified charge context with category code E.

Where the rule applies

The rule applies to a document-level charge in ram:SpecifiedTradeAllowanceCharge whose ram:CategoryTradeTax/ram:CategoryCode has the value E for exempt from VAT.

Context (rule/@context)
//ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator='true']/ ram:CategoryTradeTax[ram:CategoryCode = 'E']
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']