Thai Localization - Base Bank Payment Export
This module is base export payment file to bank.
Text file payment bank is a common need across different banks. With this module you will be able to export payment text file each your bank.
This module does not provide a functionality by itself but an wizard model to implement a export format each bank on other models (e.g. KTB, BBL, SCB, KBANK...).
Note: To be able to use this module in a new model you will need some development.
See l10n_th_bank_payment_export_ktb as an example of implementation.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0This module adds a Bank Payment Export screen in Odoo Accounting where you can group vendor payments and produce a bank payment file (text or Excel) to send to the bank. It is a base framework: each bank's actual file format must be added by a separate module.
This module gives accountants a new document called Bank Payment Export, found under Accounting ▸ Accounting ▸ Bank Payment Export. On it you pick a Bank Payment Template, which fills in the bank and other settings automatically, then click "Get All Payments" to pull in all vendor payments that are posted, not yet exported, paid by manual method from a bank journal, in the same company and currency.
Each payment appears as a line showing vendor, recipient bank, journal, date and amount. The total is computed automatically. You can confirm the document, then use "Export Excel" or "Export Text File" to download the payment file; exporting the text file also marks the document as Exported. Buttons let you set it back to draft, cancel it, or reject it, and individual lines can be rejected.
Business rules are enforced: you cannot confirm without lines, cannot delete a document that is not in draft, cannot use an effective date in the past, cannot mix banks or currencies, cannot export payments that are already exported or not posted, and all payments must share the same template. Payments show an Export Status badge (Draft, To Export, Exported) on the payment form, list and search filters.
Templates are managed under Accounting ▸ Configuration ▸ Bank Payment Templates, and a default template can be set on each vendor. Bank accounts also get an English account holder name field.
Depends on
Required by other modules
Menus it adds
Models and fields (9)
- res.partner · extends an existing modelproperty_bank_payment_template_id (Bank Payment Template)
- account.payment · extends an existing modelexport_status, payment_export_id (Payment Export), bank_payment_template_id
- res.partner.bank · extends an existing modelacc_holder_name_en (Account Holder Name (EN))
- bank.payment.config · new modelvalue, field_id, template_id
- bank.payment.export · new modelbank, name, state (Status), company_id, currency_id, template_id (Template), total_amount, effective_date, export_line_ids, is_required_effective_date
- bank.payment.template · new modelbank, name, company_id, template_config_line
- account.payment.register · extends an existing modelis_export (Bank Payment Exported), bank_payment_template_id
- bank.payment.export.line · new modelstate (Status), company_id, payment_id, currency_id, payment_date, payment_amount, payment_bank_id (Bank), payment_export_id, payment_journal_id (Journal), payment_partner_id (Vendor), payment_partner_bank_id (Recipient Bank)
- report.bank.payment.export.xlsx · new model
Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/l10n-thailand.
terminal Installation and usage
OCA documentation · Odoo 16.0Configuration
Source · Odoo 16.0The template for bank payment export is used for automatic default configuration. Users can simply select the desired template, and they can also modify the values later.
- Go to 'Invoicing > Configuration > Payments > Bank Payment Templates'
- Create the desired template, and in each line, you can select the fields you want to have values. The values must be valid data in the system (in the case of selections).
- After creating the template, when registering a payment, you will see the "Bank Payment Export Template" field. Users can select it, and when it comes time to perform the bank payment export, the system will automatically populate the values based on the selected template.
Usage
Source · Odoo 16.0To use this module, you can create 2 ways:
- Create bank payment export from Payment
- Go to menu Invoicing > Vendors > Payments.
- Select payment > Action > Create Bank Payment Export
- Create bank payment export direct
- Go to menu Invoicing > Accounting > Bank Payment Export.
- Create > select payment or Click 'Get All Payments' when you need all payment to export
After that, click 'Confirm' and save your payment as a text or excel file.
When you select 'Export Text File' the state changes to 'Done' and the text file is downloaded to your computer.
If a payment fails (after sending a text file to the bank), you can reject each line and generate a new document by clicking 'reject' on each line.
Note:
- Export Excel: To review information (.xlsx)
- Export Text File: To create a text file and send it to the bank (.txt)
- You will need the "Show Full Accounting Features" to see Bank Payment Export menu and Account Manager can confirm document
- You can 'cancel' a text file before sending it to the bank (difference with reject by bank)
No verified information in OCA: Installation.
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.
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.