Reverse anything. Everything it touched fixes itself
Payroll, loans, bills, invoices and petty cash all share one ledger. Reverse a payment and the bank balance, the loan and the payslip all correct themselves — and a cheque only counts once it clears.