An Invoice that contains a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) 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).
The invoice contains neither a seller tax registration with schemeID VA or FC nor a tax registration for the seller’s tax representative with schemeID VA. The test requires at least one of these details.
For an allowance in category Z, the invoice must contain one of the seller or seller tax representative registrations allowed by the test.
The invoice contains a category Z allowance but none of the tax identifiers checked for it. You can add the seller’s identifier or the tax representative’s identifier.
- Add a seller tax registration with
schemeIDVAorFC, or add a tax representative registration withschemeIDVA. - For this, check
AddSellerTaxRegistration(...)and the relevantLegalOrganization.ID. - Generate the invoice again and validate it once more.
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)
For the seller registration, VA and FC are accepted schemeID values; for the tax representative, the accepted value is VA.
Technical details
At invoice level, the XPath checks two alternative paths: a seller ID with schemeID VA or FC, or a tax representative ID with schemeID VA.
The rule applies to invoices with a document-level allowance whose VAT category is Z. It checks the tax registrations of the seller and the seller’s tax representative.
rule/@context)assert/@test)