Provide a seller identifier for the VAT-exempt allowance

Error BR-E-03 EN 16931

An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) 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

A seller identifier is missing for a VAT-exempt allowance in category E. The invoice must contain a seller identifier with schemeID VA or FC, or a tax representative VAT identifier with schemeID VA.

What the rule means

For an allowance in category E, the rule requires a tax identifier for the seller or the seller’s tax representative. This supplies the seller information required for the VAT-exempt treatment.

Affected fields BG-20 BT-95 BT-31 BT-32 BT-63
Please provide the seller identifier for the VAT-exempt allowance

The allowance is marked with category E as VAT-exempt, but a required seller identifier is missing. Provide one of the specified identifiers for the seller or the seller’s tax representative.

What to do
  1. Check category E in the allowance’s ram:CategoryCode.
  2. Add a seller tax registration with schemeID VA or FC using AddSellerTaxRegistration(...).
  3. Alternatively, check the tax representative’s VAT identifier with schemeID VA.
  4. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:SpecifiedTradeAllowanceCharge>
  <ram:ChargeIndicator>
    <udt:Indicator>false</udt:Indicator>
  </ram:ChargeIndicator>
  <ram:CategoryTradeTax>
    <ram:CategoryCode>E</ram:CategoryCode>
  </ram:CategoryTradeTax>
</ram:SpecifiedTradeAllowanceCharge>
✓ Correct
<ram:SpecifiedTradeAllowanceCharge>
  <ram:ChargeIndicator>
    <udt:Indicator>false</udt:Indicator>
  </ram:ChargeIndicator>
  <ram:CategoryTradeTax>
    <ram:CategoryCode>E</ram:CategoryCode>
  </ram:CategoryTradeTax>
  <ram:SellerTradeParty>
    <ram:SpecifiedTaxRegistration>
      <ram:ID schemeID="VA">SELLER-VAT</ram:ID>
    </ram:SpecifiedTaxRegistration>
  </ram:SellerTradeParty>
</ram:SpecifiedTradeAllowanceCharge>
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

A seller identifier is a tax registration with schemeID VA or FC; for the tax representative, schemeID VA is checked.

Technical details

The XPath test requires either the seller’s ram:SpecifiedTaxRegistration/ram:ID with schemeID VA or FC, or the tax representative’s VAT identifier (VA).

Where the rule applies

The rule applies to a document-level allowance in ram:SpecifiedTradeAllowanceCharge with category E. It checks tax registrations for the seller or the seller’s tax representative in the invoice agreement.

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