tax deduction for home insulation

I hired a home insulation company to spray foam insulation into the exterior walls of my home.

I paid 60% of the deposit in July 2023 but the actual work with final payment was completed this month February 2024.

 

Can I write off anything for 2023? Or does it all have to be written off in the 2024 tax year?

 

I am a bit confused on how to proceed.

 

Thanks