Select Finance > Accounts Receivable > Delete Debtors from the main menu. You can only delete a debtor if there are no transactions for that debtor.