Hi Rocky2079!
Hope you're having a good day! I’m happy to share a way so your receipts can still calculate a tax without charging it to customers.
To do this, we can use a discount item to deduct the tax portion of your receipt. We will make sure to assign an expense account for that item to achieve the journals you mentioned above.
Create a discount item:
After creating the item, add it to the last line of your sales receipt and enter the negative amount of the calculated tax.
That will do it. If you need references about the sales tax topic, you can press F1 to open the Help menu. Then, search for something like paying sales tax or just sales tax.
Let me know if you have other questions about your sales receipt. Have a good day!