Which year should I claim solar energy credits for payments spanning two years?

I have had solar panels installed on my main (only) home. I paid 10% when the project started in 2022, then 80% in January 2023. The remaining 10% balance will come due in March 2023. Should I claim the 10% for tax year 2022 and the 90% balance for 2023? I thought I read that you can only claim once for a single solar energy project -- if correct, then should I claim the 100% for 2022 or for 2023?