The tax will be payable when a contract has been substantially performed. Where you take possession of the property on completion of the contract (the completion date) that will be the date the SDLT becomes due. If you take possession on a date before the agreed completion date that date will be regarded as triggering the tax.