Hi donna156,
Welcome to Community. Understanding the affected accounts for sales tax in QuickBooks Online, is beneficial in keeping your books balanced.
When you apply taxes on transactions, QuickBooks tracks them all in the GST\HST payable account, in the chart of accounts. After filing sales tax, the amount moves to the GST\HST suspense account. This amount will then hit the bank account once you record the payment or the refund.
In order to view the breakdown of the GST/HST collected or collectible for sales and Line 106 Input Tax credits (ITCs) for expenses, you'll want to use the GST/HST detail report. This shows you each transaction that goes into making up the lines on your sales tax filing. To access this report select Reports on the left navigation menu, then enter GST/HST Detail in the Search field. You'll be able to view the sales tax detail for your sales and expenses.
With regards to your accounts in the GL, you can easily clean up the list by merging accounts. Please be advised that this cannot be undone.
Feel free to reach back out, if you have other questions. We would be glad to assist!