Sales Invoice, A/R and Income

You are referring to the difference between accrual and cash basis accounting. See the Guide:

https://forum.manager.io/t/choosing-accrual-or-cash-basis-accounting/7129