Dashboard sales graph: Reversing a sale

SUGGESTED

Thank you in advance for your help with this.

We generated an invoice which was paid by credit card via our stripe integration with Sage Accounting.

The sale was cancelled but no transaction was entered to reflect this (yet).

The person giving the money is allowing the owner to keep the funds to offset an unrelated debt.

The owner is keeping the money in the business, in the form of owner's equity.

(so the funds will now be posted to owner's equity instead of sales)

Here is the goal:

We wish to reverse/correct the transaction and post to the correct account, but in a way that the dashboard sales graph no longer reflects the sales amount.

Thanks again!!