You were eligible to take a tax credit for installing the solar panels, based on the contract price, as of the day they were "placed in service" (installed, inspected, and turned on), even if you had not fully paid for them at at time. If you did not take this credit, you need to go back and file an amended tax return for the year the solar panels were installed.
The net cost of the solar panels (after subtracting any federal and state tax credits or utility company incentives and rebates) is added to the cost basis of your home and may reduce your capital gains tax when you sell.
Anything else (interest on payments or paying off early) is not a tax deduction, credit or adjustment.