Thailand e-Tax Invoice & e-Receipt - ETDA XML, PDF/A-3 and e-Tax Invoice by Email (Time Stamp)
by Modvanta https://modvantaapps.tech/odoo-apps/th-etax/
Odoo
$ 44.87

Thailand e-Tax Invoice and e-Receipt for Odoo 19: ETDA XML checked against the official schema, PDF/A-3 with the XML inside, and e-Tax Invoice by Email to the Time Stamp system.
ETDA Rec. 3-2560 XML | Official ETDA XSD check | PDF/A-3 | e-Tax Invoice by Email | Time Stamp CC | Credit / Debit Notes | XAdES Signature | Thai
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Thai VAT registered businesses can issue tax invoices, receipts, debit notes and credit notes electronically. This module turns confirmed Odoo invoices into the ETDA e-Tax XML, embeds it in a PDF/A-3 invoice, and sends the e-Tax Invoice by Email exactly as the Revenue Department rules ask: one document per email, to the customer, with a copy to the ETDA Time Stamp system and the required subject line.
| ETDA XML, schema checked: TaxInvoice and DebitCreditNote CrossIndustryInvoice documents (ETDA Rec. 3-2560, version 2.0); every file is validated against the ETDA XSD that ships with the module before it is saved. | |
| Document types: Tax Invoice (388), Invoice / Tax Invoice (T02), Receipt / Tax Invoice (T03), Delivery Order / Tax Invoice (T04), Debit Note (80) and Credit Note (81), with a company default. | |
| PDF/A-3 with the XML inside: the Odoo invoice PDF is converted to PDF/A-3 and carries the XML as an embedded file; both are attached to the invoice. | |
| e-Tax Invoice by Email (Time Stamp): sent from your registered address to one customer address, CC csemail@etax.teda.th, one PDF of at most 3 MB, subject [DDMMYYYY][INV][number] in the Buddhist Era date format. | |
| Debit and credit notes: reason codes of the ETDA standard (CDNG01... DBNS99), the original tax invoice referenced in the XML and in the [CRN] / [DBN] subject. | |
| Cancellation and replacement: send the [CIV] cancellation email, and issue a replacement invoice that references the cancelled one ([INV][new][old], reason code TIVC). | |
| Optional XAdES signature: sign the XML with a certificate stored in Odoo (XAdES-BES, RSA-SHA256) for submission channels that need a signed file. | |
| Thai tax ID and branches: 13 digit tax ID check (mod 11) for your company and customers, 5 digit branch codes (00000 = head office) sent as TXID. |
Who it is for
SMES USING E-TAX BY EMAIL Businesses registered for the e-Tax Invoice by Email (Time Stamp) service of the Revenue Department. | COMPANIES WITH A SERVICE PROVIDER Hand the signed ETDA XML or the PDF/A-3 to your certified service provider or the RD upload channel. | ACCOUNTANTS Download the XML and PDF/A-3 of any invoice, see what was emailed and when. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| ETDA e-Tax XML | No | Yes, validated against the ETDA XSD |
| PDF/A-3 with embedded XML | No | Yes |
| e-Tax Invoice by Email with Time Stamp CC and RD subject | No | Yes |
| Debit / credit note reason codes | No | Yes |
| Thai tax ID check digit and branch code | No | Yes |
Screenshots
Taken on a clean Odoo 19 database with this module installed.
1. e-Tax invoice sent
The e-Tax tab: document type, status, the subject used and when it was emailed.

2. e-Tax status in the invoice list
Generated, sent and not yet sent documents at a glance.

3. The e-Tax email
One customer address, CC csemail@etax.teda.th, the Revenue Department subject format and one PDF attached.

4. Credit note
A credit note with its ETDA reason code; the subject references the original tax invoice.

5. ETDA XML
The generated TaxInvoice_CrossIndustryInvoice XML.

6. XML and PDF/A-3 on the invoice
Both files are attached to the invoice and logged in the chatter.

7. Settings
Default document type, branch code, registered sender email, Time Stamp address, signing certificate, automation.

8. Customer tax ID and branch
The customer tax ID and branch code sent in the XML.

How it works
| 1 | Register your sending email for e-Tax Invoice by Email with the Revenue Department. |
| 2 | Enable Thailand e-Tax Invoice in Invoicing settings, enter that email and your branch code. |
| 3 | Give your company and Thai customers their 13 digit tax ID and branch code. |
| 4 | Confirm invoices: Odoo builds the ETDA XML and the PDF/A-3; click Send e-Tax Email (or let Odoo send on confirm). |
| 5 | For credit and debit notes choose the reason code; to cancel, send the cancellation email. |
Settings
| Default document type: 388, T02, T03 or T04 for customer invoices; can be changed per invoice. | |
| Registered sender email: the address registered with the Revenue Department; e-Tax emails are sent from it. | |
| Time Stamp system email: csemail@etax.teda.th by default. | |
| Signing certificate: optional; signs the XML (XAdES-BES). | |
| Generate on confirm / Email on confirm: automation switches. |
FAQ
Does the module submit to the Revenue Department directly?
It uses the public e-Tax Invoice by Email (Time Stamp) channel. Host-to-Host submission needs a Revenue Department approval and contract and is not part of this module; the signed XML and PDF/A-3 can be handed to your service provider.
Is the XML checked?
Yes, against the official ETDA schema files shipped with the module. An invalid document is never saved.
Can I send to several customer addresses?
The Revenue Department rule is one customer address per email; the first address of the customer is used.
How is the date in the subject written?
Day, month and Buddhist Era year, for example [01102569] for 1 October 2026.
Compatibility
Odoo 19 CommunityOdoo 19 EnterpriseOdoo.shOn premiseEnglish and Thai
Support
Questions, a bug, or a change you need: write to us, we answer every email.
EMAIL | AUTHOR Modvanta | INCLUDED Free fixes for Odoo 19 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Lines of code | 809 |
| Technical Name |
mdv_th_etax |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/th-etax/ |
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