Hi there usertreasurer8,
it's vital that all your transactions are entered correctly so that your books ca be well balanced. QuickBooks Online is a great tool able to help you keep track of sales and expenses so you can see the profit of your company. I can point you in the right direction for assistance in entering these transactions.
For help with splitting the transaction correctly, and then matching it to a square deposit, I recommend reaching out to the QuickBooks Online support team outside of the Community. They'll be able to guide you through a screen share in how to split the transaction to the correct accounts, then have it deposited. You can reach them using these steps:
Schedule a Callback or start a Chat: click (?)Help in the upper right > type and enter "Contact support" into the QB Assistant > click Contact Us > explain your situation > click Let's Talk > choose Get a callback or Start a Chat.
If you have any other questions, feel free to reach out here.