Instructions for form 5695 state "costs are treated as being paid when the original installation of the item is completed," so you will need to wait to take the credit once the installation is complete. You can use the full amount for 2019 even though part of it was paid in 2018.