| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 3316 |
| Technical Name |
account_withholding_tax_on_payment |
| License | OPL-1 |
| Website | https://github.com/tao-thewarat |
| Versions | 18.0 19.0 |
Withholding Tax On Payment
Create and manage Withholding Tax (WHT) documents linked to Payments in Odoo 18.
Includes WHT certificate printing, XLSX export, tax section support, and company-based sequence management.
Overview
This module extends the standard withholding tax workflow by linking Withholding Tax documents directly to Payments. It helps accounting teams manage WHT certificates more efficiently, with support for confirmation checks, document numbering, report printing, and XLSX export.
Why use this module?
- Manage WHT certificates directly from payment records
- Keep withholding tax documents organized and traceable
- Print official WHT certificates in PDF format
- Export certificate data to XLSX using a predefined template
Key Features
- Adds a dedicated Withholding Tax document model
- Links WHT documents with account.payment
- Opens related WHT documents directly from Payment form
- Supports WHT Payment options
- Adds Tax Section field in wizard, payment, and WHT form
- Requires Other field for specific tax sections
- Company-based WHT sequence generation
- Confirmation allowed only when payment is paid
- QWeb PDF certificate report
- XLSX export with template-based output
How it works
- Create a payment from Vendor Bill / Invoice using Register Payment
- Fill withholding tax lines and select the proper Tax Section
- Confirm payment as usual
- The system automatically creates a linked Withholding Tax document
- Users can print the certificate or export it to XLSX later
Supported WHT Payment Types
| Code | Description |
|---|---|
| (1) | Withheld at source |
| (2) | Issued for life |
| (3) | One-time issuance |
| (4) | Others |
The module helps standardize withholding tax processing from payment creation to certificate output.
Configuration
- Go to Settings → Accounting
- Configure Withholding Tax Sequence for each company
- Open Vendor Bill / Invoice and click Register Payment
- Fill withholding tax lines in the payment register wizard
- Set the correct Tax Section and WHT Payment type
- Confirm the payment
If no WHT sequence is defined, the system can automatically create one during confirmation.
Screenshots
Replace these images with real screenshots from your module for better presentation.
Configuration Withholding Tax
Payment Register with Withholding Tax lines
Withholding Tax document form
Print WHT Certificate
Certificate PDF
Certificate Excel
Technical Information
- Technical name: account_withholding_tax_on_payment
- Version: 18.0.1.0.0
- Category: Accounting
- Dependency: l10n_account_withholding_tax
- External dependency: openpyxl
- Main model: account.withholding.tax
- Line model: account.withholding.tax.line
- License: OPL-1
Notes
- Done WHT documents cannot be deleted
- Confirmation is allowed only when the related payment is in paid state
- Supports Thai formatting and Buddhist Era year in some outputs
- XLSX export uses a template stored inside the module
Maintainer
Odd Lab
Support
For installation help, customization, or issue reporting, please contact the author via the Odoo Apps support channel or project repository.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module