Open app

Filter language reference

The filter language is how you search, narrow down, and rule-match transactions throughout the app. It’s the same language behind the global filter bar, tracker definitions, statement import rules, pre-import filtering, and the copy-filter buttons you’ll see on trackers and duplicate-detection tables. Learn it once, use it everywhere.

Semantics are identical across all of these contexts, with one exception: range: isn’t available inside trackers or import rulesets, since a fixed date range doesn’t mean anything for a recurring budget or a reusable rule.

Quick reference

In-app reference

You can access a short term reference from the app by pressing ? or clicking on the question mark on the bottom left of the screen.

Term Matches Example
(bare word) description, tags, account names, comments (all, case-insensitive) groceries
account: account label substrings, or exact/prefix with !, narrow to inflows/outflows with +/- account:+assets:cash!
amount: posting amount, optionally ranged and/or unit-scoped amount:1000:1500:USD
total: sum of all postings, same syntax as amount: total:500::USD
unit: currency or unit of a posting unit:USD
comment: comment text, regex, case-sensitive comment:food.+
description: description text, regex, case-sensitive description:"a comment"
tag: tag text, regex, case-insensitive tag:business
id: transaction ID, |-separated for multiple IDs id:123|456
+cost / -cost has / lacks a cost basis +cost
+price / -price has / lacks a price conversion -price
+unreconciled / -unreconciled is / isn’t unreconciled +unreconciled
range: date range — must be first, can’t repeat range:2026-Q2

Core concepts

Predicates. Every filter is built from key:value terms. Some are binary (true or false) and take no value: +cost. The rest pair a key with a value: account:cash, amount:1300.

The default term. A bare word with no key — groceries rather than description:groceries — searches description, tags, account names, and comments together, case-insensitive. This is the fastest way to search when you don’t care which field matches.

Combining terms. Multiple terms are combined together with AND by default, so tag:business account:expenses means both must hold. Write AND or OR explicitly when you want to mix them, and use parentheses to group:

large business transactionstext
range:2024-Q4 tag:business -tag:reimbursed AND (amount:1000::EUR OR amount:1500::USD)

The example above shows transactions in fourth quarter of 2024 that are larger than 1000 EUR or larger than 1500 USD with “business” tag, excluding “reimburesed” tag.

Negation. Prepend - to any term to negate it: -account:cash, -tag:reimbursed.

Negating the groups

Groups cannot be negated, instead you need to invert the logic within a group. For example negating assets AND liabilities will become -assets OR -liabilities. It’s called De Morgan’s law.

Quoting. Wrap a value in double quotes to capture spaces or special characters: description:"a comment". To include a literal double quote inside the value, escape it with a backslash — but only inside quotes: a backslash outside of a quoted value has no special meaning and is treated as a literal character.

Precedence. Standard precedence applies. - (NOT) binds first, then AND, then OR — the same as any boolean language.

Term reference

account:

Matches substrings of the account’s labels (the colon-separated parts), case-insensitive: account:exp:foo matches loosely by group. Append ! for an exact or prefix match instead: account:assets:cash!.

Prepend + or - to narrow to inflows or outflows: account:+assets:cash! (inflows only), account:-creditcard (outflows only).

amount: and total:

Full syntax: amount:<lower>:<upper>:<unit>. Matches a posting amount inclusively between <lower> and <upper> in <unit>. For example, amount:1000:1500:USD matches USD amounts from 1000 to 1500.

Short syntax: amount:1300 matches an exact amount, equivalent to amount:1300:1300.

total: uses identical syntax but matches against the sum of all postings in the transaction rather than a single leg — useful when you care about the transaction’s overall size rather than any one posting.

unit:

Case-insensitive match on a posting’s currency or unit: unit:USD.

comment:, description:, tag:

All three accept regular expressions and quoted values for spaces or special characters:

  • comment: is case-sensitive: comment:food.+.
  • description: is case-sensitive: description:"a comment".
  • tag: is case-insensitive: tag:business matches regardless of how the tag is capitalized in the UI.

These are not anchored — comment:food matches “food” anywhere in the comment, including inside a longer word like “seafood,” consistent with how account: and the bare anything term do substring matching by default. Anchor explicitly with ^/$ if you want an exact or prefix/suffix match: comment:^food$.

A note on regular expressions

. matches any character, + matches one or more characters before it, ^ anchors to the start of the value, and $ to the end. So, ^Food.+ will match a value that starts with “Food”, with any number of characters following it, e.g “Food and tea”.

Escaping and double backslashes. Escaping only unwraps one layer, so matching a literal backslash takes an extra pair of backslashes in the filter text:

Filter Resolves to regex Matches
description:"\"" " a literal quote
description:"\\\"" \" a literal quote — the backslash is just an ordinary escape of an ordinary character, so it’s a no-op here
description:"\\\\\"" \\" a literal backslash followed by a literal quote

Invalid regex falls back to a literal match. If a term’s value isn’t valid regex, it’s matched as a literal string instead of erroring. For example, description:[ isn’t valid regex on its own (an unclosed character class), so it falls back to matching a literal [ character. This is a general fallback for any malformed regex in comment:, description:, or tag: — not something specific to escaping or quotes.

Backslashes on their own show both paths at once:

Filter Resolves to regex Valid regex? Matches
description:"\\" \\ No, in this engine falls back to a literal match of \
description:"\\\\" \\\\ Yes also matches a literal \, via a valid regex this time

Same end result, two different mechanisms getting there — worth knowing if you’re ever debugging why a filter matches when the regex “shouldn’t” work.

id:

Matches by transaction ID. Combine multiple IDs with |: id:123|456.

Binary terms

  • +cost / -cost: has / lacks a cost basis.
  • +price / -price: has / lacks a price conversion.
  • +unreconciled / -unreconciled: is / isn’t unreconciled.

range:

Filters by date, with a few quirks worth knowing up front:

  • It must be the first term in the filter, and it cannot repeat — non-contiguous date ranges aren’t meaningful for this kind of filtering, so the language doesn’t allow them.
  • It’s unavailable in trackers and import rulesets, since neither has a meaningful fixed date range.

Single-value syntax — range:<value> — accepts several granularities, and expands automatically to cover the full period:

Value Meaning
2026-01-01 a single day
2026-W24 week 24 of 2026
2026-01 January 2026
2026-Q2 second quarter 2026
2026-H1 first half of 2026
2026 all of 2026

Explicit range syntax — range:<start>:<end> — also expands each side to the start or end of that period: range:2026 is shorthand for range:2026-01-01:2026-12-31, and range:2025:2026 expands to range:2025-01-01:2026-12-31.

Either side can be omitted to mean “the start (or end) of the book’s transactions”: range::2026-06-30 matches everything up to that date.

Where you’ll use it

  • Global filter bar: full syntax, including range:.
  • Trackers: full syntax except range:.
  • Statement import: one filter narrows down which rows to import, separate ruleset fields handle rewriting matched transactions — the filter language only drives the matching side, not the rewrite. range: isn’t available here either.
  • Pre-import filtering and copy-filter buttons on trackers and the duplicate-detection table — reuse whatever filter generated them, so you can review or refine before applying.

Examples

Business spend in Q4 2024, excluding anything already reimbursed, over a certain size in either currency:

Transactions with “business” tag in Q4 2024, excluding anything already reimbursed marked with “reimbursed” tag, over 1000 EUR or 1500 USD:

large business transactionstext
range:2024-Q4 tag:business -tag:reimbursed (amount:1000::EUR OR amount:1500::USD)

Everything unreconciled in Assets:Cash account, or subaccounts:

unreconciled cash transactionstext
account:assets:cash! +unreconciled

Transactions with “dividends” tag over 500 USD that include a price conversion:

large dividendstext
tag:dividend total:500::USD +price

Quick text search across descriptions, tags, accounts, and comments:

default filtertext
groceries
© 2026 Scrooje Software Limited.
Client-side encrypted, always.