Hiring engineers and teams

Contracts and IP when you hire abroad

Code written abroad belongs to you only if the paperwork says so. This covers Vietnam's default rules, and the clauses to check in your contract.

By the duyan team · Updated · 4 min read

Hiring engineers and teams

In short

  • In Vietnam, an employer owns the economic rights in code its staff write on assigned tasks.
  • Through a provider, the provider owns it first. Your contract must then assign it to you in writing.
  • Engineers keep some moral rights, such as being named as the author.
  • Read the clauses on ownership, existing code, data, notice and how access ends.

What to check first

Your contract should assign the code to you in writing. Then check who employs the engineers, and how their access ends.

The rules below are Vietnam's. Your own country's law may also apply, depending on the contract.

Who owns code written in Vietnam

Vietnam protects software as a literary work, in source or object code. The rule is in the Law on Intellectual Property (No. 50/2005/QH11, Article 22), which has been amended several times since.

Under Article 39, an organisation that assigns an employee to create a work owns its economic rights. It also holds the right to publish it, unless the parties agree otherwise.

The same applies to anyone who contracts an author to create a work (Article 39.2). Practitioners advise naming the task clearly, in the labour contract or the company's rules.

What the engineer keeps

The author keeps moral rights, such as being named and protecting the work from distortion. Since the 2022 amendments (Law No. 07/2022/QH15), the right to name a work can be transferred.

Whether the other moral rights can be waived hasn't been tested in court. Lawyers still advise asking for a waiver in the contract.

How ownership reaches you

When you hire through a provider, the engineers are its employees. Their work belongs to the provider first, under Article 39.

So your contract with the provider must pass it on to you. Under Article 46, a copyright assignment must be in writing.

It must name both parties and the basis for the assignment. It must also set the price, each side's duties and the liability for breach.

Recording the assignment with Vietnam's Copyright Office is optional. The signed contract is valid without it.

Code written with coding agents

Vietnam's amended IP Law (No. 131/2025/QH15) has applied since 1 April 2026. It left the rules on AI⁠-⁠assisted work to the Government.

Those rules came in Decree 134/2026/ND⁠-⁠CP, in force since 9 April 2026. A work made with AI is protected only where a person led the creative work.

Work created entirely by AI isn't protected. If asked, the creator must prove their part, and prompt history and drafts count as evidence.

So keep a record of who directed and reviewed each change. Your repository's history and reviews already do most of this.

Clauses to read before you sign

  • Ownership. Is the work assigned to you as it's created, or only once it's paid for? Know which, and what happens to work in progress.
  • Existing code. The provider may reuse its own libraries. You need a lasting licence to use them, at no extra cost.
  • Open⁠-⁠source code. Ask for a list of the licences used. Check none of them would oblige you to publish your own code.
  • Where the work lives. Your repositories and accounts, under your company's name, with access you can remove in one step.
  • Confidentiality. Vietnam's Labour Code (No. 45/2019/QH14, Article 21) lets employers agree secrecy terms with staff. Ask whether the engineers on your work have signed one.
  • Personal data. If the team sees customer data, you need a data-processing clause. Vietnam's Law on Personal Data Protection (No. 91/2025/QH15) took effect on 1 January 2026.
  • Term and notice. The minimum term, the notice to stop or change, and what you receive on the last day.
  • Replacements. Who pays to replace someone who leaves, and how soon.
  • Hiring the provider's staff. Many contracts stop you hiring the provider's engineers directly. Check how long that lasts.
  • Law and disputes. Which country's law applies, and where a dispute would be heard.

Notice works on two levels

Your notice to the provider is set in your contract. The engineer's notice to the provider follows the Labour Code.

On an open-ended contract, an engineer who resigns gives at least 45 days' notice (Article 35). A fixed⁠-⁠term contract of 12 to 36 months needs at least 30 days.

So a provider often knows weeks ahead that someone is leaving, and can plan the handover.

What to do this week

  • Find the ownership clause in each contract you have with a provider abroad.
  • Check that your repositories, cloud accounts and domains are in your company's name.
  • Ask each provider how its labour contracts give it the rights it passes on to you.
  • List everyone with access, and how you would remove it.

This is general information about the law. For your own contract, check with a lawyer in each country involved.

Two ways to work with us

A fixed-price project we build and can run. Or senior engineers in your team full⁠-⁠time, one or several, from $4,200 a month.

Sources

  1. National Assembly of Vietnam, Law on Intellectual Property No. 50/2005/QH11 (Articles 19, 20, 22, 39, 45, 46), English translation on WIPO Lex, wipo.int , and ANT Lawyers, antlawyers.vn (accessed 5 November 2026)
  2. Viet An Law, "Intellectual Property Law revised, Law 07/2022/QH15", vietanlaw.com (accessed 5 November 2026)
  3. Thư viện Pháp luật, "Chủ thể nào là chủ thể quyền tác giả? Chủ sở hữu quyền tác giả là gì?" (Article 39, clauses 1 and 2, current text), thuvienphapluat.vn (accessed 5 November 2026)
  4. Tilleke & Gibbins, "Intellectual Property Transactions in Vietnam: Overview" (Practical Law Country Q&A, law stated as at 1 December 2022), tilleke.com (accessed 5 November 2026)
  5. Viet An Law, "Vietnam's Amended IP Law 2025 (Law No. 131/2025/QH15): Key Highlights", vietanlaw.com , and Vietnam Briefing, "Vietnam Amends Intellectual Property Law: Key Changes for Businesses" (23 December 2025), vietnam⁠-⁠briefing.com (accessed 5 November 2026)
  6. Tilleke & Gibbins, "Vietnam Enacts Landmark IP Law Amendments" (17 December 2025), tilleke.com (accessed 5 November 2026)
  7. National Assembly of Vietnam, Labour Code No. 45/2019/QH14 (Articles 21 and 35), English translation at vietnam⁠-⁠legal.com (accessed 5 November 2026)
  8. LuatVietnam, "Law on Personal Data Protection, Law No. 91/2025/QH15", english.luatvietnam.vn (accessed 5 November 2026)
  9. Viet An Law, "Decree 134/2026/ND⁠-⁠CP on AI copyright and AI⁠-⁠generated works in Vietnam", vietanlaw.com , and Baker McKenzie's client note on the decree (13 May 2026) (accessed 5 November 2026)

Tell us the role

Describe the work, your stack and your team. You meet candidates within 2 weeks.

No recruitment fee. Replacement at our cost.