OdooWiki OCA HUB

Thai Localization - Expense Tax

l10n_th_account_tax_expense folder_open OCA/l10n-thailand open_in_new
Localization / Accounting License: AGPL-3

This module make sure that Expense will also comply with Tax Invoice concept of l10n_th_account_tax.

In case expense has VAT,

  • Expense's Bill Reference and Date will be used as Tax Invoice Number and Tax Invoice Date
  • Without Bill Reference, Post Journal Entry is not allowed

This module also provide addition step to create withholding tax journal entry.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds Thai tax invoice and withholding tax handling to expenses. Users enter a tax invoice number and date on an expense, and can create a separate withholding tax journal entry from an expense report.

This module makes expense reports follow the Thai tax invoice rules and adds withholding tax (WHT) handling.

On each expense line you get a "Tax Details" group with a Vendor Reference, a tax invoice number and a tax invoice date. A WHT field is also available and is filled automatically from the product's supplier withholding tax. When an expense report is posted, the tax invoice number and date are copied onto the related purchase tax invoice; if they are missing, posting is blocked with an error asking you to fill in the tax invoice and tax date.

On the expense report you get a "Create Withholding Tax JV" button (visible for posted or paid reports when WHT is pending) that opens a new journal entry pre-filled with the withholding lines. A "WHT" button then lets you open that journal entry. Cancelling the related journal entry is blocked until the withholding tax journal entry is cancelled first.

When paying an expense report that clears an advance, the payment wizard asks for the partner used for the withholding tax, and automatic WHT deduction is skipped for clearing. The module touches hr.expense, hr.expense.sheet, account.move, account.move.line and account.payment.register.

Models and fields (5)
  • hr.expense · extends an existing modeltax_date, tax_number, wht_tax_id (WHT), bill_partner_id (Vendor Reference)
  • account.move · extends an existing model
  • hr.expense.sheet · extends an existing modelwht_move_id (Withholding Tax JV), need_wht_entry
  • account.move.line · extends an existing model
  • account.payment.register · extends an existing modelbill_partner_id (Vendor Reference)

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

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.