Deductions & credits

It's not whether you get a refund or tax due. And the withholding doesn't matter. It's if you have a tax liability on your income.  Look at your 1040 line 22.  So as long as Line 22 is more than the credit, you'll get the whole credit back.  I don't know the details of how the solar credit works but I think if you can't use it all it carries over to the next year.