Void vs. delete

In a real ledger you void (reverse) a posted transaction rather than delete it, so the audit trail stays complete.

Deleting a posted entry erases history and breaks the audit trail — auditors and the CRA expect to see what happened and how it was corrected. Voiding instead posts an offsetting reversal, leaving both the original and the correction on the record.

This is why mature accounting systems make 'delete' rare or impossible for anything that has posted to the ledger.

How Comma handles it

Comma never silently edits posted records. Invoices, bills, payments, and journal entries are corrected by voiding and reversing, and every action — human or AI — is written to the audit log.