Glad to see you here in the Community, @TG2019.
I can walk you through on how you can record the disputed transaction made by your customer in QuickBooks Online.
You can generate a refund receipt to track the payment that has been disputed. In doing this, you'll need to create a service item to handle the service fee so it can be deducted from the entry and enter it as a negative figure. Make sure to track the correct quantity of the products to keep your records accurate.
Here's a sample snip on how the refund receipt will look like:
On the other hand, to help determine if there's going to be a sales tax that needs to be collected in this reversed transaction, I recommend consulting your tax adviser. They'll be able to provide you the best course of action to be taken in this situation since there's no sale made at this point.
To give you more details about generating a refund receipt in QBO, please see this link: Learn how to refund a customer.
Lastly, if you've paid the sales tax calculated before the entry was reversed, I've got this article that will guide you on how to make sales tax adjustment in the system: Learn how to adjust your sales tax due in QuickBooks Online.
I'll be around to help if you have any other questions, @TG2019. Just let me know by leaving a reply below. Have a lovely day!