Thank you for getting back to us. Since you already record your transaction and to prevent any duplicate. I suggest creating Journal Entry. To create a journal entry you can follow the detailed steps on this article: Create a journal entry in QuickBooks Online.
I recommend reaching out to your accountant to ensure that your balance sheet will be balanced at the same time to clear the liabilities. If you don't already have an accountant you're working with, you can find one in your area here: Find a ProAdvisor. The accountant will be the best equipped to explain how transactions hitting each account affect your accounting.
Please know that you're always welcome to post if you have any other concerns. Wishing you and your business continued success. Stay safe!