Deductions & credits

You will have to claim all the credits/deductions when you file your 2022 tax return next year

since you are going to make the purchases in 2022.