What should a software development contract cover?
The scope and brief, the stages and the result of each, the acceptance procedure, deadlines and the client's obligations, the payment model and change procedure, code rights and a list of what is handed over, confidentiality, bug fixing after delivery and the support format. Legal wording is worth checking with a lawyer in your country.
More in the guide to the software development contract.