Investors & landlords

Does this also mean that if I was invoiced for work done on my rental property in Dec. 2017, but I paid the invoice in Jan.  2018, it goes against my 2018 return?