# Ledger deletion

If allowed by your organization, sometimes is ncessary to delete ledgers, for example in case of a massive mistake.

Deleting legers is often prohibited and can make your accouting inconsistent. You must know what you are doing.

## User Setup

To allow the function enable "Allow Ledger Deletion" flag in "User Setup" page.

## Deletion

Select the action "Delete Document" from these pages:

- General Ledger Entries
- Posted Sales Invoice
- Posted Sales Credit Memo
- Posted Purchase Invoice
- Posted Purchase Credit Memo

[![image.png](https://kb.brayns.it/uploads/images/gallery/2023-10/scaled-1680-/image.png)](https://kb.brayns.it/uploads/images/gallery/2023-10/image.png)