Guide · 3 min read

Who owns the code of your custom software?

You pay for the development, so the software is yours? Not necessarily. In Canada, copyright in code first belongs to whoever writes it, and only a signed document transfers it. Here is what the law says and what your contract should cover.

By the GentBit team Published

The rule: code belongs first to its author

In Canada, Québec included, the answer comes from the Copyright Act, a federal law. It protects a computer program as a literary work, just like a book. Section 13 sets the principle: the author of a work is the first owner of the copyright in it.

Paying for the development does not change that principle. A paid invoice proves you paid for work, not that the rights in the result were transferred to you.

The employee exception

The Act makes one exception: when code is written by an employee in the course of their employment, the employer owns the copyright, unless they agreed otherwise.

The exception does not cover suppliers. A development firm, a freelancer or a contractor is not your employee. Without a written agreement, they remain the owner of the code they wrote for you.

Only a signed document transfers the rights

Copyright can be assigned, in whole or in part. But the Act requires the assignment to be in writing and signed by the owner. A verbal agreement, a vague email or a "client property" line on an invoice is not enough.

Without a written assignment, a court may recognize that you can at least use the software for its intended purpose. But how far that right goes is uncertain: modifying the software, having another firm maintain it, reselling it or offering it to your own customers can then be disputed. The problem usually surfaces when you change suppliers, which is the worst possible moment.

Check the whole chain of rights

A supplier can only assign what it owns. If part of the code was written by a subcontractor or freelancer it hired, the firm must itself have obtained a written assignment from those people. Your contract should therefore include a warranty: the supplier holds all the rights it assigns to you, including those of its employees and subcontractors.

What your contract should cover

  • assignment of copyright in the code developed for you, at the latest when each milestone is paid;
  • a waiver of the author's moral rights: they cannot be assigned and an assignment does not waive them automatically, but the author can waive them;
  • a warranty that the supplier holds the rights of its employees and subcontractors;
  • delivery of the complete source code, with its history and documentation: owning the code and having it in hand are two different things;
  • accounts in your name: code repository, hosting, domain name, Apple and Google accounts, third-party services;
  • what happens to components the supplier already owned: if they are not assigned, a perpetual, irrevocable licence that lets you modify them and have a third party maintain them;
  • the list of open-source software used and its licences: it remains its authors' property, and some licences carry obligations if you distribute the software;
  • ownership of your data and your right to export it, in a readable format, at any time.

An assignment that takes effect on payment is normal: the supplier protects itself against an unpaid invoice. What is not normal is a contract that says nothing on the subject.

When the platform is rented

If the supplier adapts a product it already sells, or if you subscribe to online software, you get a licence to use it, not ownership. That can be a reasonable choice. Then check three things: that your data belongs to you and can be exported, what happens if the supplier shuts down or drops the product, and whether an escrow clause is possible, meaning the code is deposited with a third party who would release it to you in those situations.

Your software already exists without a written assignment?

Ask for a written assignment, even after the fact. It is much easier to get while the relationship with the supplier is good than during a break-up. Use the opportunity to recover any access that is not yet in your name: our checklist for taking over an application lists them.

How we work

At GentBit, the contract assigns to the client the rights in the code developed for them. The code, hosting and accounts are in the client's name from day one. If you ever change providers, you leave with everything. It is also what lets us take over, under a maintenance contract, applications we did not build.

This guide gives general information on Canadian law. It is not legal advice: for a significant contract, have it reviewed by a lawyer.