This part of GOV.UK is being rebuilt – find out what beta means

HMRC internal manual

Business Leasing Manual

Defining long funding leases: commencement and transition: pre-existing heads of agreement: construction of software

Software is not constructed in the same way as physical assets, but the same principles apply as for any other asset.