Provide a seller identifier for VAT-exempt invoice lines

Error BR-E-02 EN 16931

An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) 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

At least one invoice line is marked as VAT-exempt with category E, but neither a qualifying seller tax identifier nor a tax representative VAT identifier is present.

What the rule means

A VAT-exempt invoice line requires a tax identifier for the seller or the seller’s tax representative. This provides the identifier required for this tax treatment.

Affected fields BG-25 BT-151 BT-31 BT-32 BT-63
Please add a seller or tax representative identifier for the VAT-exempt invoice line

An invoice line is marked as VAT-exempt with E, but a qualifying seller or tax representative identifier is missing. Add one of the identifiers accepted by this rule.

What to do
  1. Check LegalOrganization.ID and TaxRegistration.SchemeID in the seller information.
  2. Add a seller identifier with VA or FC, or the tax representative’s VAT identifier with VA.
  3. If needed, use AddSellerTaxRegistration(...) to provide the seller identifier.
  4. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:SellerTradeParty/>
<ram:SellerTaxRepresentativeTradeParty/>
✓ Correct
<ram:SellerTradeParty>
  <ram:SpecifiedTaxRegistration>
    <ram:ID schemeID="VA">SELLER-VAT</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

VA and FC are accepted for the seller; VA is accepted for the tax representative.

Technical details

The test accepts a seller ram:ID with schemeID VA or FC; alternatively, it accepts a tax representative ram:ID with schemeID VA.

Where the rule applies

This rule applies to invoice lines with VAT category E. It checks the seller’s VAT or tax registration identifier, or the tax representative’s VAT identifier in ram:ApplicableHeaderTradeAgreement.

Context (rule/@context)
//rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ ram:ApplicableTradeTax[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']