Deductions & credits

Thanks - I understand what qualifies but my question is on timing of payments. Do I deduct the sales tax of the entire project based on when the contract is signed or when payments are made, assuming that the payments cross two years? The answer above says to take the deduction when cash goes out, but then I got another answer saying to take it entirely when the contract is signed.