Deductions & credits

We rent out our condo. I thought that a special assessment needed  be added to the unit's basis and depreciated over 27.5 years. I understand that it cannot be expensed.