There is not an energy credit available for 2023 related to installing a metal roof on your primary residence. That has been an option for an energy credit in the past, but not for 2023 installations.
The 2022 version of Form 5695 line 19c was for the cost of installing a qualified metal or asphalt roof. There were many changes to the Form 5695 and the available credits starting with 2023 and moving forward. The 2023 version of Form 5695 line 19c is for the cost of qualifying exterior doors.
To learn more, see the following IRS FAQ:
Energy Incentives for Individuals: Residential Property Updated Questions and Answers
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"