OdooWiki OCA HUB

Thai Localization - Withholding Tax Certificate Form

l10n_th_account_wht_cert_form folder_open OCA/l10n-thailand open_in_new
Report License: AGPL-3

This module add the Thailand standard withholding tax cert report to the WHT Certificates menu.

This module used :

  • Font 'THSarabunNew Bold'

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds the Thai standard Withholding Tax Certificate PDF report to the WHT Certificates menu, with optional signature printing and a pre-print layout, plus a ready-made email template to send the certificate to the supplier.

This module gives you the official Thai withholding tax certificate as a printable PDF, built on the withholding.tax.cert document.

  • A new report "WHT Certificates (pdf)" is available from the WHT Certificates menu and on each certificate form. It uses an A4 portrait paper format with no margins, so the layout matches the pre-printed Thai form.
  • The report shows company and supplier name, address and tax ID digits in boxes, the certificate number, the PND form type (pnd1, pnd2, pnd3, pnd3a, pnd53), income lines grouped by income type with base and tax amounts, totals, and the total tax written out in Thai words.
  • The date is printed in Thai Buddhist era (year + 543).
  • In Settings, under the Thai accounting section, two company options appear: "WHT Cert - Print Signature" (adds the signature and Thai date on the certificate when its state is done) and "Preprint - Withholding Tax Cert Form" (uses a blank pre-print layout instead of the background image).
  • A "Send by email" action on the certificate opens a pre-filled email using the template "Withholding Tax Cert: Send by email", which attaches the PDF and states the total tax amount.
  • Cancelled certificates show a "ยกเลิก" (cancelled) mark, and certificates issued in place of another show the original document number.
Models and fields (3)
  • res.company · extends an existing modelwht_form_preprint (Preprint - Withholding Tax Cert Form), wht_form_print_signature (WHT Cert - Print Signature)
  • res.config.settings · extends an existing modelwht_form_preprint, wht_form_print_signature
  • withholding.tax.cert · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-thailand.

terminal Installation and usage

OCA documentation · Odoo 18.0

After you install this module, you can print withholding tax cert form with A4 following:

  • Go to Invoicing \> Vendors \> WHT Certificates
  • Select document \> Print 'WHT Certificates (pdf)'

NOTE: By using the pre-print manual, you can customize the following withholding tax cert form.

  • Go to Invoicing \> Configuration \> Settings
  • Select Preprint - Withholding Tax Cert Form, It will change layout to Pre-Print Format and you can inherit for custom pages using template > <template id="withholding_layout_preprint_report" />

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.