Home Energy Credit

So I bought an a/c in 2023. Total cost installed was 7,160. I’m taking the standard deduction for filing jointly married at 27,700. My question is before I put the home energy credit in of 2000.00 I owe taxes of 127.00 and when the credit is applied it has been getting back around 1800.00 as a refund. Is this accurate as I thought it was just a credit or something of that nature if you owed excess in taxes or you could carry it over. I didn’t expect a refund.