You'll need to record a bad debt or write off bad debt as a deduction. This way, your accounts receivable and net income stay up to date. Let me guide you how.
In case you need help with managing customer-related tasks, feel free to browse this link to go to the page. It has our customer topics with articles: Topics about your company's income and customers.
I'll be around if you have other questions or concerns with invoices, so don't hesitate to reply. Take care and be safe.