You should mark the invoice as paid from the cash account
The transaction of cash going into your personal account can be tagged as a transfer from cash account.
And the transfer from personal to business can be tagged as just a bank transfer.
If you haven’t got your personal account set up in quickfile then just tag invoice as paid from cash account then just tag the money coming in to the business account as a transfer from cash account.