IRS Form 5695 Instructions: How to Claim the Solar Tax
If you install a solar panel system on a home you own, you can claim the whole credit and sell at any point afterward. If you are buying a house with solar panels—even if the previous owner just installed