Skip to content

e-Tax Invoice files

An e-Tax Invoice is a tax invoice made as a computer file instead of on paper. Somdul can download a posted tax invoice, credit note or debit note as an XML file in the official Thai e-Tax Invoice format (the ETDA standard ขมธอ. 3-2560, schema 2.0.6). The file is not digitally signed, and Somdul does not send it anywhere. It is useful for checking, and for a signing service of your own that accepts XML.

If the Revenue Department has approved your company for e-Tax Invoice by Time Stamp (the route once called “e-Tax Invoice by Email”), Somdul also prepares each tax invoice, credit note and debit note for it: see e-Tax Invoice by Time Stamp below.

Open in Somdul: Settings → Company (to set up), then any posted document under Sales → Tax invoices

You need four things. Without the first, the e-Tax button doesn’t show. If any of the others is missing, Somdul tells you which when you click the button.

  • The company is VAT registered. Tick VAT registered in Settings → Company. The e-Tax button only shows for VAT-registered companies.
  • The company’s 13-digit tax ID, in Settings → Company.
  • The address for e-Tax Invoices. Once you tick VAT registered, Settings → Company shows Address for e-Tax Invoices. The file needs the address in parts, with the official area codes.
  • A 5-digit postcode in the customer’s address. Somdul reads the last 5-digit number in the customer’s Address.

How do I download an e-Tax Invoice XML file?

Section titled “How do I download an e-Tax Invoice XML file?”
  1. Go to Settings → Company. Under Address for e-Tax Invoices, fill in House number and Building, soi, road. Then choose Province, District and Subdistrict from the official lists, and type the Postcode. Click Save. You only do this once per company.

    Company settings with the company details, tax ID, VAT registered tick and the address for e-Tax Invoices

  2. Check the customer’s address under Sales → Customers. It must include a 5-digit postcode.

  3. Post the tax invoice, credit note or debit note as usual. The button only appears on posted documents.

  4. On the document, click Print. The print page opens in a new tab.

    A posted tax invoice in Somdul with its Print button

  5. On the print page, click e-Tax XML. The file downloads, named after the document number (for example IV2026-00001.xml).

    The tax invoice print page with the print bar, including the e-Tax XML button

  6. If something is missing, Somdul shows a list instead of downloading a file. Fix each item and click e-Tax XML again.

Address for e-Tax Invoices (Settings → Company)

Section titled “Address for e-Tax Invoices (Settings → Company)”
Field What to enter Notes
House number The house or building number, e.g. 99/1 Required.
Building, soi, road Building name, soi and road Goes on the address line.
Province Choose from the list Official list of 77 provinces.
District Choose from the list Shows the districts of the chosen province.
Subdistrict Choose from the list The file uses this area code. Required.
Postcode 5 digits Required.
Part Comes from
Seller Company name, tax ID, the branch the document was issued from, and the e-Tax address
Buyer Customer name, tax ID and branch, address and postcode. An individual customer is identified by national ID. A customer with no tax ID is sent as “N/A”.
Lines Product code and name, description, quantity, unit price, discount and amount. VAT-exempt lines are marked as VAT-free, and zero-rated lines as 0%.
Totals Value before VAT, VAT and total, exactly as on the document
Credit and debit notes The original tax invoice’s number, date and value, and the reason
Replacement tax invoices Dated the day the replacement was issued, with the cancelled invoice’s number and date as the reference, and the note “เป็นการยกเลิกและออกใบกำกับภาษีใหม่แทนใบกำกับภาษีเดิม” with the cancellation reason (purpose code TIVC99)
Message What to do
The company has no tax ID yet Add the 13-digit tax ID in Settings → Company.
Fill in the e-Tax address in Company settings first Complete every part of Address for e-Tax Invoices.
The customer’s address needs a 5-digit postcode Add the postcode to the customer’s Address.
The document has no lines The document needs at least one line.
The original tax invoice was not found The credit or debit note needs the tax invoice it changes.
  • It doesn’t sign the file. Signing needs the company’s own digital certificate, which Somdul doesn’t hold.
  • It doesn’t send the XML file to the Revenue Department, to the customer or to any e-Tax service.
  • It doesn’t send e-Tax Invoices by Time Stamp from its own email. You send them from your registered address (see above).
  • It doesn’t replace your printed tax invoice. The tax invoice you give the customer is still the one you print or save as PDF from Somdul.
  • Receipts and quotations have no e-Tax XML button. Only tax invoices, credit notes and debit notes do.

Nothing changes in the accounts when you download a file. It is just a copy of a posted document.

e-Tax Invoice by Time Stamp is the Revenue Department’s route for smaller VAT-registered businesses to issue tax invoices by email without a digital certificate. You email the tax invoice as a PDF/A-3 file from the email address you registered with the Revenue Department, To the buyer and Cc ETDA’s time-stamp system (csemail@etax.teda.th). ETDA stamps the file and emails the stamped copy to you and the buyer. That stamped email is the tax invoice.

Open in Somdul: Settings → Company, card e-Tax Invoice by Time Stamp

  • Register with the Revenue Department first. Apply on rd.go.th (บุคคลธรรมดาหรือนิติบุคคล → ภาษีมูลค่าเพิ่ม → การจดทะเบียน/สมัคร/ขออนุมัติ → ขออนุมัติจัดทำใบกำกับภาษี โดยการประทับรับรองเวลา (Time Stamp)) with form ก.อ.01. When you’re approved, register the email address you will send from in the Revenue Department’s system. Somdul can’t do this for you.
  • The company is VAT registered in Settings → Company.
  • Only the practice’s people (or a business’s own admins) can switch it on, as with VAT registration.

ETDA only stamps an email that comes from your registered address. Somdul’s Email button sends from hello@somdul.app, so ETDA wouldn’t stamp it. Instead, Somdul makes the file and the exact subject line, opens a ready email in Gmail, Outlook or your email app, and records that the document went for stamping. Somdul’s own Email refuses ETDA’s address, so a copy from Somdul is never mistaken for the e-Tax Invoice.

  1. Go to Settings → Company. In e-Tax Invoice by Time Stamp, switch on This company is approved for e-Tax Invoice by Time Stamp. Enter the Registered sender email and the Use from date, then click Save. You only do this once.

  2. Post the tax invoice, credit note or debit note as usual, then click Print.

  3. On the print page, click Send for Time Stamp. A window opens with three steps.

  4. Click Download PDF/A-3. The file is named after the document number and looks exactly like the print page. For a tax invoice, credit note or debit note, the e-Tax Invoice XML file goes inside it, as ETDA’s own generator does it (see below). If something the XML needs is missing, the window lists it and the file is the PDF alone.

  5. Click Open in Gmail, Open in Outlook or Open email app, signed in with your registered email. The email opens with To, Cc and the subject filled in. Attach the file you downloaded and send it. If your email doesn’t open, copy each line with Copy.

  6. Back in Somdul, tick I sent it from … and click Mark as sent for time stamp.

The print page then shows Sent for time stamp with the date and time, and the document lists show Sent to ETDA in an e-Tax column (tax invoices, receipts, deposits and credits, credit notes and debit notes). The stamped email from ETDA comes back to your registered address. You can check a stamped file at validation.teda.th.

Field What to enter Notes
Registered sender email The address registered in the Revenue Department’s Time Stamp system Not ETDA’s address.
Use from The date the Revenue Department’s system shows the address can be used from Documents dated earlier can’t be sent this way.
To The buyer’s email Exactly one address. It starts with the first address on the customer.
Cc csemail@etax.teda.th Filled in for you.
Subject Filled in for you Don’t change it. See the table below.

The Revenue Department sets the subject exactly: square brackets, no spaces, and the issue date as day, month and Buddhist year (for example 05102569 for 5 October 2026).

Document Subject
Tax invoice (also a receipt or deposit receipt that is the tax invoice) [05102569][INV][IV2026-00001]
Debit note [date][DBN][debit note number][tax invoice number]
Credit note [date][CRN][credit note number][tax invoice number]
Replacement tax invoice [date of the new one][INV][new number][cancelled number]

A document number with a space or a square bracket can’t go in the subject, so Somdul won’t send it.

  • One time only. A document can be marked as sent once. If you marked one by mistake (the email never went), an admin or accountant clicks Undo next to Sent for time stamp and gives a reason. The record is kept.
  • Only issued tax documents. Posted tax invoices, credit notes and debit notes, and receipts or deposit receipts that are the tax invoice. Not drafts, cancelled documents, plain receipts or quotations.
  • Not before the start date. A document dated before Use from went out on paper.
  • One buyer address, never ETDA’s, and the subject exactly as the Revenue Department sets it.
  • The file: PDF/A-3, one document, at most 2 MB, no password. If the pictures make it bigger, Somdul makes them smaller until it fits.

PDF/A-3 can carry other files inside it. Somdul puts the document’s e-Tax Invoice XML (the same file as e-Tax XML) inside, the way ETDA’s own e-Tax Invoice by Email PDF generator does: named ETDA-invoice.xml, marked as an alternative form of the document, and described in the file’s metadata as a Tax Invoice, Credit Note or Debit Note, version 2.0. People see the PDF; accounting software can read the XML.

The rules ask for a PDF/A-3, not for XML inside it, so a file without the XML can still be sent. It goes without the XML when:

  • the document is a receipt or deposit receipt (Somdul’s e-Tax XML covers tax invoices, credit notes and debit notes); or
  • something the XML needs is missing, such as the Address for e-Tax Invoices or the customer’s postcode. Fill it in and download the file again to include the XML.

Cancelling or replacing a stamped document

Section titled “Cancelling or replacing a stamped document”

ETDA’s stamp can’t be withdrawn. If a stamped tax invoice has wrong details, cancel it and tick the box to issue a replacement tax invoice. The replacement gets a new number and the date it was made, says it cancels and replaces the old number and date, and goes for time stamp itself, with both numbers in the subject. For a change in value, issue a credit note or debit note instead, and send that for time stamp. If a buyer loses the file, send them the same stamped email again. You don’t need a copy marked “ใบแทน”.

Because the buyer already holds the stamped file, Somdul doesn’t let you simply cancel a stamped tax invoice, credit note, debit note, receipt or deposit (or one your e-Tax provider accepted): use cancel and replace, or a credit or debit note. If it was marked as sent by mistake, click Undo next to Sent for time stamp first.

  • Generally, to issue e-Tax Invoices that count as tax invoices, a business must be approved by the Revenue Department and sign each file with a digital certificate from an approved certificate authority, or use e-Tax Invoice by Time Stamp.
  • e-Tax Invoice by Time Stamp follows the Revenue Department’s announcement on issuing, sending and keeping tax invoices by time stamp (ประกาศกรมสรรพากร เรื่อง การจัดทำ ส่ง หรือเก็บรักษา ใบกำกับภาษี โดยการประทับรับรองเวลา (Time Stamp), Royal Gazette 29 June 2566). It is generally for VAT registrants approved on form ก.อ.01. The Revenue Department designed it for businesses with income up to 30 million baht a year; the announcement itself sets no income limit.
  • The email must come from the registered address, To the buyer and Cc ETDA at the same time, one tax invoice per email, as a PDF/A-3 file (the Revenue Department’s manual and its standard FP 02-2566; the standard says at most 2 MB).
  • Keep the stamped file and ETDA’s email unchanged, so they can be opened and read later. Tax records are generally kept for at least 5 years.
  • An unsigned XML file is generally not a valid e-Tax Invoice on its own.
  • A credit note or debit note generally refers to the original tax invoice and gives the reason for the change. Somdul includes both in the file.
  • No e-Tax XML button → the company isn’t ticked as VAT registered, or the document is still a draft. Post it first.
  • The postcode is in the address but Somdul can’t find it → write it as five digits on its own, for example “10110”, not joined to other numbers.
  • Province, district and subdistrict don’t match the old address → the e-Tax address is separate from the Thai address printed on documents. Keep them the same.
  • Sending the unsigned file to a customer as their tax invoice → keep giving the printed or PDF tax invoice until your files are signed through an approved route.
  • Using Somdul’s Email button for a Time Stamp invoice → ETDA won’t stamp it. Use Send for Time Stamp.
  • Changing the subject or sending two documents in one email → ETDA’s system needs one document per email with the subject exactly as shown.
  • Sending from another address → only the registered address works. Register any new address with the Revenue Department first, then update Registered sender email.

Can Somdul sign and submit e-Tax Invoices?

Section titled “Can Somdul sign and submit e-Tax Invoices?”

Somdul can’t sign XML files: that needs each company’s own certificate from a Thai certificate authority. For e-Tax Invoice by Time Stamp, ETDA’s stamp takes the place of a signature, and you send the email yourself.

Can Somdul send the Time Stamp email for me?

Section titled “Can Somdul send the Time Stamp email for me?”

No. ETDA stamps only emails from your registered address, and Somdul sends from hello@somdul.app. Somdul prepares everything; you press send in your own email.

It uses the Thai name when there is one, otherwise the English name.

Can I download files for many invoices at once?

Section titled “Can I download files for many invoices at once?”

No. You download one document at a time from its print page.