Deductions & credits

Thanks for the quick reply! If I use the date sold then the rental property depreciation is calculated until the date of sold. That doesn't seem to be correct? Shouldn't the depreciation be calculated only until the tenant was there and not when it was being prepped to be sold shortly after?