Yes, unpaid invoices will show up under your income when running your reports on an Accrual basis. I'm here to help you with customizing your transactions to get the result you need.
At this time, you can open your report on a cash basis to get the accurate total of your income. As stated above, accounts receivable transactions (overdue invoices) are showing up on an Accrual basis.
Open your QuickBooks Online account, then click on Reports at the left pane.
Look for Profit and Loss Detail, then open the report.
Filter the dates, then set the Accounting method to Cash.
Tap on the Run report tab to refresh the page.
For more tips about running and customizing reports in QuickBooks Online, you can open this article: Run reports in QuickBooks Online.
If you have any other questions about your invoices and income transactions, please let me know by adding a comment below. I'm always here to help. Have a good one!