What is the process for cleaning up my accounts receivable, as in writing off the debts to clean up old errors or clear balances?
Create a customer item “write off” – You may want to create a financial account for this, check with your accountant.
Then create a credit to remove the balance owing.