When a seller sells his capital assets then he can claim expenses on transfer as deduction in arriving capital gains.In this case of yours you can take a view that stamp duty charges were directly attributable to transfer of the capital asset and could claim as expenses on transfer.