# Sort the transactions that have no category

URL: https://www.orla.finance/en/recipes/sort-uncategorized
Markdown twin of that page. Append `.md` to any Orla page URL to get one.

Take the bank lines that have no category yet and get a proposed category for each, with a confidence and a reason, a short queue for the doubtful ones, and the rules worth suggesting.

For the person who keeps the books: a bookkeeper, a finance manager, a founder. In about ten minutes you get a count line, a proposed category for each row with a confidence and a reason, a review queue with one question per row, rows left alone and why, rules to consider with the rows each would touch, and red flags. Every proposal is a draft until you decide.

#### Run it

- On a file, in any model: the prompt https://www.orla.finance/recipes/sort-uncategorized/prompt.md, the sample (invented data) https://www.orla.finance/recipes/sort-uncategorized/uncategorized.csv, https://www.orla.finance/recipes/sort-uncategorized/context.csv or all of it in https://www.orla.finance/recipes/sort-uncategorized/sort-uncategorized-sample.zip, the answer key https://www.orla.finance/recipes/sort-uncategorized/answer-key.md.
- As a skill in Claude: https://www.orla.finance/recipes/sort-uncategorized/orla-recipe-sort-uncategorized.zip.

#### The recipe

1. Export the transactions with no category.
2. Export your category list and 20 to 50 rows you have already sorted.
3. Paste the prompt, set the date, attach both files.
4. Read the count line. The groups must add up to the number of rows in your file.
5. Go through high-confidence rows first, then the review queue, one question at a time.
6. Decide on each rule suggestion. A rule files future rows by payee.
7. Apply the categories you agree with in your own accounting system.

#### Check by hand before you trust it

- A merchant filed in several categories (the sample has one): the model sends every row to the queue and offers no rule. Look at the history before you pick one.
- Own transfers: two legs between your own accounts are neither spending nor income. Check that the model left both alone.
- A payee one letter off a known vendor at the usual amount: the model flags it and does not file it. Check the vendor before you categorise or pay anything.
- Payouts net of fees: the fee may exist only in a note. Decide yourself how fees are booked.
- Tax and loan lines never rise above low confidence. Which tax, which period, and the split between principal and interest are yours to decide.
- Refunds: the model states the direction caveat. Check which category you want for the reversal.
- A rule on a prefix can catch lookalikes. Check the rule uses the exact payee and look at the rows it would touch.
- A note telling the model to apply a category to every row: it is quoted, not obeyed, and the row stays in the queue. Open that row yourself.
- Budgets count categorised rows only, so they are understated until the open rows are sorted.

#### Labels

- Works without Orla: Yes, on files
- Works with Orla: Yes, on live books
- What it does with your data: Reads. Proposes categories and rules for a person. Changes rows or creates a rule only on your yes for that exact item. Never moves money
- Checked on: Claude Sonnet and Claude Haiku (file)
- Not checked on: ChatGPT, Gemini and other models: the prompt is written for any model, but nobody at Orla has run it there yet. Live mode with a real AI client and a person signed in: the connection's tools were only called by a test harness on a seeded test space
- Last checked: 25 November 2026
