# Review and categorise transactions

> Work new bank activity in the AI triage view: matches, rule hits, auto-classified and needs-review lines with review signals, inline edits that never post without confirmation, the review-and-post queue with feedback, bulk edits with undo and saved views; then match or categorise what is left by hand.

Source: /help/en/bank/review-and-categorise-transactions

Every imported statement line starts in **Needs review**. The Bank page opens in **Triage**, where rules, the matcher and the AI provider have already proposed what each new line is; you confirm, edit or reject, and post. The **Classic list** is one click away (the choice is remembered per user). Sections 1 to 5 below cover the triage view; sections 6 to 10 the matching and categorising dialogs it builds on.

## 1. The triage view (F-BANK-006)

New activity (feed, statement and processor lines that are not yet matched, categorised or excluded) is grouped:

| Group | What it means |
|---|---|
| Matches | an open invoice, bill or recorded payment fits the line (the matcher's best candidate) |
| Rule hits | one of your [rules](/help/en/bank/rules-splits-and-duplicates) proposed the booking |
| Auto-classified | the AI provider is confident (at or above the organisation threshold, default 0.80) and nothing looks unusual |
| Needs review | something needs a person: a review signal, or no proposal at all |
| Awaiting approval | a [posting approval tier](/help/en/settings/posting-approvals) routed the posting to the Approvals inbox |
| Posted from the queue | posted from this queue in the last 30 days, quick entries included |

Review signals mark a line for a person whatever its source: **Unknown vendor** (no counterparty in the books), **Split** (the proposal has several lines), **Divisible by 100** (a round amount, unless the rule asked for it), **Low confidence**, **Possible duplicate** (see [duplicates](/help/en/bank/rules-splits-and-duplicates)) and **Foreign currency** (shown, not blocking). The scenario of user testing: in a feed of 40 lines an unknown vendor, a split across two cost centres, a divisible-by-100 amount and a low-confidence item all land in Needs review, and nothing posts until you confirm each.

Each line shows its proposal: the source badge (Rule, AI or Match), the account, the counterparty, the VAT category, the confidence and the reason. **Edit** changes the account, counterparty (an existing contact or a new name), VAT and cost centre in place and confirms; **Confirm** posts the line through the same function the Categorise or Match dialog uses, so nothing posts except through the ledger's posting function (F-CATEG-015).

## 2. AI categorisation (F-CATEG-001)

Categorisation runs on **new bank activity only**, when a line arrives (the daily job) and on **Classify now**. The rules run first (deterministic and free); the provider runs over the rest when **AI categorisation** is on under Settings → Accounting → Posting of documents, proposing an account, counterparty and VAT treatment with a confidence and a reason, reading your recent decisions as examples. It also **proposes rules** for repeated vendors; a suggestion is created only when you accept it on the Rules page, never applied by itself. Without the switch the rules still run and the rest waits in Needs review.

**Class, department and location.** When the client memory or a coding skill remembers a class, a department or a location for the counterparty, the proposal carries them and the queue shows them as chips under the account (the model never invents a dimension: it comes from a decision you confirmed or a skill you wrote). Confirming posts them with the line; a withdrawal or a split carries them to the ledger line, an expense keeps them on the proposal and in the memory until expense lines take a class (Phase H).

## 3. The review-and-post queue (F-CATEG-015)

- **Confirm** on a line, or select lines (per group or one by one) and **Post selected**: each line posts in its own subtransaction and the result is reported per line (posted, awaiting approval, failed with the reason). Nothing posts that you did not name.
- **Reject** keeps the line in Needs review and records a rejected feedback row; **thumbs up / down** record feedback on a proposal, **Reply** saves a note as a memo. The provider reads recent feedback as examples, so edited and rejected proposals teach it.
- A line routed to approval waits in Awaiting approval; the approver decides in the Approvals inbox (badge *Bank posting · Source: …*).

## 4. Bulk editing (F-CATEG-018)

Select lines and **Bulk edit**: set the account, counterparty, VAT category, cost centre or memo on every selected proposal that is not posted yet (a posted or routed line is skipped). Nothing posts. **Undo last bulk edit** restores the previous proposals of the lines that are still open.

## 5. Saved views and search (F-CATEG-012)

**Views** saves the current view (triage or classic), status filter and search under a name, per user; pick a view to apply it. The search box filters the lines shown; the workspace **search** (section 9) finds lines, entries and documents across the file.

The following sections cover the dialogs the triage builds on; the same functions run under the hood.

## 6. Match a line (F-BANK-007)

Click **Match…** on a line. Alya Books lists scored candidates of every kind:

| Kind | What it is |
|---|---|
| Customer invoice | an open invoice (credits only); a payment is recorded |
| Bill or supplier invoice | an open bill or accepted supplier e-invoice (debits only); a payment is recorded |
| Recorded payment | a payment already recorded by hand without a bank line (invoice, bill, reimbursement, refund); the line is linked, nothing new posts |
| Ledger entry | a posted journal on the bank account (a manual journal, a schedule run, an expense paid from the account, a manual bank transaction); linked |
| Deposit | a deposit of undeposited funds waiting for its statement line |
| Transfer | the leg of a transfer on this account |
| Employee advance or payable | an employee's open staff advance or payable when the counterparty is an employee (F-AP-014) |

The score weighs the amount (exact or within 2 %), the date distance, the counterparty and the invoice number or reference in the bank text. Pick a candidate and confirm. For a document in another currency the dialog asks for the document amount (see [Transfers, FX and deposits](/help/en/bank/transfers-fx-and-deposits)).

**Employee repayments**: when a deposit comes from a contact who is an employee, their open advance on 1310 is a candidate. Matching it books Dr bank / Cr 1310 against the advance line and carries the cost centre and the memo of the original advance onto the settlement.

**Unmatch** undoes any of these: a bank-feed payment is deleted and its entry reversed, a linked payment or entry is only unlinked, an employee settlement is reversed. The line is back in Needs review.

## 7. Categorise a line without a document (F-CATEG-201)

A debit for a subscription, a parking fee or a bank fee has no bill in the books. Click **Categorise…** and record it:

- **Expense**: an expense document is created, paid from this bank account on the line's date, posted at once. Pick the cost account, the counterparty (an existing contact or a new name created on the spot and remembered for the next statement), the VAT category, whether a **tax invoice** was received and whether the input VAT is **recoverable**. Tick **Reverse charge** for a foreign service the supplier charged no VAT on: the 5 % is self-assessed into boxes 3 and 10 (F-VAT-RETURN-201), and a blocked code keeps it in the cost. Open the expense from the line to attach the receipt.
- **Deposit** (other income) or **Withdrawal** (a cost without a document): one entry on the account you pick. These never carry VAT: income with VAT is invoiced, a cost with VAT is an expense, so the VAT worksheet and the ledger agree.
- **Transfer**: the matching leg to or from another own account.
- **Refund**: money back to a customer against an invoice or credit note (a debit), or back from a supplier against a bill (a credit).

**Uncategorise** returns the line to Needs review: the expense is voided (its entry reversed), the deposit or withdrawal reversed, the transfer deleted, the refund removed.

## 8. Splits (F-CATEG-005)

Tick **Split across accounts or cost centres** in the Categorise or New transaction dialog and add a row per share: account, amount, cost centre (and, on an expense, the VAT category and reverse charge per row). The rows must add up to the line. Each row becomes its own ledger line with its own dimensions, so the trial balance by cost centre shows every share; the rows are kept on the line for display.

**A row for another entity.** On a withdrawal or a deposit, when the organisation belongs to an entity group, each split row gains an **Entity** select; pick the entity and one of *its* accounts. The share books here to the intercompany *Due from* that entity (a withdrawal) or *Due to* it (a deposit), with no cost and no VAT in these books, and Alya Books posts the entity's side in its own ledger (its account against *Due to* or *Due from* this organisation, at its own rate), joined by an intercompany charge that Accounting → Intercompany lists and matches. An expense never takes an entity row: the entity records its own expense and recovers its own VAT, so categorise the line as a withdrawal instead. Uncategorising the line reverses the entity's entry too; you need the post right in that entity.

## 9. Memos and search (F-CATEG-010)

The memo icon on a bank line, and the **Memos** card on journal entries, invoices, bills and expenses, hold notes for whoever reviews later. The latest memo shows on the bank line. Everyone in the organisation can write a memo; the author or an admin deletes it.

The **search box** on the Bank and Journals pages finds lines, entries, invoices, bills and expenses by description, reference, number, memo text or counterparty name and takes you there.

## 10. Review states

| State | Meaning |
|---|---|
| Needs review | nothing decided |
| Ready to post | matched, the payment has not reached the ledger yet |
| Synced | the line points at a posted entry |
| Excluded | ignored |

## In the API and the MCP server

- `GET /bank/transactions/{id}/candidates`; `POST /bank/transactions/{id}/match {kind, id, amount}`; `POST …/unmatch` (`get_bank_match_candidates`, `match_bank_transaction`).
- `POST /bank/transactions/{id}/categorise {kind, accountId, contactId | counterparty, taxCategory, reverseCharge, hasTaxInvoice, claimable, lines[], toBankAccountId, invoiceId | billId, memo}`; `POST …/uncategorise` (`categorise_bank_transaction`, `uncategorise_bank_transaction`).
- `POST /memos {entityType, entityId, body}`, `GET /memos?entityType=&entityId=`, `DELETE /memos/{id}` (`add_transaction_memo`); `GET /transactions/search?q=` (`search_transactions`).
- Triage: `GET /bank/triage` (`list_bank_triage`); `POST /bank/classify` (`classify_bank_activity`); `POST /bank/transactions/{id}/proposal/confirm {patch}`, `POST …/proposal/reject`; `POST /bank/proposals/post {ids}` (`post_bank_proposals`); `POST /bank/proposals/feedback {transactionId, outcome, note, memo}`; `PATCH /bank/transactions/bulk {ids, patch}` and `DELETE /bank/transactions/bulk` to undo (`bulk_update_bank_transactions`).

Related:

- [Rules, quick entries and duplicates](/help/en/bank/rules-splits-and-duplicates)
- [Posting approvals](/help/en/settings/posting-approvals)
- [Transfers, FX and deposits](/help/en/bank/transfers-fx-and-deposits)
- [Reconcile a statement](/help/en/bank/reconcile-a-statement)
- [Expenses and reimbursements](/help/en/bills/expenses-and-reimbursements)
