Skip to Content
Catalog / ACC · Accounting & Finance / Invoice Bank Palestine Vat Report
Invoice Bank Palestine Vat Report
invoice_bank_palestine_vat

Invoice Bank Palestine Vat Report

File Palestine VAT faster with the official Invoices Bank export and Original/Copy print control

v19.0.0.0 Abdelfatah Mohammad (AlshayebCo) Accounting & Finance

Inherits journal entry to add print_original/print_original_details counters with their issuing-user audit fields and to intercept action_post for customer invoices (out_invoice) when the company flag is set, routing through journal entry original print wizard. Overrides ir.actions.report._render_qweb_pdf to increment the print counters on the standard invoice and the alshayebco_account_reports move-entry detail reports. The invoices_bank_palestine_vat_wizard (transient) drives a report_xlsx XLSX generator that searches posted journal item records by date and tax_tag regex (P/A vs S) and writes an RTL Arabic sheet. base document layout, company (open_print_wizard) and settings inheritances expose the toggle and supply the PDF footer helpers; report_invoice_document.xml injects the Original/Copy label and footer.

Overview

Palestinian businesses must submit a specifically formatted VAT 'Invoices Bank' return to the tax authority and must clearly distinguish an original invoice printout from later copies. This module produces that return as a ready-to-submit Arabic right-to-left Excel file, classifying each posted line into Purchases, Assets or Sales for the selected tax period. It also adds a print-control workflow on customer invoice validation that stamps every printout as Original or Copy and records which user issued each one, giving a clean audit trail for fiscal documents.

Key Features

  • Generates the Palestine VAT 'Invoices Bank' return as an Arabic right-to-left XLSX file ready for submission.
  • Offers two report types: Purchases & Assets (P&A) and Sales (S), with each line auto-classified as P, A or S from its tax tags.
  • Filters the return by a tax-period date range, defaulting to the start of the current month through today.
  • Pulls the company VAT number, partner name, partner VAT, untaxed amount, VAT amount and total for every posted tax line.
  • Pops a print wizard when posting a customer invoice, letting the user print Original, Original plus Copy, post without printing, or reset to draft.
  • Stamps each invoice printout as 'Original' or 'Copy' so a re-print is never mistaken for the first issued document.
  • Tracks the printout count and the user who first printed each invoice and its move-entry detail report for audit.
  • Adds a footer to PDF documents showing the printing user, local date-time and Odoo version.
  • Merges two PDF passes into one file for the 'Original & Copy' print action in a single download.
  • Configurable per company: the validation print wizard can be switched on or off in Accounting settings.

Technical Details

Technical Name invoice_bank_palestine_vat
Version 19.0.0.0
License LGPL-3
Domain ACC · Accounting & Finance

Menu Structure

Invoices Bank (AR)

Security

Both wizards (the Invoices Bank report wizard and the Original Print wizard) are granted full read/write/create/delete access to the Accounting User group; no new security groups are introduced. The invoice print-count override fields on the form are visible only to system administrators.

Accounting / Accountant (account.group_account_user) — full access to both report and print wizards Settings / Administration (base.group_system) — can view and reset the per-invoice print-count fields

Dependencies

base web account_reports alshayebco_account_reports