Thanks for getting in touch with the Community, SL_110.
To properly identify how you should go about this and which accounts you might need to debit/credit, I'd recommend working with an accounting professional.
If you're in need of one, there's an awesome tool on our website called Find a ProAdvisor. All ProAdvisors listed there are QuickBooks-certified and able to provide helpful insights for driving your business's success.
I've also included a couple detailed resources about working with account and detail types, as well as journal entries, which you may find useful moving forward:
Please don't hesitate to send a reply if there's any additional questions. Have a wonderful Friday!