I billed in Jan'18 for work I did in Dec'17 but the company included it in my 2017 1099-MISC. Can I still use the cash method and exclude that amount from my 2017 taxes?

I'd like to be able to exclude that income from 2017 but am not sure if that will be a problem because it won't match with what the company for which I was consulting filed for my 1099-MISC. I just noticed that although my invoice date was January 2, 2018 and they appear to have cut the check on January 5, 2018, they back-dated the actual check itself to December 29, 2017. So if they're using the accrual method, do I need to do the same?