Capital improvements to a principal residence are not deductible but instead are added to the cost basis of the home. This reduces the capital gain that results when the home is sold. The cost of the new roof may qualify for the residential energy credit. In general, traditional roofing materials and structural components don’t qualify for the credit. But some solar roofing tiles and solar roofing shingles serve as solar electric collectors while also performing the function of traditional roofing, serving both the functions of solar electric generation and structural support, and such items may qualify for the credit.
Shifting income to a later year, such as where you defer taxable interest to the following year by purchasing a T-bill or savings certificate maturing after the end of the current year. Investments in qualified retirement plans provide tax deferral.