# Emptying transactions or all data

Section: Settings. Address: https://vende.id/docs/pengaturan/kosongkan-transaksi?lang=en

Start clean by deleting the transactions only, or all shop data including products and customers, after a backup is made.

Done trying Vende with test data and want to start clean? Use **Settings → Empty Transactions**. There are two choices: delete the transactions only, or delete all data including the master data.

> **Important:** Emptied data is deleted permanently and cannot be brought back. Vende always makes a full backup first, which you can download in **Settings → Backup** for 7 days.

Only holders of the Settings role can open this page. This is usually the shop owner.

> **Sample data from Run demo:** Empty Transactions removes its sample notes, Empty All Data removes the sample products, customers and suppliers too, and also lets Run demo be used again. See [Running the demo in a new shop](https://vende.id/docs/mulai/menjalankan-demo?lang=en).

## Choice 1: empty the transactions only

What is deleted: every sale and purchase note (including opening balance notes), payments, orders and quotations, stock documents, cash documents, cash counts, the stock history, the points history, the bookkeeping records, and closed periods.

What stays: products and services (with their latest cost price), customers, suppliers, cash accounts, warehouses, branches, categories, units, users, settings, budgets, the activity history, and backups already made.

After emptying:

- the stock of every product becomes zero;
- the balance of every cash account becomes zero;
- document numbering starts again from the beginning.

How to do it:

1. Open **Settings → Empty Transactions**.
2. Check **Records that will be deleted**.
3. Press **Empty All Transactions**.
4. In **Type the shop name to confirm**, type the shop name exactly as it is written under the field.
5. Press **Empty All Transactions** once more.

Moving a running business to Vende? Empty the practice transactions before entering the opening balances. An example is in [Drinking water factory guide: a running business](https://vende.id/docs/panduan/pabrik-air-minum?lang=en#3-emptying-the-practice-transactions).

## Choice 2: empty all data

This choice deletes every transaction plus the master data: products and services, product categories, units, brands, taxes, customers, suppliers, promotions, and more. It suits, for example, the moment before you import the shop's data again.

What stays: the shop, users and roles, settings, branches, warehouses, cash accounts, expense categories, the import history, the activity history, and backups already made.

After emptying, units and product categories go back to those of a new shop. The stock and the balance of every cash account become zero. Document numbering and product codes start again from the beginning. The shop can be used again straight away: add products, then sell as usual.

How to do it:

1. On the same page, look at the **Empty All Data** section.
2. Check **Master data that will be deleted**.
3. Press **Empty All Data**, then check **What will be deleted**.
4. Type the shop name in **Type the shop name to confirm**.
5. Press **Empty All Data** once more.

## While it runs

This job runs in the background. The backup is made first, then the data is deleted. You may leave the page. The result is sent to the bell.

If the backup cannot be made, no data is deleted. Try again a little later.

Want to stop using Vende altogether? That is not done by emptying data, but by [Closing a shop](https://vende.id/docs/pengaturan/tutup-toko?lang=en).
