Welcome back to the Community. It's vital you're able to enter the returned purchase expense and I'll be happy to show you how.
Based on what you've described, you'll need to enter a Refund Receipt to accomplish your goal. Here's how:
Create a refund receipt
Give this a try and let me know how you make out. If you need further assistance, feel free to contact our support team using this link here.