If the replacement doors constitute an energy-saving improvement, you may qualify for a tax credit (not a deduction) of up to $500. This dollar limit is lifetime, so if you’ve already used up the full credit, you can’t take it again even though the improvements would otherwise qualify for it. Be sure to add the cost of these capital improvements (minus any tax credit) to the basis of your home. It will help to minimize gain when you eventually sell it. Note that this tax credit expired at the end of 2016 and it is not clear if Congress will revive it for 2017.
A revenue ruling is the Commissioner’s “official interpretation of the interpretation of the law” and generally is binding on revenue agents and other IRS officials. Taxpayers generally may rely on published revenue rulings in determining the tax treatment of their own transactions that arise out of similar facts and circumstances.