23 Nov
23Nov

Buying a Software Business in Canada: Key Legal Due Diligence Considerations

Software Companies Have Unique Risks That Buyers Need to Understand Before Closing

Buying a software company can be an attractive business acquisition. Software businesses can have recurring subscription revenue, relatively low physical operating costs, valuable intellectual property, and the ability to grow without proportionately increasing their workforce or infrastructure.

But acquiring a software business also presents some unique legal and commercial risks. Unlike buying a traditional manufacturing or service business, much of the value of a software company may depend on intellectual property, source code, customer data, software licensing arrangements, and technology that the business does not actually own.A buyer who focuses only on revenue, profitability, customer contracts, and financial statements can miss some of the most important risks.

This article covers the key legal due diligence considerations when buying a software company in Canada, particularly for acquisitions in the $1 million to $25 million range.


1. Does the Company Actually Own Its Software and Intellectual Property?

This is probably the most important legal due diligence issue when acquiring a software business.

A software company's most valuable asset is often its proprietary software, source code, technology, and related intellectual property. Buyers need to establish that the company actually owns these assets and has the legal right to commercialize them.

This sounds straightforward, but it is surprisingly common for software companies to have gaps in their intellectual property ownership.

For example:

  • Employees. Software developed by employees in the course of their employment will generally belong to the employer under Canadian copyright law. However, inventions, patents, work created outside the scope of employment, and other intellectual property can involve different rules. Written intellectual property assignment provisions are important.
  • Independent contractors. Contractors generally retain ownership of copyright in the work they create unless they have assigned it to the company in writing. A software company that hired freelance developers or outside programmers may not actually own everything they paid to have developed.
  • Founders. Founders sometimes develop software before incorporating the company or before signing proper intellectual property assignment agreements. The company needs to have legally acquired those rights.
  • Third-party developers. If the company outsourced software development, the underlying development agreements and intellectual property assignments need to be reviewed carefully.

A buyer should also confirm that the company owns or controls its trademarks, domain names, proprietary databases, technical documentation, and other intellectual property necessary to operate the business.

If the company does not actually own its core software, the buyer may be paying millions of dollars for an asset that the seller cannot legally transfer.


2. Open-Source Software and Third-Party Technology

Most modern software products incorporate some amount of open-source software and third-party technology. This is not inherently a problem. In fact, it is standard practice in software development.

However, the terms of the applicable open-source licences matter.

Some open-source licences are relatively permissive. Others contain conditions that can require a company distributing or commercially exploiting software to make certain source code available or license derivative works under the same terms.

For a software company that sells proprietary software, this can create significant problems if its developers have incorporated open-source components without properly understanding the licensing obligations.

Buyers should investigate:

  • Which open-source software libraries and components are incorporated into the company's products.
  • Whether the company complies with the applicable licensing and attribution requirements.
  • Whether any components carry reciprocal or copyleft obligations.
  • Whether the company uses third-party software under commercial licences that can be transferred to a buyer.
  • Whether any third-party technology creates restrictions on modifying, distributing, or commercializing the software.

A technical open-source software audit can be particularly important when the acquired company's value depends on proprietary source code.

The buyer should also determine whether the company has used artificial intelligence tools or externally developed code in building its products and whether it has the necessary rights to use and commercialize the resulting software.


3. Customer Contracts, Recurring Revenue, and Software Licensing

Many software companies generate revenue through recurring subscriptions, commonly referred to as Software as a Service (SaaS).

Unlike a traditional business that sells products or provides services through individual transactions, a SaaS company may depend on hundreds or thousands of customers paying monthly or annual subscription fees.

Buyers need to understand exactly what they are acquiring.

Important issues include:

  • Customer agreements. Review the company's standard software subscription agreements, enterprise agreements, licensing agreements, and service contracts.
  • Change of control provisions. Some customer contracts allow customers to terminate or renegotiate their agreements following a sale of the company.
  • Assignment restrictions. Certain agreements may require customer consent before they can be assigned or transferred.
  • Automatic renewals. Confirm how subscription renewals work and whether customers can cancel at any time.
  • Service level agreements (SLAs). Review uptime commitments, service credits, support obligations, and remedies available to customers if the software does not perform as promised.
  • Termination rights. Understand when customers can terminate their agreements and whether the company has any continuing obligations after termination.
  • Indemnification. Determine whether the company has agreed to indemnify customers for intellectual property infringement, data breaches, or other liabilities.

A buyer should also compare the company's reported recurring revenue with the actual customer contracts and billing records.

Annual recurring revenue (ARR), monthly recurring revenue (MRR), customer churn, customer concentration, and renewal rates are important commercial metrics, but they should not simply be accepted at face value.

A business reporting $2 million in annual recurring revenue may be considerably less attractive if a large portion of that revenue comes from customers who can terminate their subscriptions immediately or whose contracts cannot be transferred without consent.


4. Customer Data, Privacy Laws, and Data Security

Software companies frequently collect, store, process, and access significant amounts of customer and personal information. This creates important legal obligations under Canadian privacy legislation. 

Depending on where the company operates and where its customers are located, applicable legislation may include:

  • The federal Personal Information Protection and Electronic Documents Act (PIPEDA).
  • British Columbia's Personal Information Protection Act (PIPA).
  • Alberta's Personal Information Protection Act (PIPA).
  • Quebec's private-sector privacy legislation, including the requirements introduced by Law 25.
  • Other provincial and foreign privacy laws where the company operates or has customers.

The applicable privacy legislation depends on the company's activities, the location of its customers and data, and whether information crosses provincial or international borders.

Buyers should investigate:

  • What personal information the software collects and stores.
  • Whether the company has obtained the necessary consent to collect, use, and disclose that information.
  • Whether its privacy policies accurately describe its actual data practices.
  • Whether the company has appropriate data retention and deletion policies.
  • Whether customer data is stored in Canada or in foreign jurisdictions.
  • Whether the company shares personal information with third-party service providers.
  • Whether the company has experienced any data breaches or privacy complaints.
  • Whether it has complied with applicable breach reporting and notification requirements.

Cybersecurity is another important consideration. A company may have valuable software and a substantial customer base but inadequate security practices.

Buyers should investigate previous security incidents, penetration testing, vulnerability assessments, access controls, backup procedures, disaster recovery plans, and the company's ability to respond to a cyberattack.

A serious cybersecurity problem or undisclosed data breach can create significant liabilities after closing.


5. Source Code, Cloud Hosting, and Technology Infrastructure

A software company's ability to operate its products depends on more than simply owning its source code.

Many software businesses rely on third-party cloud infrastructure, hosting providers, databases, application programming interfaces (APIs), payment processors, and other technology providers.

For a SaaS company, these services may be essential to delivering its products to customers.

Buyers should understand:

  • Where the software is hosted and who controls the hosting environment.
  • Whether the company uses Amazon Web Services (AWS), Microsoft Azure, Google Cloud, or other cloud providers.
  • Whether the hosting and infrastructure agreements can continue after the acquisition.
  • Whether the company has appropriate backups and disaster recovery procedures.
  • Whether the source code is maintained in secure repositories.
  • Whether key developers have exclusive knowledge of critical parts of the software.
  • Whether the company has adequate technical documentation.
  • Whether source code escrow arrangements exist with major customers.
  • Whether the company has any significant technical debt or outdated infrastructure.

Technical debt is particularly important. A software product may generate substantial revenue while relying on outdated code, obsolete programming languages, or infrastructure that will require significant investment to maintain or replace.

A buyer should consider engaging an independent technical specialist to review the software architecture, source code, cybersecurity, and infrastructure before completing the acquisition.

Legal due diligence and technical due diligence serve different purposes, but both are important when acquiring a software company.


6. Employees, Developers, and Key Person Risk

Software companies can be heavily dependent on a relatively small number of developers, engineers, and technical employees.

In some cases, one or two individuals understand most of the company's source code, architecture, and technical infrastructure.

If those individuals leave shortly after closing, the buyer may find it difficult to maintain, modify, or improve the software.

Buyers should review:

  • Employment agreements and intellectual property assignment provisions.
  • Independent contractor agreements.
  • Confidentiality and trade secret protections.
  • Compensation, bonuses, and stock option arrangements.
  • Change of control payments and termination obligations.
  • Employee retention arrangements.
  • Outstanding claims or disputes involving employees and contractors.

It is particularly important to understand whether the company's intellectual property has been properly assigned to the business by every developer who contributed to its creation. 

A buyer should also identify the key technical employees who need to remain with the business after closing and consider whether retention bonuses or other incentives are appropriate.


7. Artificial Intelligence, Software Development, and Intellectual Property Rights

Artificial intelligence is increasingly being used by software companies to develop products, write code, automate processes, and provide services to customers. This creates some new due diligence considerations.

For example:

  • Does the company use generative AI tools to write or modify its source code?
  • Do its developers use AI tools under the company's approved policies?
  • Has the company incorporated AI-generated content or code into its commercial products?
  • Does the company have the necessary rights to use the data used to train or customize its AI systems?
  • Are customer data and confidential information being submitted to third-party AI platforms?
  • Does the company make representations to customers about the use, accuracy, or security of its AI technology?

The legal ownership and licensing of AI-generated material can be complicated, and the answers may depend on the tools used, their contractual terms, and the nature of the material being generated. For a buyer acquiring a software company that develops or commercializes AI products, these issues deserve particular attention.


8. Canadian Regulatory Compliance and Tax Considerations

Software companies are not automatically subject to a single set of industry regulations simply because they develop or sell software. 

However, depending on their products and customers, they may be subject to additional regulatory requirements. For example, software used in financial services, healthcare, telecommunications, or other regulated industries may involve additional compliance obligations. 

Another Canadian consideration is Canada's Anti-Spam Legislation (CASL). Software companies that send commercial electronic messages to customers or prospective customers need to comply with applicable consent, identification, and unsubscribe requirements. 

Buyers should also review the company's tax position, including:

  • Corporate income tax filings and outstanding tax liabilities.
  • GST/HST and applicable provincial sales tax obligations.
  • Tax treatment of software subscriptions and licensing revenue.
  • Cross-border sales and foreign tax exposure.
  • Employee and contractor payroll obligations.
  • Any Scientific Research and Experimental Development (SR&ED) tax credits claimed by the company.

SR&ED tax credits can be particularly relevant for Canadian software businesses. Buyers should examine the company's historical claims, supporting documentation, and eligibility for credits that have been claimed or are expected to be claimed.


How Software Due Diligence Should Affect the Deal

The purpose of due diligence is not simply to identify problems. It is to determine how those problems should affect the acquisition price, transaction structure, and purchase agreement. Depending on what the review uncovers, a buyer may:

  • Require founders, employees, or contractors to sign missing intellectual property assignments.
  • Obtain customer or supplier consents before closing.
  • Require the seller to resolve outstanding open-source licensing issues.
  • Adjust the purchase price to reflect technical debt or other identified risks.
  • Negotiate specific representations and warranties concerning intellectual property, privacy, cybersecurity, and customer contracts.
  • Negotiate indemnification provisions, holdbacks, or escrow arrangements for identified liabilities.
  • Require key technical employees to enter into new employment or retention agreements.
  • Obtain additional technical due diligence before committing to the transaction.
  • Decide that certain risks are too significant to proceed with the acquisition.

These issues are generally easier to address before the purchase agreement is signed than after the buyer has committed to the transaction. 

A buyer who discovers that the company does not own its core software, has serious privacy compliance problems, or is dependent on an expiring third-party technology licence needs to understand those problems before agreeing to pay for the business.


Why a Canadian M&A Lawyer Matters When Buying a Software Business

Acquiring a software company involves the intersection of corporate law, intellectual property law, privacy law, technology contracts, and M&A transaction structuring. The legal issues can be quite different from those involved in acquiring a conventional manufacturing, distribution, or service business. 

At Tetrapolar Law, I work exclusively for buyers acquiring businesses in Canada. I am Stefan McConnell, a former Big Law Partner with more than 18 years of M&A experience. I advise Canadian and American buyers on acquisitions typically in the $1 million to $25 million range, including software companies, SaaS businesses, e-commerce businesses, technology companies, and other privately held businesses. 

My focus is on representing buyers, identifying legal risks, negotiating appropriate protections, and helping clients complete successful business acquisitions. 

If you are considering buying a software company in Canada, I would be glad to help you understand the legal issues and navigate the acquisition process.

If you are still evaluating an opportunity, a one-hour deal strategy session is a good place to start. There is no retainer and no commitment to hire me afterward, just a candid conversation about the business you are considering buying and what you need to understand before proceeding.

Come as you are. You don't need to have it all figured out yet.


Stefan McConnell is the founder of Tetrapolar Law, a Canadian M&A law firm focused exclusively on buyer-side business acquisitions in Canada. He is a former Partner at a national Big Law firm and the author of Unlock Your Future: A Guide to Buying a Business for Maximum Profit and Freedom (available on Amazon). He advises Canadian and American buyers on acquisitions in Canada.

Contact: info@tetrapolar.ca | www.tetrapolar.ca

This article is general information only and is not legal advice.