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

Business & partnership · 4 min read

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

Contents
  1. What the template covers
  2. Stamp duty
  3. VAT and withholding tax
  4. Technical set-up
  5. Data
  6. Signing and evidence
  7. If the case goes to a Thai court
  8. Author and sources
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.

This contract is ready to fill in onlineFill it in within minutes, preview the full contract before you pay, and download a print-ready PDF.
Open the form · 790 THB
Key facts
Clauses in the template23
Stamp dutyA 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.
TaxThe 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 formEnglish
Price of the form on this site790 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.

This contract is ready to fill in onlineFill it in within minutes, preview the full contract before you pay, and download a print-ready PDF.
Open the form · 790 THB

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)

The 7 sections below are quoted from the official Thai text, the only official language of Thai legislation. No translation is given, because an unofficial translation can mislead; check the Royal Gazette before relying on them in court.

Official Thai text

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

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

ส่วนที่ 1 การไม่ชำระหนี้

Official Thai text

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

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

หมวด 2 ผลแห่งสัญญา

Official Thai text

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

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

หมวด 4 เลิกสัญญา

Official Thai text

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

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

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

Official Thai text

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

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

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

Official Thai text

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

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

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

More in Business & partnership

What should an Affiliate Marketing Agreement include under Thai law?Practical notes on the Affiliate Marketing Agreement under Thai law: Stamp duty; Tax on Commission; Setting up the programme; Promotion and disclosure; Suspected fraud; When the Agreement ends; and 1 more.What should an AI Use Addendum include under Thai law?Practical notes on the AI Use Addendum under Thai law: Stamp duty; Make the Addendum part of the existing agreement; Running the rules day to day; Personal data; Copyright in AI-assisted work; and 1 more.What should a Business Asset Purchase Agreement include under Thai law?Practical notes on the Business Asset Purchase Agreement under Thai law: What you are buying — and what you are not; Registered assets; Contracts and premises; Employees; VAT, stamp duty and income tax; Personal data; and 2 more.What should a Beverage Equipment Placement Agreement include under Thai law?Practical notes on the Beverage Equipment Placement Agreement under Thai law: Stamp duty; On the day of installation; Minimum Volume and competition law; Care and breakdowns; Connected Equipment; and Ending the Agreement.What should a Brokerage Agreement include under Thai law?Practical notes on the Brokerage Agreement under Thai law: Broker, not agent; Registering customers; Stamp duty; Tax on commission; Evidence to keep; Ending the Agreement; Signing; and 1 more.What should a Business Introducer Agreement include under Thai law?Practical notes on the Business Introducer Agreement under Thai law: An introducer, not an agent; Registering introductions; Licences and investment deals; Anti-bribery; Stamp duty; Tax on the Fee; and 2 more.