Tax identifier for an invoice with a zero-rated invoice line

Error BR-Z-02 EN 16931

An Invoice that contains an Invoice line where the Invoiced item VAT category code (BT-151) is "Zero rated" 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 an invoice with an invoice line in category Z, there is neither a seller tax registration with ram:ID and schemeID VA or FC, nor a tax representative registration with ram:ID and schemeID VA.

What the rule means

For an invoice with a zero-rated invoice line, the invoice must contain one of the seller or tax representative registrations specified by the test. These identifiers associate the tax registration with the relevant party.

Affected fields BT-151 BT-31 BT-32 BT-63
Please add an eligible tax identifier for the seller or tax representative

The invoice contains an invoice line in category Z, but the check finds no matching tax identifier for the seller or tax representative. Add one of the eligible registrations.

What to do
  1. Add a seller tax registration with schemeID VA or FC, or a tax representative registration with schemeID VA.
  2. For a seller identifier, check the call to AddSellerTaxRegistration(...) and the identifier in LegalOrganization.ID.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<rsm:CrossIndustryInvoice>
  <rsm:SupplyChainTradeTransaction>
    <ram:ApplicableHeaderTradeAgreement>
      <ram:SellerTradeParty/>
    </ram:ApplicableHeaderTradeAgreement>
  </rsm:SupplyChainTradeTransaction>
</rsm:CrossIndustryInvoice>
✓ Correct
<rsm:CrossIndustryInvoice>
  <rsm:SupplyChainTradeTransaction>
    <ram:ApplicableHeaderTradeAgreement>
      <ram:SellerTradeParty>
        <ram:SpecifiedTaxRegistration>
          <ram:ID schemeID="VA">DE123456789</ram:ID>
        </ram:SpecifiedTaxRegistration>
      </ram:SellerTradeParty>
    </ram:ApplicableHeaderTradeAgreement>
  </rsm:SupplyChainTradeTransaction>
</rsm:CrossIndustryInvoice>
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 allowed for the seller; only VA is specified for the tax representative.

Technical details

The XPath passes if a seller ram:SpecifiedTaxRegistration/ram:ID has schemeID VA or FC, or if the corresponding registration of ram:SellerTaxRepresentativeTradeParty has schemeID VA.

Where the rule applies

The rule applies to invoices containing an invoice line in tax category Z. It checks the tax registrations of the seller and the seller’s tax representative.

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