Investors & landlords

Cash basis taxpayers report income when they actually receive it, and expenses when they actually pay them.

The exception is if you set up your business to use the "accrual" accounting method.  But this is complicated, requires an accountant to help you set up, and is uncommon for small businesses.  If you had an accrual accounting method, you wouldn't be asking this question.