Investors & landlords

If you put it on a credit card in 2022 but pay off the CC in 2023 then it is still a 2022 deduction.  But if you got the invoice in 2022 but don't pay it until 2023 then it is a 2023 deduction.