Hiring & Buying Software

Code ownership, IP and handover: what to get in writing from a development company

By the NeuralSaaS team · Updated · 8 min read

Do not assume that paying for software means you own it. Ownership depends on the contract and the law where you are. Look for clear wording that the custom work product belongs to you and when that happens, a list of pre-existing components and open-source licences, repositories and cloud accounts in your name, and a handover list. This is general information, not legal advice. Have a lawyer read the actual contract before you sign.

Not legal advice, and who is writing this

This guide is general information. It is not legal advice, and rules on copyright and contracts differ between countries. A lawyer who works with software contracts in your jurisdiction should read the real agreement. NeuralSaaS is a software company and has an interest in this topic. The points apply to any vendor, including us. Example wording below shows the kind of thing to ask for, not text to copy.

Who owns custom software that you pay someone to build?

It depends on the contract and the law, and the default is not always in your favour. In many places the person who writes code starts as its author, and rights reach the paying client only if the agreement says so, or if a legal rule for commissioned work applies. Do not rely on assumptions or on what was said in a call.

So the agreement should say it directly: the custom work product created for you belongs to you, and the vendor will make sure its own staff and subcontractors have assigned their rights to the vendor so that the transfer works. Ask the vendor to confirm that. Also ask whether the vendor keeps any right to reuse general know-how, which is normal, as distinct from reusing your specific code or confidential data, which usually is not.

What is the difference between work product, pre-existing components and open source?

Three kinds of material usually sit inside one product, and they follow different rules. Understanding which is which tells you what you can truly take with you.

KindWhat it isWhat you can normally expect
Custom work productCode, designs and documents created for your projectOwnership transfers to you under the contract, at the point it states
Pre-existing componentsTools, frameworks or templates the vendor owned before your projectUsually stay with the vendor; you should receive a licence that lets you run and modify the product
Open-source componentsThird-party libraries released under public licencesStay with their authors; you use them under each licence's terms
Paid third-party servicesHosting, AI model providers, payment or messaging toolsGoverned by that provider's terms and billed to an account

Ask for a written list of the pre-existing and third-party components with their licences. Ask in particular whether any component prevents you from running the product without the vendor, and whether any licence could require you to publish your own source code.

What should you know about open-source licences?

Most modern software is assembled from open-source libraries, and that is normal and healthy. The licences vary. Permissive licences, such as MIT or Apache 2.0, allow commercial use with light conditions like keeping a notice. Stronger copyleft licences, such as the GPL family, can attach conditions to software that includes or is distributed with the covered code, and network-oriented ones can matter even for a hosted service.

You do not need to read every licence. You do need the vendor to confirm that they track licences, that they have not included code under terms that conflict with your plans, and that you will get a list. Ask for wording like: 'The Supplier will provide a list of all third-party and open-source components with their licences at handover and will not include components under licences that require disclosure of the Client's proprietary source code without the Client's prior written approval.' A lawyer can tell you whether the conditions are enough for your case.

When does ownership actually transfer?

Contracts typically choose one of a few moments, and the choice affects your leverage. Check which one your contract uses and what must happen first.

Transfer pointWhat it means for you
On creationYou own each piece as it is made; strongest for you, and less common with vendors who want payment security
On each milestone paymentYou own the work paid for so far; a reasonable middle ground if payments follow accepted milestones
On final paymentYou own nothing until everything is paid; a dispute over the last invoice can freeze your rights
On request or at the endUnclear and risky; ask for a fixed trigger and a deadline instead

Whichever applies, ask that you receive at least a right to use the work in the meantime, and that a disputed invoice does not remove access to what you have already paid for. Also ask what happens to the transfer if the vendor is acquired or closes.

Who should own the repository and the cloud accounts?

You can own the code on paper and still be locked out in practice if everything lives in the vendor's accounts. So ask that the source repository sits in an organisation you own, with the vendor invited as a collaborator, or at least that you have read access from day one.

  • Source code repository, in your organisation, with commit history.
  • Cloud hosting, database and storage accounts, registered to you with the vendor as an admin user.
  • Domain names and DNS, registered in your name.
  • App store developer accounts for mobile apps, in your company's name.
  • Accounts for AI model providers, speech, telephony and messaging services, in your name or billed to your card.
  • Third-party API keys and secrets, stored in a place you control and rotated at handover.
  • Analytics, monitoring and error-tracking accounts.

Giving a vendor admin rights in your accounts, rather than you borrowing theirs, makes the end of the relationship far simpler. It also lets you see costs directly.

What should be on a handover checklist?

Agree the list at the start and attach it to the contract. A good handover lets a different team take over without the first vendor's help. Ask for the following.

  • Full source code and history, in your repository.
  • A README with set-up, build and run instructions that someone else has tested.
  • Environment and configuration documentation, with a list of every environment variable and what it does.
  • Infrastructure description: what runs where, and how it is deployed.
  • A database schema description and a restore procedure for backups, tested at least once.
  • A list of third-party components, services and licences, with who pays for each.
  • Admin access and credentials transferred through a secure method, with vendor access removed afterwards.
  • Architecture notes and the main decisions, with known limitations.
  • For AI features: prompts, test sets, evaluation results and provider settings.
  • A short walk-through session with your next developer.

Keep a final payment share until the handover items are delivered and checked. The software proposal red flags guide explains how to link payments to milestones.

What should you do if the vendor relationship ends badly?

Stay calm, check the contract and keep a record. First, read the termination and ownership clauses: notice periods, what is owed, and what you are entitled to receive. Second, secure access: confirm who holds admin rights to the repository, cloud accounts and domains, and change credentials you control once you are able to do so lawfully under the agreement.

  • Write to the vendor requesting the handover items in the agreement, with a reasonable deadline.
  • Keep copies of emails, invoices, acceptance records and the contract.
  • Ask a new developer to review what you have received before you decide on a rebuild or a repair.
  • Pay what is properly due while disputing what is not, and take advice before withholding payment.
  • Involve a lawyer early if ownership or access is contested.

Most of this is far easier if the contract covered exit at the start. Ask for termination terms that let you stop at any milestone and receive the work done so far. If you already have code from a previous vendor or an AI tool and are unsure of its state, the free vibe code audit skill and the production checklist can help you judge it. This is general information, not legal advice.

Frequently asked questions

Do I own software I pay someone to build?

Do not assume so. Ownership depends on the contract and the law where you are. Look for clear wording that the custom work product belongs to you, and when.

What is the difference between work product, pre-existing components and open source?

Work product is what is built for you, pre-existing components are what the vendor already owned, and open source comes with its own licences. A good contract lists each.

Who should own the repository and cloud accounts?

You should. Repositories and cloud accounts in your name make handover and a change of vendor much easier.

Is this legal advice?

No. It is general information. Have a lawyer read the actual contract before you sign.

Working on something like this?

Describe the workflow and we will tell you what is realistic and what a sensible first step looks like.

Keep reading