
Business & partnership · 4 min read
What should an API Access and Licence Agreement include under Thai law?
Contents
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.
| 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
- 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
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)
The 7 sections below are shared by many kinds of contract, so this page shows only the part that matters here. Each links to its own page with the full official Thai text and source.
ประมวลกฎหมายแพ่งและพาณิชย์ มาตรา 224 →
ส่วนที่ 1 การไม่ชำระหนี้
ประมวลกฎหมายแพ่งและพาณิชย์ มาตรา 373 →
หมวด 2 ผลแห่งสัญญา
ประมวลกฎหมายแพ่งและพาณิชย์ มาตรา 386 →
หมวด 4 เลิกสัญญา
พ.ร.บ.ลิขสิทธิ์ พ.ศ. 2537 มาตรา 15 →
พระราชบัญญัติลิขสิทธิ์ พ.ศ. 2537 (เฉพาะมาตราที่ใช้ร่างสัญญา)
พ.ร.บ.คุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 มาตรา 28 →
พระราชบัญญัติคุ้มครองข้อมูลส่วนบุคคล พ.ศ. 2562 (เฉพาะส่วนที่ใช้ร่างสัญญา)
พ.ร.บ.ว่าด้วยข้อสัญญาที่ไม่เป็นธรรม พ.ศ. 2540 มาตรา 4 →
พระราชบัญญัติ ว่าด้วยข้อสัญญาที่ไม่เป็นธรรม พ.ศ. 2540
ประมวลรัษฎากร มาตรา 40 →
ประมวลรัษฎากร — เงินได้พึงประเมิน ม.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.