Provide a tax identifier for a zero-rated charge

Error BR-Z-04 EN 16931

An Invoice that contains a Document level charge where the Document level charge VAT category code (BT-102) 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 tax category Z, the invoice contains neither a seller ram:ID with schemeID="VA" or schemeID="FC", nor a tax representative ram:ID with schemeID="VA". At least one of these checked entries must be present.

What the rule means

Tax category Z means zero rated. In this case, the rule requires at least one matching seller tax identifier or the tax representative’s VAT identifier.

Affected fields BT-102 BT-31 BT-32 BT-63
Please add a tax identifier for the zero-rated charge

The charge is marked with the zero-rated tax category (Z), but none of the accepted seller or tax representative identifiers is present. Add a matching tax registration to the relevant details.

What to do
  1. Check the charge’s tax category Z.
  2. Add a seller tax registration with schemeID VA or FC, for example with AddSellerTaxRegistration(...).
  3. Alternatively, add the tax representative’s VAT identifier with schemeID VA.
  4. 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>Z</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)
Good to know

For the seller, VA and FC are accepted; for the tax representative, only VA is checked.

Technical details

The test accepts either a seller identifier under ram:SpecifiedTaxRegistration/ram:ID with schemeID VA or FC, or the tax representative’s corresponding identifier with schemeID VA.

Where the rule applies

The rule applies to a document level charge with tax category Z. It checks the seller’s tax registrations and the VAT identifier of the seller’s tax representative.

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