Now that I look at this, I see some issues with the Accounts… the Cash Account is correct, but the Sales and Receivables Accounts are incorrect, in my opinion.
Sales balance should be 80 (same as Cash), not 160.
Receivables balance should be 0, not 80.
I believe an enhanced setup for this should be done, to reverse the Sale.
Here is the way I have it set up:
Set the Refund Item Automation Command
to have Visible State as Status=Submitted
.
Set the Refund Item Action
Price field to 0
.
Ensure Tickets > Ticket Types > Ticket
has Allow Zero Priced Orders
checked.
Then, implement this Tutorial: