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).
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.
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.
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.
- Check category
Ein the allowance’sram:CategoryCode. - Add a seller tax registration with
schemeIDVAorFCusingAddSellerTaxRegistration(...). - Alternatively, check the tax representative’s VAT identifier with
schemeIDVA. - Generate the invoice again and validate it once more.
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>false</udt:Indicator> </ram:ChargeIndicator> <ram:CategoryTradeTax> <ram:CategoryCode>E</ram:CategoryCode> </ram:CategoryTradeTax> </ram:SpecifiedTradeAllowanceCharge>
<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>
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)
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).
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.
rule/@context)assert/@test)