GitHub
Reviewing transactions

Reviewing transactions

Imported statements often need cleanup. Some rows land in expenses:unknown because no rule matched, and bank descriptions like SQ *BLUE BOTTLE 4412 OAKLAND need a better name. Review shows you those transactions one at a time, as a stack of cards, so you can categorize, rename and confirm each one from the keyboard.

Each card you confirm gets a reviewed: tag with the date. The tag is plain hledger, so you can query it from a terminal, and Ledgeline uses it to know what you have already looked at.

Review is available when the journal can be edited. See Editing transactions.

Two queues

Two buttons sit next to Add transaction above the journal table. Each shows how many transactions it would bring up, and is disabled when that number is zero.

The journal toolbar with Review Unknowns 8 and Review Recents 17 boxed, above rows with an amber stripe on uncategorized transactions and a faint stripe on unreviewed ones

Review Unknowns brings up every uncategorized transaction, newest first. A transaction counts as uncategorized when one of its postings goes to an unknown account, the same check the Problems drawer makes, so the two counts agree. That includes a transaction you tagged reviewed by hand but never categorized.

Review Recents brings up transactions that have no reviewed: tag at all, newest first, up to 50. It includes uncategorized ones that haven’t been reviewed.

Both queues share one lookback window, 365 days by default. A transaction older than that is left alone in both, so you aren’t asked about a three-year-old charge unless you widen the window under settings. Neither queue includes:

The queues cover the whole journal and ignore the filter bar.

Press u or r in the journal to open the same queues from the keyboard.

The card

The review opens over the journal. A bar at the top shows the queue’s name, your position (“3 of 8”), a progress bar, and a ⋯ menu. The current transaction’s card is on top, and the next two are stacked beneath it.

A review card for SQ *BLUE BOTTLE 4412 OAKLAND, −$6.75, with an uncategorized posting outlined, a suggestion chip for food:coffee with the rename Blue Bottle Coffee, a Similar section with 7 rows, and a disabled Reviewed button. Two cards peek out below it.

The top of the card shows the payee in large type, the amount, the date, and the account the money came from or went to. The amount is green for money coming in, blue for a transfer between your own accounts, and plain for money going out.

The date line also shows the status and the code when they’re set. Click it, or press D, to edit the date, the status, the code and a secondary date. Press ! to cycle the status (unmarked, pending, cleared) and # to edit the code. The line stays open while you’ve changed any of them.

Below that are the fields you can change:

Every field’s label shows the key that jumps to it. Add secondary date is in the ⋯ menu. The same card, on its own, is the Journal’s transaction editor.

Cost annotations and virtual postings are kept as written and shown under their posting.

Reviewed, Skip and Ignore

The footer has two buttons, and they change with the card’s state.

CardLeft buttonRight button
Unchanged, fully categorizedReviewedSkip
Unchanged, an account still unknownReviewed, disabledSkip
Changed, fully categorizedMark Reviewed and SaveRevert Changes
Changed, an account still unknownSaveRevert Changes

Reviewed stamps the transaction with today’s date, saves, and moves to the next card. It stays disabled while a posting is still uncategorized.

Save writes your changes without marking the transaction reviewed. Use it when you know the payee’s name but not yet the category. Fix the description now and come back for the category later.

Skip moves on and writes nothing. A skipped card comes back the next time you open the queue. Press ← to go back to the previous card if you skipped by mistake.

Ignore, in the ⋯ menu or on i, tags the transaction reviewed:ignore and moves on. An ignored transaction never shows up in either queue again and gets no stripe in the journal. It is for transactions you never want to be asked about. Ignore saves only the tag and drops any other unsaved edits on that card.

Saves happen in the background, in order. The next card appears at once, and a small “saving…” dot shows in the top bar. If a save fails, the review goes back to that card with your edits and the reason.

Esc closes the review. If the card has unsaved edits, the footer asks first, with Keep editing and Discard and close. When you close, the journal’s cursor lands on the last transaction you saved.

After the last card, a summary counts what you did, for example “5 reviewed · 3 fixed via similar · 1 skipped”.

Accepting a suggestion in one keystroke

On an uncategorized card, Ledgeline suggests an account under the unknown posting. A suggestion can come from:

A suggestion can carry a rename too, when you have renamed this payee before. The chip then reads “→ Blue Bottle Coffee · food:coffee”.

When a suggestion is strong, meaning at least half of the evidence agrees, it is selected already. Press Cmd+Shift+Enter (Ctrl+Shift+Enter on Linux and Windows), or Y when no field has focus. That takes the selected suggestion, marks the transaction reviewed, saves and moves on. Most uncategorized transactions need only that one keystroke. With no suggestion selected, the keys act like Reviewed.

Up to two weaker suggestions appear beside the first. In the account field, Tab fills in the selected suggestion without saving. Press it again to cycle to the next one. When every suggestion is weak, none is selected until you press Tab.

On a categorized card in Review Recents, a chip appears only when the account disagrees with a strong history, and it reads “usually food:coffee”. It is never selected for you, so the one-keystroke accept can’t recategorize a transaction unless you Tab to it first.

The one-keystroke accept never changes similar transactions. To change them, use the checkboxes described next.

Similar transactions

When you rename a card or change one of its accounts, Ledgeline offers the same change for similar transactions that haven’t been reviewed.

The Blue Bottle card after accepting the suggestion: the account is expenses:food:coffee, Similar is open with two rows checked, each showing the rename and the new account it will get, and the footer reads Mark Reviewed and Save

Two transactions are similar when their descriptions match once the numbers are taken out. Ledgeline takes the part of the description before any |, ignores case, and drops every word that contains a digit, along with punctuation. SQ *BLUE BOTTLE 4412 OAKLAND and SQ *BLUE BOTTLE 0917 OAKLAND are similar. SQ *BLUE BOTTLE 0001 BERKELEY isn’t, because “berkeley” differs. There is no fuzzy matching. A description made only of numbers matches nothing.

The Similar section shows how many there are. Press s to open or close the list. On a card you haven’t changed, its checkboxes are disabled and it says “change the description or an account to apply it”. Once you change something, the list keeps only the rows that change applies to. Each row shows the date, the description, the amount, and chips for exactly what it will receive. A row marked “in this run” is also in the queue you are working through.

What each similar transaction gets:

Every row starts unchecked. Tick the ones you want, or press Shift+A to check them all. The checked ones are saved together with the card.

Similar transactions get the change but are not marked reviewed. Only the card you are looking at gets the tag. They can come from any date, including future-dated ones.

A change to an amount, or adding or removing a posting, isn’t offered to similar transactions. The section is replaced by “Splits aren’t applied to similar transactions.”

How the queue updates

Applying a change to similar transactions that are also in the queue updates the queue at once.

The position and total in the top bar update to match. Ledgeline also re-checks the queue after each save, so an edit made in another window or in a text editor shows up without reopening the review.

The reviewed: tag

Ledgeline stores review state in one tag on the transaction’s own comment line:

2026-10-12 Blue Bottle Coffee  ; reviewed:2026-10-30, payee-key:sq blue bottle oakland
    ; receipt: 0042
    expenses:food:coffee  $6.75
    liabilities:visa
ValueMeaning
no tagUnreviewed
a date, YYYY-MM-DDReviewed that day, in your local time
ignoreNever ask. Left out of both queues and the row stripes
anything elseReviewed. A hand-typed reviewed:yes works

Only the transaction’s own comment counts. A reviewed: tag in a posting comment is ignored.

Ledgeline adds the tag to the end of an existing comment, or starts a comment two spaces after the description. Nothing else on the line changes. You can add or remove the tag yourself in any editor.

The tag works in hledger queries. To list everything you have reviewed, and everything you haven’t:

hledger reg tag:reviewed
hledger reg not:tag:reviewed

The first includes ignored transactions, because reviewed:ignore is a reviewed tag too. hledger matches a tag’s value as a regular expression, so tag:reviewed=ignore finds the ignored ones and tag:reviewed=2026-10 finds those reviewed in October 2026.

Renames and payee-key:

When you change a description in the review, Ledgeline also writes payee-key: with the original description’s matching form, such as payee-key:sq blue bottle oakland. The next SQ *BLUE BOTTLE 0917 OAKLAND can then be offered the rename “Blue Bottle Coffee”, even though the renamed transaction no longer carries the bank’s text. The tag is only written when the description actually changes.

How a save changes the file

Changes to the description, accounts, tags and comment rewrite only those parts of the transaction. Amounts left blank stay blank, and the layout stays as you wrote it. A change to an amount, or an added or removed posting, rewrites that one transaction in Ledgeline’s standard layout.

Settings

The ▾ beside Review Recents opens the review settings. In the review, ⋯ → Settings opens the same panel.

The review settings popover: Review Recents takes 50 at most, Look back 365 days, and a toggle for marking unreviewed rows in the journal

The settings are saved in Ledgeline’s ui-prefs.toml, not in the journal, and apply to every ledger unless a ledger sets its own. See Settings files. The button counts and the stripes follow a change at once.

Row stripes and Mark reviewed

The journal table marks rows with a thin stripe on their left edge:

Old history stays unmarked. The same stripe shows on the left edge of each card in the narrow-window layout. Turn the stripes off under settings.

The transaction editor shows the review state in its Mark reviewed checkbox. The box is checked for a reviewed transaction, and checked and labelled Ignored for an ignored one. Checking it stamps today’s date and unchecking it removes the tag. A transaction that stays checked keeps its date.

The Edit transaction card’s footer with Mark reviewed checked and circled

Postings from automatic posting rules

An automatic posting rule can add postings to a transaction. The card lists those postings under the ones you can edit, in italics, each with a link that names its rule: “from automatic posting rule = desc:coffee$”. They can’t be edited on the card, because they aren’t written in the transaction.

If a rule adds a posting to an unknown account, the card counts as uncategorized and can’t be marked reviewed. Fix the rule instead. The link opens Settings → Automatic postings and closes the review, dropping any unsaved edits on the card.

Remember as a rule from the Journal

A journal card can save its change as an if rule too, in the rules file the transaction was most likely imported with, so the next statement arrives categorized. The toggle reads Remember as a rule. It appears once you change the description or an account, as during an import, and only when Ledgeline finds a rules file the transaction could have come from. Press Shift+R or click it. It starts off on every card.

How the rules file is chosen

The journal doesn’t record which rules file wrote a transaction, and Ledgeline doesn’t add a tag to track it. It works the file out from what is already in your files:

Many setups keep one rules file per year, such as citi-2025.csv.rules and citi-2026.csv.rules. Files whose names differ only by a year or a date form one family. This works within one folder, and across sibling year folders such as 2025/citi.csv.rules and 2026/citi.csv.rules. Within a family, Ledgeline picks the file named for the transaction’s year. Without one, it picks the newest year before the transaction. A family with no years in its names goes by the newest .latest date, then by when the file last changed.

When a 2025 transaction has its 2025 file but a 2026 file exists too, the 2026 file is listed second, in case you are importing ahead.

The line above Match names the file it picked, for example “Saving to citi-2026.csv.rules (newest of 2 for citi)”. With more than one candidate, the file name is a menu, and picking another file starts the rule again from that file’s fields. Why? lists every candidate with the reasons Ledgeline found for it.

When two files fit equally well

Two rules files can import into the same account and fit equally well, such as amex.csv.rules and amex-business.csv.rules. Ledgeline doesn’t guess between them. The line reads Choose a rules file with nothing selected, and Match, Then set and the live check stay disabled until you pick one.

Shift+R puts focus on that menu, so you can choose without the mouse. Saving the card with the rule on is blocked until you choose, with a message under the rule. Turn the rule off to save the card on its own.

Match, Then set and the live check

Match and Then set work as they do during an import. See Remember as a rule. The pattern comes from the card’s description, because an uncategorized transaction matched no categorizing rule and usually still carries the bank’s text. Then set uses the field the rules file writes each posting with. The rules file’s own account is always account1, whatever order the postings are in the journal, so the category on the other side is usually account2.

The live check needs something to test the rule against:

When the pattern matches no row of the statement, another rule may have renamed this transaction’s description during the import. The card then shows a name the bank never sent. The check says so. Change the pattern to match the text in the statement.

The rule is saved first, at the end of the rules file, then the card. If the rule can’t be saved, the card keeps your edits and the reason shows under the rule. A new rule changes nothing already in the journal. It applies from the next import. To change similar transactions now, use Similar.

Keys

Every key the review uses is listed under “Review” in Keyboard shortcuts. Press ? in the review to see them on screen.

Reviewing during an import

The same review runs on an import before it is written, with Review Unknowns and Review All. There, Remember as a rule saves to the import’s own rules file, and the live check runs over the statement you are importing. See Review before writing.