Good morning, @SC212.
Welcome to the Community. I appreciate you coming here with your question about an electronic/non-check transaction.
To get the correct amount in each account, I'd recommend doing journal entries. This will move the funds where they would need to be. Here's how depending on the product you use:
However, I do suggest consulting with your accountant to be sure about this situation.
Feel free to come back if you have any other questions or concerns. We're always here to have your back. Take care!