Deductions & credits

You will deduct expenses the year you actually spent the money to pay for them.