Standards/thai-qr
Thai QR
Overview
Thai QR Payment (Thai QR Code Payment Standard) is Thailand's national standard for payment QR codes. It is a profile of EMVCo's QR Code Specification for Payment Systems that the Bank of Thailand (BOT) developed with the international card networks and local payment providers. One Thai QR code can accept money from bank accounts, credit and debit cards and e-wallets, at home and from abroad 1. The rulebook in force is the BOT's Policy Guideline: Standardized Thai QR Code for Payment Transactions, effective 17 April 2019 1.
A payer opens any bank or wallet app, scans the merchant's code, checks the payee name and confirms. A code can be static, printed on a sticker with the payer typing the amount, or dynamic, generated for one transaction 13. For PromptPay payments the app must not show the merchant name written in the code. It has to look the name up in the PromptPay system, so a code pasted over the real one shows its true owner 1.
Thai QR is the umbrella standard. This page covers the whole code: tag allocation, card schemes, the bill-payment template, payment innovation and cross-border use. Sending money to a phone number or citizen ID (tag 29) is covered in more detail at PromptPay QR. The Singapore phone-number transfer link, which uses no QR code, is at PromptPay-PayNow.
History
Card networks agree on one code (May 2017). On 9 May 2017 UnionPay International, Visa and Mastercard announced a common payment QR code for Thailand. Merchants would display one code for all three brands, and banks and merchants were expected to adopt it by the third quarter of 2017 45. EMVCo published its merchant-presented and consumer-presented QR specifications, royalty-free, on 31 July 2017 7.
The standard is announced (30 August 2017). At a press conference in Bangkok on 30 August 2017, BOT Governor Veerathai Santiprabhob announced that all of Thailand's payment providers would adopt the same QR standard. He called it the first time five international card networks and Thai providers had agreed on one QR standard 2. THE STANDARD named the five as Mastercard, UnionPay, Visa, American Express and JCB. Kasikornbank and SCB were then testing in the BOT's regulatory sandbox, and six more banks were waiting to join. Rollout started with PromptPay, with real use expected in the fourth quarter 3. On 13 November 2017 the BOT allowed five sandbox banks to offer QR payments generally: Kasikornbank, Siam Commercial Bank, Krungthai, Bangkok Bank and the Government Savings Bank 6.
One guideline (2019). An earlier BOT guideline of 31 March 2017 covered QR codes printed on bills. The 2019 policy guideline repealed it and folded its content in. It also added the Thai QR Code Payment Standard (Attachment 1) and the QR Code Standard for Bill Payment (Attachment 2), and set desirable practices for providers 1.
Cross-border links (2020 onwards). Thai QR codes have become the Thai end of a set of bilateral QR links:
| Partner | Start | Direction at start | Source |
|---|---|---|---|
| Cambodia (KHQR) | 2020 (phase I); phase II reported 20 Jun 2023 | Cambodian visitors scan Thai QR; phase II added Thai visitors scanning KHQR | 15 |
| Vietnam (VietQR) | 26 Mar 2021, pilot | Both directions, Bangkok Bank on the Thai side | 13 |
| Malaysia (DuitNow QR) | 18 Jun 2021, phase 1 | Thai users scan DuitNow QR; Malaysians scanning Thai QR planned for Q4 2021 | 11 |
| Indonesia (QRIS) | 17 Aug 2021, pilot | Both directions; BBL first, Krungsri and CIMB Thai by September 2021 | 12 |
| Hong Kong (FPS) | 4 Dec 2023 | Both directions | 14 |
| Laos (LaoQR, PromptPay-LaoQR) | 3 Apr 2024 (Lao users); by June 2024 (Thai users) | Both directions | 9 |
| China (Alipay, UnionPay, WeChat Pay) | 30 Oct 2025 | Chinese users scan Thai QR codes from six Thai banks | 10 |
The BOT also lists links with Singapore (NETS), Japan and Korea (Paybooc), without dates on its page 9.
Technical specification
Base standard. Thai QR is built on EMV QRCPS. That covers both Merchant-Presented Mode (the customer scans the merchant) and Consumer-Presented Mode (the merchant scans the customer), and the guideline requires providers to allow both 1. Every merchant-presented code is a string of EMVCo data objects, each a two-digit tag, a two-digit length and a value. It ends with tag 63, a CRC computed the EMVCo way (CRC-16, polynomial 1021, initial value FFFF). The symbol is an ordinary QR Code, and the base format is described at EMVCo MPM. For tags 00, 01, 02–25 and 32–79, the Thai table says only "Refer to EMVCo" 1.
Tag allocation. Attachment 1 divides the merchant-account range as follows 1:
| Tag IDs | Allocation |
|---|---|
00–25 |
International card schemes (Visa, Mastercard and others, per their own rules) |
26–28 |
Local card schemes |
29–31 |
Payment and funds transfer through PromptPay and payment innovation |
32–51 |
Reserved for other networks; 39 only for providers not yet connected to a central system such as PromptPay |
52–64 |
Shared data: amount, merchant type, reference and so on |
A merchant can therefore have one sticker carrying a Visa template, a Mastercard template and a PromptPay template side by side. The payer's app picks the one it supports 1.
Tag 29: PromptPay credit transfer (ans, up to 99, conditional) 1:
| Sub | Field | Format, length | Presence | Value |
|---|---|---|---|---|
00 |
AID | ans 16 | M | A000000677010111 merchant-presented; A000000677010114 customer-presented |
01 |
Mobile number | N 13 | one of 01–04 |
e.g. 0066XXXXXXXXX |
02 |
National ID or Tax ID | N 13 | ||
03 |
E-Wallet ID | N 15 | ||
04 |
Bank account | N, up to 43 | Reserved for future use: 3-digit bank code + account number | |
05 |
OTA | N 10 | C | Mandatory when the AID is …0114 |
Tag 30: PromptPay bill payment (ans, up to 99, conditional) 1:
| Sub | Field | Format, length | Presence | Value |
|---|---|---|---|---|
00 |
AID | ans 16 | M | A000000677010112 domestic merchant; A000000677012006 cross-border merchant |
01 |
Biller ID | N 15 | M | National ID or Tax ID + suffix |
02 |
Reference 1 | ans, up to 20 | M | |
03 |
Reference 2 | ans, up to 20 | O |
Tag 30 is for businesses registered with a Biller ID or merchant ID and uses PromptPay's bill-payment module. The Biller ID derives from the business's juristic-person or taxpayer number, or is a number a bill aggregator assigns. A provider that collects payments through tag 30 needs a BOT licence for receiving payments on behalf of others, and must verify the merchant before registering it 1.
Tag 31: payment innovation (ans, up to 99, optional). Two variants exist. One is a standard API, AID A000000677012004, with API ID 001 (transaction verification), a 3-digit service-provider ID and a 25-character transaction reference. The other is acquirer-specific, AID A000000677010113, with a 3-digit acquirer ID and sub-tags 02–99 for the acquirer's use. A code using tag 31 should also carry tag 29 or 30, so that any provider's app can still make a basic PromptPay payment from it 1.
Shared fields, as profiled for PromptPay 1:
| Tag | Field | Thai rule |
|---|---|---|
52 |
Merchant Category Code | Optional for PromptPay payments |
53 |
Currency | 764 (baht), for domestic and cross-border codes alike |
54 |
Amount | In baht, also for cross-border |
55–57 |
Tip and convenience fee | Not allowed for PromptPay payments |
58 |
Country | TH for domestic; the other country's code for overseas transactions |
59 |
Merchant Name | Per EMVCo; for PromptPay the app must not display it and shows the name from PromptPay instead |
60 |
Merchant City | Optional for PromptPay payments |
62 |
Additional Data | With tag 30, a Terminal ID sub-tag may be used. Overseas transactions put currency (3) + local amount (13) + country (2) in sub-tag 08, e.g. 3920000003000.00JP |
80 |
VAT TQRC | Optional, up to 50: 00 seller tax branch ID (4, M), 01 VAT rate (up to 5, O), 02 VAT amount (up to 13, M) |
81–99 |
Unreserved templates | Per EMVCo |
The table marks tags 52 and 60 optional "only for payment/funds transfer through PromptPay", and gives tag 59 no such exemption 1. Codes for card schemes follow the card networks' own EMVCo rules 1.
Symbol parameters. Attachment 1 sets no QR version, error-correction level or size for payment codes. The parameters the guideline does give are in Attachment 2, for bill QR codes: error-correction level M, UTF-8 text, at least 300 dpi for print and 72 dpi on screen, and a quiet zone of four modules. A 362-character code should be at least 3.4 × 3.4 cm and a 62-character one at least 1.5 × 1.5 cm 1.
The other bill code (Attachment 2). The same guideline defines a second, non-EMVCo bill QR. It starts with a pipe character (|), followed by the seller's 13-digit tax ID and a 2-digit suffix (00 for the first account), Reference 1 and Reference 2 (up to 20 characters each), and a total amount of up to 10 digits. Each field ends with a carriage return 1. It can also carry the traditional 62-digit bill barcode data, transfer data for PromptPay or ORFT, receipt and tax-invoice data, and e-withholding-tax data, and none of its fields is required 1. A bill may therefore carry either an EMVCo tag-30 code or this pipe-delimited code. They are different formats.
Display and conformance. Merchant displays must carry the Thai QR Code Payment Standard logo plus the PromptPay logo and/or the card-network logos the merchant accepts, with enough information to verify the recipient, and usage instructions on the back. Every provider is entitled to use the logo 1. Before launch, providers must run interoperability tests and send the results to the payment office of the Thai Bankers' Association, the Association of International Banks, the Government Financial Institutions Association or the Thailand e-Payment Trade Association, with a copy to the BOT. Changes to the standard need prior BOT approval 1. The guideline also bars storing sensitive consumer data in a QR code unless it is encrypted 1.
No ownerless sample payload is printed in the guideline, so this page does not reproduce one.
Use cases
Shop counters and market stalls. Thai QR's main purpose is that one code accepts every provider and source of funds. Providers must not stop a merchant from receiving money through any channel 1. The BOT says merchant QR payments have grown 33-fold since their 2019 launch, to 4.9 billion transactions a year (year to July 2025 against 2017) 17. The infographic's label reads "Merchants accepting QR payments increased by", so the exact measure is unclear.
Bills. Tag 30 carries a Biller ID and references, so a utility, insurer or online shop can be paid from any bank app. Bill aggregators can register Biller IDs for small merchants 1. Tag 80 carries VAT data for tax receipts 1.
Inbound tourists. Visitors from linked countries scan Thai shops' codes with their home apps 910. Inbound cross-border QR payments reached ฿1.51 billion in May 2026, up 382% on a year earlier. China accounted for ฿911.66 million, Malaysia ฿318.46 million and Laos ฿112.98 million (NITMX figures) 16. The BOT notes that cross-border QR payments grew 4.5 times year on year, but remain small next to credit cards 17.
Thai travellers abroad, customer-presented. In Japan the direction is reversed. Thai users generate a buyer's QR code under the MyPromptQR scheme in their bank app, and the Japanese merchant scans it 9. MyPromptQR is the BOT's customer-presented QR service, built on ISO 20022 8. In Thai QR this corresponds to AID A000000677010114 with an OTA in tag 29 1.
Donations and government. The guideline names e-donation projects as a Thai QR use case 1. The BOT lists e-Donation, cross-bank bill payment and Thai QR Payment among PromptPay services 8.
Implementations
Banks and switch. Thai QR payments through PromptPay run over the national switch operated by National ITMX (NITMX). Bangkok Bank and Krungthai settle the China link 10. Bank participation varies by link. The six Thai banks whose codes Chinese apps could pay at launch were Bangkok Bank, ICBC (Thai), Kasikornbank, Krungthai, SCB and BAAC, with Krungsri, GSB, HSBC and TMBThanachart to follow 10.
Open-source libraries:
- dtinth/promptpay-qr: JavaScript, 328 stars, last push January 2023. Web app (promptpay2.me), CLI and library that generate tag-29 payloads 18.
- maythiwat/promptparse: TypeScript, 225 stars, last push September 2026. Parses PromptPay and EMVCo strings, generates PromptPay AnyID, bill-payment (tag 30) and TrueMoney codes, validates checksums and converts BOT bill barcodes to tag-30 codes 19.
- saladpuk/PromptPay: C#, 94 stars, last push December 2022. Reads, writes and validates PromptPay codes 20.
- uunw/thai-qr-payment: TypeScript, new (0 stars, November 2026). Its spec page lists tags 29 (including the OTA AID), 30 (domestic and cross-border AIDs) and 80, with tag 31 only reserved 21. It is listed for its coverage table, not its maturity.
This page's generator. The playground uses Barcoder's promptpay-qr encoder. Checked field by field against Attachment 1 1, it emits:
- tag 29 with AID
…0111and sub-tag01(13-digit0066…mobile),02(13-digit ID) or03(15-digit e-wallet); - or tag 30 with AID
…0112, a 15-digit Biller ID, Reference 1 (required, up to 20) and optional Reference 2 (up to 20); - currency
764, countryTH, no tags 55–57, optional tags 52 and 60 and a terminal ID in tag 62 for bills, and an EMVCo CRC.
That matches the standard. It does not build the customer-presented AID …0114 with an OTA, the cross-border bill AID …2006 with the tag 62 sub-tag 08 amount, tag 31 or tag 80. It also leaves out tag 59. Thai apps must not display that field, but the Thai table does not mark it optional as it does tags 52 and 60.
Comparison
Thai QR vs PromptPay QR. These are often used as synonyms (English Wikipedia's "Thai QR Payment" article is about PromptPay itself 22), but they differ in scope. A PromptPay QR is a Thai QR code whose merchant account is tag 29 or 30. A Thai QR code can also carry card-scheme templates (tags 00–28) and innovation templates (31) in the same symbol 1. See PromptPay QR for the PromptPay rail.
Thai QR vs plain EMVCo MPM. Thai QR keeps the EMVCo data model and CRC but changes some rules 1:
- it fixes the domestic merchant-account tags (29–31);
- it bans tip and convenience fees on PromptPay;
- it makes MCC and city optional for PromptPay;
- it uses baht in
53even for cross-border codes, with the foreign amount in tag 62 sub-tag 08; - it adds a VAT template in tag 80;
- for PromptPay, the payee name shown to the payer comes from a central lookup, not from the code.
An app that parses only base EMVCo MPM can read a Thai QR code but cannot pay it without knowing these rules.
EMVCo tag 30 vs the pipe-delimited bill QR. Both are in the same guideline. Choose tag 30 when payment should go through PromptPay bill payment with a name lookup. Choose the pipe format (Attachment 2) when a bill must also carry the legacy 62-digit barcode data, receipt, tax-invoice or withholding-tax data. None of its fields is mandatory, and it is not an EMVCo string 1.
Fun facts
The Thai standard was announced on 30 August 2017, 30 days after EMVCo first published the QR specifications it is based on 27.
The guideline reserves tag 39 for providers not yet connected to a central system. Once a provider connects, it must stop using tag 39 and reissue its codes under tag 29 or 30 1.
Status
Active. The guideline of 17 April 2019 is the standard the BOT publishes. The English text is an unofficial translation, and the Thai text is authoritative 1. Any change needs BOT approval 1. Coverage keeps growing. The China link opened on 30 October 2025, when the BOT counted cross-border QR collaboration with nine jurisdictions 10. Its cross-border page listed ten jurisdictions as of May 2026 9. NITMX reported 2.38 billion PromptPay transactions in May 2026 and 82.91 million registrations 16; those figures cover all of PromptPay, not QR payments alone. In its May 2026 Payment Directional Paper the BOT plans to separate transfer and payment transaction types and adopt standardised Merchant Category Codes on PromptPay 17. That bears on tag 52, which the 2019 guideline leaves optional for PromptPay 1.
Not public: the BOT/TBA business rules, the Thai QR logo standard and the interoperability-test documents the guideline refers to were not found online. The BOT does not publish Thai QR volumes separately from PromptPay 116. For the wider payments picture see the Thailand payments overview.
Sources
Deployments
Countries whose payments overview mentions this standard: