This article will show you how to undo/delete/remove a sale/transaction.
Go to Manager - Sales
Single-click on the sale you wish to remove, then click the Undo button at the bottom of the screen.
Click Yes on the Prompt to remove the sale.
From here you may want to look at How to edit a sale after it's complete