Hi mhsibson,
You are entitled to recover VAT as input tax in relation to taxable supplies made in the course of business.
Please see the guidance below:
10. Introduction to input tax
If you sell a residential property which has been converted from a commercial property then the first sale would be Zero rated and therefore a taxable supply.
Please see the guidance below:
5. Zero rating the sale of, or long lease in, non-residential buildings converted to residential use
At the point of deregistration a stock take would need to be carried out to work out any VAT which would need to be paid over to HMRC.
Please see the guidance below:
7. Business assets and stock on hand
Thank you.