Have Legal Questions? Ask a Lawyer Now.
I hope this message finds you well. To directly address the issue, the source code is indeed intellectual property of you and your company and you should require a fee for its use. Decide what an appropriate fee would be based on the market and work to develope this intellectual property and ask this fee for use.
The handling of this arrangement should be done in a small contract that does a few things:
The contract does not have to be big, just needs to address the essential aspects as detailed above.
I hope this helps and best wishes.
You absolutely have the right to charge for the source code unless the specs and initial contract specified otherwise. Moreover, the company should expect to be charged for the use of the source code. Intellectual property is high dollar stuff, especially in your area of expertise and you should protect it with diligence and be compensated accordingly.
Here is a template. You should sign and date as well as the individuals and have it notarized.
To Whom It May Concern:
This letter is to signify the mutual agreement between ____________(Hereinafter "seller" and _____________ (hereinafter "purchaser") to release ________________source code as developed through a contractual work relationship that has now expired. The terms and conditions for the transfer of the __________________ source code are as follows:
__________________________ Date ______________