| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 716 |
| Technical Name |
digiit_retenue_source |
| License | LGPL-3 |
| Website | https://digi-it.com.tn |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 716 |
| Technical Name |
digiit_retenue_source |
| License | LGPL-3 |
| Website | https://digi-it.com.tn |
Withholding Tax
Withholding Tax Workflow for Odoo 19 - Customers & Vendors
This module allows you to manage withholding tax on your customer and vendor invoices directly in Odoo. When a withholding is created, the module automatically generates a dedicated journal entry and reconciles it with the invoice.
This module is compliant with Tunisian tax regulations and follows the local accounting standards in force.
Developed by Digi-IT
Main Objects
- WHT Document: Withholding Tax record with draft / posted / cancel lifecycle.
- Journal Entry: Withholding Entry automatically created and posted in the selected journal.
- Reconciliation: The entry is automatically reconciled with the source invoice.
Key Highlights
- Guided creation: Wizard launched from the invoice, lists filtered automatically.
- Automatic calculation: Withholding base computed excluding the stamp duty.
- Customers & Vendors: Supports both flows (sale / purchase).
- Dedicated sequences: Distinct references for customers and vendors.
Configuration - Journals
In Accounting > Journals, open the relevant journal and enable Withholding Sales (customers) or Withholding Purchases (vendors) depending on the desired flow.
The journal must also have a Default Account so that the withholding entry can be generated.
Configuration - Taxes
In Accounting > Taxes, enable Retenu Tax on the relevant tax and verify that the Tax Type matches the flow: sale for customers, purchase for vendors.
The calculation is designed for percentage taxes (amount_type = percent).
Step 1 - Open the Invoice
Open a customer or vendor invoice that is posted and unpaid, with no existing withholding. The Withholding Tax button is available directly from the invoice header.
Step 2 - Fill in the Wizard
The wizard displays automatically filtered lists based on the invoice type: authorized journal, compatible tax. Enter the withholding number, the payment date, and an optional memo.
Step 3 - WHT Document
After validation, the Withholding Tax document is created and set to posted. It contains all withholding information along with a link to the generated journal entry.
Automatic Journal Entry
The Withholding Entry is created, posted, and reconciled with the invoice in a single action. No additional manual input is required.
Quick Setup
Before first use:
1. Enable the Withholding flag on the relevant journals and verify the default account.
2. Enable Retenu Tax on withholding taxes and verify the tax type.
3. Create your first withholding from a posted and unpaid invoice.
Supported Version
Odoo 19.0
Dependencies
- Account
- No external Python package required
For any support, contact us:
contact@digi-it.com.tn
Please log in to comment on this module