Sales, purchases & invoices

How do I safely delete a wrong transaction?

Short answer

Open the transaction and use its available delete action only after checking stock, party balance, payment and linked returns. Prefer editing when the record should remain traceable.