An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) 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 required seller tax identifier is missing for a document-level charge with VAT category E. The test is satisfied only if the seller has a tax registration ID with schemeID VA or FC, or the tax representative has a VAT identifier with schemeID VA.
Category E identifies a VAT-exempt transaction. The rule therefore requires an applicable tax identifier for the seller or the seller's tax representative.
The exempt document-level charge has none of the required tax identifiers for the seller or the seller's tax representative. Adding an applicable identifier will satisfy the check.
- Add a seller tax registration ID with
schemeIDVAorFC, or add a tax representative VAT identifier withschemeIDVA. - Review the seller details through
AddSellerTaxRegistration(...)and the existing seller and representative identifiers throughGetSellerTaxRegistration()andGetSellerTaxRepresentativeTaxRegistration(). - Generate the invoice again and validate it once more.
<ram:SpecifiedTradeAllowanceCharge> <ram:ChargeIndicator> <udt:Indicator>true</udt:Indicator> </ram:ChargeIndicator> <ram:CategoryTradeTax> <ram:CategoryCode>E</ram:CategoryCode> </ram:CategoryTradeTax> </ram:SpecifiedTradeAllowanceCharge>
<ram:SellerTradeParty> <ram:SpecifiedTaxRegistration> <ram:ID schemeID="VA">DE123456789</ram:ID> </ram:SpecifiedTaxRegistration> </ram:SellerTradeParty>
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)
VA and FC are permitted for the seller identifier; VA is permitted for the tax representative.
Technical details
The test uses three permitted XPath paths joined by OR: a seller ID with schemeID VA or FC, or a representative ID with schemeID VA.
The rule applies to a document-level charge in SpecifiedTradeAllowanceCharge whose ChargeIndicator is true and whose tax category is E. It checks the seller's and tax representative's tax registrations in the invoice document.
rule/@context)assert/@test)