- Make journal entries to move the expense and cash from the wrong accounts to the correct ones.
- Void the check, create and post a debit memo and create a new voucher with the correct information and apply the same check number
- Void the check, create a debit memo that fixes the issue and apply a new check.
Most people do the first option since it is straightforward and easy to do. The second option results in a clean transaction. The third option typically results in a call to support because it didn't work out.