OdooWiki OCA HUB

Thai Localization - Tax Filing

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

This module calculates tax payable and tax refund amounts

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Create tax filing records that gather posted journal items from sales tax, purchase tax and adjustment accounts for a chosen period, then submit them and generate the corresponding journal entry, customer invoice or vendor bill to the tax authority.

This module adds a Tax Filing screen under Accounting ▸ Journal Entries ▸ Tax Filing. Users create a filing, pick a date range (or enter start and end dates), and the sales tax, purchase tax and adjustment accounts default from the company settings.

  • The Compute button collects all posted journal items on those accounts within the period that are not already used by another filing, and lists them as filing lines grouped into Journal Entries and Invoice Lines sections.
  • Totals are calculated automatically: Sales Amount, Purchases Amount, Adjusted Amount, Difference amount and Total amount.
  • A check prevents the start date from being later than the end date, and Submit is blocked when there are no lines.
  • After submitting, Create Invoice generates a journal entry, a customer invoice or a vendor bill depending on the total, using the tax authority partner, and links it to the filing. Buttons then open the generated entry, invoice or bill.
  • Statuses are Draft, Submitted, Done and Cancelled, with Set to Draft and Cancel buttons, and chatter messages track changes.

The module touches account.move.line, account.move, res.company and res.config.settings, and adds multi-company access rules.

Menus it adds

Tax Filing
Models and fields (5)
  • res.company · extends an existing modelaccount_to_id (Purchase Tax Account), account_from_id (Sales Tax Account), tax_authority_id, account_adjust_id (Adjust Tax Account)
  • account.move.line · extends an existing modeltax_filing_id
  • account.tax.filing · new modelname, state, date_to (End Date), move_id (Journal Entries), amount_to, date_from (Start Date), move_type, company_id, partner_id, amount_from, currency_id (Currency), diff_amount (Difference amount), total_amount, account_to_id, amount_adjust (Total Adjust), date_range_id (Date range), account_from_id, account_adjust_id, company_currency_id, tax_filing_line_ids
  • res.config.settings · extends an existing modelaccount_to_id, account_from_id, tax_authority_id, account_adjust_id
  • account.tax.filing.line · new modeldate, name (Description), debit, credit, balance, sequence, filing_id (Tax Filing), account_id, company_id, currency_id, display_type, move_line_id, parent_state

Text generated by AI (DeepSeek) from reading the Odoo 15.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 15.0

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

terminal Installation and usage

OCA documentation · Odoo 15.0

Add User to Group Show Full Accounting Features

  • Navigate to Group
  • Open developer mode.
  • Go to Settings > Users & Companies > Groups.
  • Add User
  • Search for Show Full Accounting Features.
  • Edit the group and add the user to the Accounting group.
  • Reload the page.

Configuration Default Account and Tax Authority

  • Navigate to Tax Filing Configuration
  • Go to Settings > Invoicing > Thai Localization > Tax Filing.
  • Set Up Tax Filing Accounts
  • Configure the Default Sales Tax Account.
  • Configure the Default Purchase Tax Account.
  • (Optional) Configure the Adjust Tax Account, if applicable.
  • Assign the Tax Authority
  • Select the appropriate Tax Authority for tax filings.

Account Tax Filing

Navigate to Tax Filing Menu

  • Go to Invoicing > Accounting > Action > Tax Filing

Step to Use Account Tax Filing

  • Set date range or date from and date to.
  • Compute to find tax in the selected date range.
  • Click Submit to confirm data.
  • Click Create Invoice. Tax filing will automatically create an invoice, vendor bill, or journal entry based on the total tax amount.

No verified information in OCA: Installation.

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.