Yes, if you retain some or all of a security deposit to cover repairs to a rental property, this counts as income for MTD, even though you can set off the cost of the repairs as a business expense. For example, the deposit is £800, and you keep £650 for repairs, the £650 is MTD income even if you spent more than £650 to complete the work.