# How entries work

Luca / Record transactions
Source: https://www.aiwork.app/docs/luca-how-entries-work

What Provisional, Posted and Reversed mean, and how to edit, delete or correct an entry.

Every sale, purchase, payment, bank movement and journal is an entry. You can create entries in **Entries**, import them, or have Luca draft them (see [Review what Luca records](https://www.aiwork.app/docs/luca-review-what-luca-records.md)). However an entry is made, these rules apply.

## Where entries live

**Entries** has four tabs: **Sales**, **Purchases**, **Bank** and **Journal**; credit and debit notes are under Journal. Click a row to open the entry. Luca numbers every entry, and an icon shows whether Luca, the system or a person created it.

You can filter the Sales and Purchases tabs by status, party, entry type and date.

## Statuses

**Provisional** entries count in your books but can still be edited in full or deleted. An entry stays provisional for 120 hours after it's created.

**Posted** entries are locked: amounts, accounts and lines can't change. Click **Edit metadata** to change details that don't affect the numbers, such as the note, attachments and, on a sales invoice, the due date and sales categories.

**Reversed** entries have been cancelled by a reversing entry. They stay on record but have no effect.

Invoices also show Paid or Unpaid.

## Edit or delete a provisional entry

Open the entry and click **Edit** to change any field, including items and ledger lines, then **Save**. Or click **Delete**.

Credit notes and debit notes can be edited while provisional but can't be deleted.

> **Deleting can't be undone**A deleted entry is removed from your books for good. Once an entry is posted, it can't be deleted; correct it instead.

## Correct a posted entry

Open the entry and click **Correct Entry**. You have two choices:

- **Revert** creates a reversing entry straight away. Use it when the entry shouldn't exist at all.
- **Edit Draft** creates a corrected draft, numbered with a `CORR-` prefix, for you to fix. The original stays in place until you click **Submit Correction**. Luca then reverses the original and posts the corrected version.

## Closed periods

Once a year is closed, you can't record or change entries dated in it. See [Year-end closing](https://www.aiwork.app/docs/luca-year-end-closing.md).

## Attachments

Attach receipts, invoices and other documents to any entry when you create or edit it, uploading from your computer or choosing a file already in the book. On posted entries, use **Edit metadata**.

Attachments are part of the paid plans, and the number, size and type of files depend on your plan; see [Plans and limits](https://www.aiwork.app/docs/luca-plans-and-limits.md). On the Free plan you can still open files attached earlier.

## The preview

Entry forms preview the ledger lines they will post, and won't save until debits and credits balance.
