Tax credit for storage battery

Regarding the 30% tax credit for purchase/installation of storage batteries for solar panels in 2023, can it be used only to offset federal taxes owed, or will it be paid as tax refund?

 

Thank you.