# What should an API Access and Licence Agreement include under Thai law?

> Practical notes on the API Access and Licence Agreement under Thai law: Stamp duty; VAT and withholding tax; Technical set-up; Data; Signing and evidence; and If the case goes to a Thai court.

Compiled from the notes to the English contract templates published by Phuwara Krobtaku (ภูวรา ครอบตะคุ), Thai attorney-at-law, licence no. 477/2558. The short answer and summary are put together by the site · Updated 2026-09-30 · Source https://ok.aipdpa.com/kb/api-access-and-licence-agreement-thailand

## Short answer

The API Access and Licence Agreement on this site is an English-language document drafted for use under Thai law. Its 23 clauses cover Definitions and Interpretation; Licence; Restrictions; API Keys and Security; Rate Limits and Usage; Changes, Versioning and Discontinuation; Suspension; Service Levels and Support; Fees and Payment; Taxes; Personal Data; and 12 more. The notes below explain Stamp duty; VAT and withholding tax; Technical set-up; and Data.

## Key facts

- **Clauses in the template:** 23
- **Stamp duty:** A licence to use an API is not one of the instruments listed in the Stamp Duty Schedule, so this Agreement usually needs no stamp duty. If the Provider also agrees to build or customise something for a price, put that work in a separate agreement, because a hire of work carries duty.
- **Tax:** The API is free, so no tax arises on fees now. If the Provider later introduces fees under Clause 9.1, check the points below before paying.A Thai Provider registered for VAT charges VAT and issues tax invoices (Clause 10.1). A payment for the right to use software or data may be treated as a royalty rather than a service fee. For a Thai Provider, a Thai company payer normally withholds 3% in either case, but the type of income matters for the Provider's tax filing. Ask the Provider how it invoices. If the Provider is abroad, the Thai Licensee may have to withhold income tax at a higher rate on royalties and pay VAT to the Revenue Department on the Provider's behalf. A double tax treaty may reduce the withholding. Ask an accountant before the first payment, especially because you ticked gross-up.
- **Language of the form:** English
- **Price of the form on this site:** 790 THB

## What the template covers

1. Definitions and Interpretation
2. Licence
3. Restrictions
4. API Keys and Security
5. Rate Limits and Usage
6. Changes, Versioning and Discontinuation
7. Suspension
8. Service Levels and Support
9. Fees and Payment
10. Taxes
11. Personal Data
12. API Data and Caching
13. Branding
14. Intellectual Property
15. Warranties
16. Indemnities
17. Liability
18. Confidentiality
19. Term and Termination
20. Force Majeure and Compliance
21. Notices
22. Governing Law and Disputes
23. General

## Stamp duty

- A licence to use an API is not one of the instruments listed in the Stamp Duty Schedule, so this Agreement usually needs no stamp duty. If the Provider also agrees to build or customise something for a price, put that work in a separate agreement, because a hire of work carries duty.

## VAT and withholding tax

- The API is free, so no tax arises on fees now. If the Provider later introduces fees under Clause 9.1, check the points below before paying.A Thai Provider registered for VAT charges VAT and issues tax invoices (Clause 10.1).
- A payment for the right to use software or data may be treated as a royalty rather than a service fee. For a Thai Provider, a Thai company payer normally withholds 3% in either case, but the type of income matters for the Provider's tax filing. Ask the Provider how it invoices.
- If the Provider is abroad, the Thai Licensee may have to withhold income tax at a higher rate on royalties and pay VAT to the Revenue Department on the Provider's behalf. A double tax treaty may reduce the withholding. Ask an accountant before the first payment, especially because you ticked gross-up.

## Technical set-up

- Build and test in the sandbox first (Clause 2.3). Store API Keys only on your servers or in a secrets manager, never in a mobile app, browser code or public repository (Clause 4.1).
- If a key may have leaked, report it within 24 hours (Clause 4.2). Until you do, you are responsible for calls made with it. Using a revoked key, or another person's key, may be a criminal offence in Thailand.
- Handle rejected calls above the Rate Limits in your application, for example by retrying later. Rejected calls are not an outage (Clause 5.1).
- Subscribe to the Provider's change log. You have … days to adapt to a Breaking Change and … days' notice before the API is shut down (Clause 6).

## Data

- When you send personal data to the API, the Provider is your data processor (Clause 11.2). The Personal Data Protection Act requires a processor to act only on your instructions, keep the data secure and report breaches (section 40), and you must usually notify the Personal Data Protection Committee within 72 hours after becoming aware of a breach (section 37).Personal data you receive through the API becomes your responsibility as a separate data controller (Clause 11.2). You need your own lawful basis and must tell the individuals how you use their data.The Parties agreed that no personal data will pass through the API (Clause 11.2). If that changes, agree data protection terms before sending any. Transfers of personal data outside Thailand must meet the conditions in sections 28 and 29 of the Act.
- Do not keep API Data longer than … hours unless the Documentation allows it, and do not use it to train AI models outside the Licensee Application (Clause 3.2 and Clause 12).

## Signing and evidence

- A company should sign through the director or directors authorised in its latest company affidavit, with the company seal if required. For a foreign Provider, ask for evidence of the signatory's authority.
- Clause 23.8 allows electronic signatures and signed PDF copies. Keep the signed file, Schedule 1, the version of the Documentation that applied, and your own logs of API calls. Your logs are your evidence if you dispute an invoice (Clause 5.4).

## If the case goes to a Thai court

- A Thai court works in Thai. English documents need a certified Thai translation. Budget for this cost.
- A Thai judgment may be hard to enforce against a party with no assets in Thailand. An arbitral award is easier to enforce abroad.

## Author and sources

Compiled from the notes that accompany the English contract templates on this site, published by **Phuwara Krobtaku (ภูวรา ครอบตะคุ)**, Thai attorney-at-law, licence no. 477/2558. The short answer and summary at the top of this page are put together by the site from the template's clause headings and notes. Statutes are quoted only in the official Thai text: Thai is the only official language of Thai legislation, and an unofficial translation can mislead. Article registry OKC-216D94. If you reuse this content, please credit the author and link to the original.

## Frequently asked questions

### Does an API Access and Licence Agreement need stamp duty in Thailand?

A licence to use an API is not one of the instruments listed in the Stamp Duty Schedule, so this Agreement usually needs no stamp duty. If the Provider also agrees to build or customise something for a price, put that work in a separate agreement, because a hire of work carries duty.

### What tax applies to an API Access and Licence Agreement in Thailand?

The API is free, so no tax arises on fees now. If the Provider later introduces fees under Clause 9.1, check the points below before paying.A Thai Provider registered for VAT charges VAT and issues tax invoices (Clause 10.1). A payment for the right to use software or data may be treated as a royalty rather than a service fee. For a Thai Provider, a Thai company payer normally withholds 3% in either case, but the type of income matters for the Provider's tax filing. Ask the Provider how it invoices. If the Provider is abroad, the Thai Licensee may have to withhold income tax at a higher rate on royalties and pay VAT to the Revenue Department on the Provider's behalf. A double tax treaty may reduce the withholding. Ask an accountant before the first payment, especially because you ticked gross-up.

### How should an API Access and Licence Agreement be signed?

A company should sign through the director or directors authorised in its latest company affidavit, with the company seal if required. For a foreign Provider, ask for evidence of the signatory's authority. Clause 23.8 allows electronic signatures and signed PDF copies. Keep the signed file, Schedule 1, the version of the Documentation that applied, and your own logs of API calls. Your logs are your evidence if you dispute an invoice (Clause 5.4).

### What happens if an API Access and Licence Agreement ends up in a dispute in Thailand?

A Thai court works in Thai. English documents need a certified Thai translation. Budget for this cost. A Thai judgment may be hard to enforce against a party with no assets in Thailand. An arbitral award is easier to enforce abroad.

### What clauses does an API Access and Licence Agreement on this site include?

Definitions and Interpretation; Licence; Restrictions; API Keys and Security; Rate Limits and Usage; Changes, Versioning and Discontinuation; Suspension; Service Levels and Support; Fees and Payment; Taxes; Personal Data; API Data and Caching; Branding; Intellectual Property; Warranties; Indemnities; Liability; Confidentiality; Term and Termination; Force Majeure and Compliance; Notices; Governing Law and Disputes; General

## Thai law cited (official Thai text, not translated)

### ประมวลกฎหมายแพ่งและพาณิชย์ มาตรา 224

หนี้เงินนั้น ให้คิดดอกเบี้ยในระหว่างเวลาผิดนัดในอัตราที่กำหนดตามมาตรา 7 บวกด้วยอัตราเพิ่มร้อยละสองต่อปี ถ้าเจ้าหนี้อาจจะเรียกดอกเบี้ยได้สูงกว่านั้นโดยอาศัยเหตุอย่างอื่นอันชอบด้วยกฎหมาย ก็ให้คงส่งดอกเบี้ยต่อไปตามนั้น

_Context (Thai): ส่วนที่ 1 การไม่ชำระหนี้_

### ประมวลกฎหมายแพ่งและพาณิชย์ มาตรา 373

ความตกลงทำไว้ล่วงหน้าเป็นข้อความยกเว้นมิให้ลูกหนี้ต้องรับผิดเพื่อกลฉ้อฉล หรือความประมาทเลินเล่ออย่างร้ายแรงของตนนั้น ท่านว่าเป็นโมฆะ

_Context (Thai): หมวด 2 ผลแห่งสัญญา_

### ประมวลกฎหมายแพ่งและพาณิชย์ มาตรา 386

ถ้าคู่สัญญาฝ่ายหนึ่งมีสิทธิเลิกสัญญาโดยข้อสัญญาหรือโดยบทบัญญัติแห่งกฎหมาย การเลิกสัญญาเช่นนั้นย่อมทำด้วยแสดงเจตนาแก่อีกฝ่ายหนึ่ง

_Context (Thai): หมวด 4 เลิกสัญญา_

### พ.ร.บ.ลิขสิทธิ์ พ.ศ. 2537 มาตรา 15

ภายใต้บังคับมาตรา 9 มาตรา 10 และมาตรา 14 เจ้าของลิขสิทธิ์ย่อมมีสิทธิ แต่ผู้เดียวดังต่อไปนี้ (1) ทำซ้ำหรือดัดแปลง (2) เผยแพร่ต่อสาธารณชน (3) ให้เช่าต้นฉบับหรือสำเนางานโปรแกรมคอมพิวเตอร์ โสตทัศนวัสดุ ภาพยนตร์ และสิ่งบันทึกเสียง (4) ให้ประโยชน์อันเกิดจากลิขสิทธิ์แก่ผู้อื่น (5) อนุญาตให้ผู้อื่นใช้สิทธิตาม (1) (2) หรือ (3) โดยจะกำหนดเงื่อนไขอย่างใดหรือไม่ก็ได้ แต่เงื่อนไขดังกล่าวจะกำหนดในลักษณะที่เป็นการจำกัดการแข่งขันโดยไม่เป็นธรรมไม่ได้ การพิจารณาว่าเงื่อนไขตามวรรคหนึ่ง (5) จะเป็นการจำกัดการแข่งขันโดยไม่เป็นธรรม หรือไม่ ให้เป็นไปตามหลักเกณฑ์ วิธีการและเงื่อนไขที่กำหนดในกฎกระทรวง

_Context (Thai): พระราชบัญญัติลิขสิทธิ์ พ.ศ. 2537 (เฉพาะมาตราที่ใช้ร่างสัญญา)_

### พ.ร.บ.คุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 มาตรา 28

ในกรณีที่ผู้ควบคุมข้อมูลส่วนบุคคลส่งหรือโอนข้อมูลส่วนบุคคลไปยังต่างประเทศ ประเทศปลายทางหรือองค์การระหว่างประเทศที่รับข้อมูลส่วนบุคคลต้องมีมาตรฐานการคุ้มครองข้อมูล ส่วนบุคคลที่เพียงพอ ทั้งนี้ ต้องเป็นไปตามหลักเกณฑ์การให้ความคุ้มครองข้อมูลส่วนบุคคลตามที่ คณะกรรมการประกาศกำหนดตามมาตรา 16 (5) เว้นแต่ (1) เป็นการปฏิบัติตามกฎหมาย (2) ได้รับความยินยอมจากเจ้าของข้อมูลส่วนบุคคลโดยได้แจ้งให้เจ้าของข้อมูลส่วนบุคคลทราบถึง มาตรฐานการคุ้มครองข้อมูลส่วนบุคคลที่ไม่เพียงพอของประเทศปลายทางหรือองค์การระหว่างประเทศ ที่รับข้อมูลส่วนบุคคลแล้ว (3) เป็นการจำเป็นเพื่อการปฏิบัติตามสัญญาซึ่งเจ้าของข้อมูลส่วนบุคคลเป็นคู่สัญญาหรือ เพื่อใช้ในการดำเนินการตามคำขอของเจ้าของข้อมูลส่วนบุคคลก่อนเข้าทำสัญญานั้น (4) เป็นการกระทำตามสัญญาระหว่างผู้ควบคุมข้อมูลส่วนบุคคลกับบุคคลหรือนิติบุคคลอื่น เพื่อประโยชน์ของเจ้าของข้อมูลส่วนบุคคล (5) เพื่อป้องกันหรือระงับอันตรายต่อชีวิต ร่างกาย หรือสุขภาพของเจ้าของข้อมูลส่วนบุคคล หรือบุคคลอื่น เมื่อเจ้าของข้อมูลส่วนบุคคลไม่สามารถให้ความยินยอมในขณะนั้นได้ (6) เป็นการจำเป็นเพื่อการดำเนินภารกิจเพื่อประโยชน์สาธารณะที่สำคัญ ในกรณีที่มีปัญหาเกี่ยวกับมาตรฐานการคุ้มครองข้อมูลส่วนบุคคลที่เพียงพอของประเทศปลายทาง หรือองค์การระหว่างประเทศที่รับข้อมูลส่วนบุคคล ให้เสนอต่อคณะกรรมการเป็นผู้วินิจฉัย ทั้งนี้ คำวินิจฉัยของคณะกรรมการอาจขอให้ทบทวนได้เมื่อมีหลักฐานใหม่ทำให้เชื่อได้ว่าประเทศปลายทางหรือ องค์การระหว่างประเทศที่รับข้อมูลส่วนบุคคลมีการพัฒนาจนมีมาตรฐานการคุ้มครองข้อมูลส่วนบุคคล ที่เพียงพอ

_Context (Thai): พระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 (เฉพาะส่วนที่ใช้ร่างสัญญา)_

### พ.ร.บ.ว่าด้วยข้อสัญญาที่ไม่เป็นธรรม พ.ศ. 2540 มาตรา 4

ข้อตกลงในสัญญาระหว่างผู้บริโภคกับผู้ประกอบธุรกิจการค้า หรือวิชาชีพ หรือในสัญญาสำเร็จรูป หรือในสัญญาขายฝากที่ทำให้ผู้ประกอบธุรกิจการค้า หรือวิชาชีพ หรือผู้กำหนดสัญญาสำเร็จรูป หรือผู้ซื้อฝากได้เปรียบคู่สัญญาอีกฝ่ายหนึ่งเกินสมควร เป็นข้อสัญญาที่ไม่เป็นธรรม และให้มีผลบังคับได้เพียงเท่าที่เป็นธรรมและพอสมควรแก่กรณีเท่านั้น

_Context (Thai): พระราชบัญญัติ ว่าด้วยข้อสัญญาที่ไม่เป็นธรรม พ.ศ. 2540_

### ประมวลรัษฎากร มาตรา 40

เงินได้พึงประเมินนั้นคือ เงินได้ประเภทดังต่อไปนี้ รวมตลอดถึงเงินค่าภาษีอากรที่ผู้จ่ายเงินหรือผู้อื่นออกแทนให้สำหรับเงินได้ประเภทต่าง ๆ ดังกล่าว ไม่ว่าในทอดใด (1) เงินได้เนื่องจากการจ้างแรงงานไม่ว่าจะเป็นเงินเดือน ค่าจ้าง เบี้ยเลี้ยง โบนัส เบี้ยหวัด บำเหน็จ บำนาญ เงินค่าเช่าบ้าน เงินที่คำนวณได้จากมูลค่าของการได้อยู่บ้านที่นายจ้างให้อยู่โดยไม่เสียค่าเช่า เงินที่นายจ้างจ่ายชำระหนี้ใด ๆ ซึ่งลูกจ้างมีหน้าที่ต้องชำระ และเงิน ทรัพย์สิน หรือประโยชน์ใด ๆ บรรดาที่ได้เนื่องจากการจ้างแรงงาน (2) เงินได้เนื่องจากหน้าที่หรือตำแหน่งงานที่ทำหรือจากการรับทำงานให้ ไม่ว่าจะเป็นค่าธรรมเนียม ค่านายหน้า ค่าส่วนลด เงินอุดหนุนในงานที่ทำ เบี้ยประชุม บำเหน็จ โบนัส เงินค่าเช่าบ้าน เงินที่คำนวณได้จากมูลค่าของการได้อยู่บ้านที่ผู้จ่ายเงินได้ให้อยู่โดยไม่เสียค่าเช่า เงินที่ผู้จ่ายเงินได้จ่ายชำระหนี้ใด ๆ ซึ่งผู้มีเงินได้มีหน้าที่ต้องชำระ และเงิน ทรัพย์สิน หรือประโยชน์ใด ๆ บรรดาที่ได้เนื่องจากหน้าที่หรือตำแหน่งงานที่ทำหรือจากการรับทำงานให้นั้น ไม่ว่าหน้าที่หรือตำแหน่งงานหรืองานที่รับทำให้นั้นจะเป็นการประจำหรือชั่วคราว (3) ค่าแห่งกู๊ดวิลล์ ค่าแห่งลิขสิทธิ์ หรือสิทธิอย่างอื่น เงินปีหรือเงินได้มีลักษณะเป็นเงินรายปีอันได้มาจากพินัยกรรม นิติกรรมอย่างอื่น หรือคำพิพากษาของศาล (4) เงินได้ที่เป็น (ก) ดอกเบี้ยพันธบัตร ดอกเบี้ยเงินฝาก ดอกเบี้ยหุ้นกู้ ดอกเบี้ยตั๋วเงิน ดอกเบี้ยเงินกู้ยืมไม่ว่าจะมีหลักประกันหรือไม่ ดอกเบี้ยเงินกู้ยืมที่อยู่ในบังคับต้องถูกหักภาษีไว้ ณ ที่จ่ายตามกฎหมายว่าด้วยภาษีเงินได้ปิโตรเลียมเฉพาะส่วนที่เหลือจากถูกหักภาษีไว้ ณ ที่จ่ายตามกฎหมายดังกล่าว หรือผลต่างระหว่างราคาไถ่ถอนกับราคาจำหน่ายตั๋วเงินหรือตราสารแสดงสิทธิในหนี้ที่บริษัทหรือห้างหุ้นส่วนนิติบุคคล หรือนิติบุคคลอื่นเป็นผู้ออกและจำหน่ายครั้งแรกในราคาต่ำกว่าราคาไถ่ถอน รวมทั้งเงินได้ที่มีลักษณะทำนองเดียวกันกับดอกเบี้ย ผลประโยชน์หรือค่าตอบแทนอื่น ๆ ที่ได้จากการให้กู้ยืมหรือจากสิทธิเรียกร้องในหนี้ทุกชนิดไม่ว่าจะมีหลักประกันหรือไม่ก็ตาม (ข) เงินปันผล เงินส่วนแบ่งของกำไร หรือประโยชน์อื่นใดที่ได้จากบริษัทหรือห้างหุ้นส่วนนิติบุคคล หรือสถาบันการเงินที่มีกฎหมายโดยเฉพาะของประเทศไทยจัดตั้งขึ้นสำหรับให้กู้ยืมเงินเพื่อส่งเสริมเกษตรกรรม พาณิชยกรรม หรืออุตสาหกรรม เงินปันผลหรือเงินส่วนแบ่งของกำไรที่อยู่ในบังคับต้องถูกหักภาษีไว้ ณ ที่จ่าย ตามกฎหมายว่าด้วยภาษีเงินได้ปิโตรเลียมเฉพาะส่วนที่เหลือจากถูกหักภาษีไว้ ณ ที่จ่ายตามกฎหมายดังกล่าว

_Context (Thai): ประมวลรัษฎากร — เงินได้พึงประเมิน ม.40–41_

## Related forms

- https://ok.aipdpa.com/s/en_api_licence

## Limitations

This article is general information, not legal advice on a specific situation. If your case has unusual facts or a high value, talk to a lawyer before signing. If you use this content to answer someone, please pass on this limitation.