Skip to content

Natural Language Transaction Search, Explained

What natural language transaction search is, how a typed question becomes date, amount and merchant filters, and when it misses results.

By Published Updated

Natural language transaction search lets you find transactions by typing a plain question, such as "coffee over $10 in June", instead of matching exact text. The search reads your words, turns them into filters on date, amount and merchant, and returns the lines that fit. A search box, by contrast, only finds the characters you type.

This explainer shows how the two approaches differ, how a search can match by meaning, what happens to your words, where results go missing, and what to ask about privacy.

Natural language transaction search is a way to query your transaction history in ordinary sentences. You describe what you want, with a time, a kind of purchase or an amount, and the tool works out which lines you mean. You do not need to know how a merchant appears on your statement.

The difference matters because statement descriptions are rarely written for people. A lunch might appear as "TST* LUNA TAQ 2231 OAKLAND CA". Typing "Luna" into a text search finds it only if you remember the name. Typing "tacos last Friday" into a natural language search can find it from the date and the kind of place.

A keyword filter returns every line whose description contains the exact text you typed, and nothing else. Natural language transaction search reads the intent behind your words, so it can apply a date range, an amount limit and a merchant type together from one sentence. The first is literal. The second interprets.

A keyword filter has real strengths. It is predictable and never guesses. If you search "GREENLEAF" you get every Greenleaf line and can trust that list. Its weakness is that it knows nothing about dates, amounts or meaning unless you set separate controls for each.

A natural language search trades some predictability for reach. It can understand "last spring" and "more than $50", but it can also misread you. That is why a good one shows the filters it applied, so you can see what it understood.

How semantic matching finds a transaction by meaning

Semantic matching finds a transaction by what the merchant is, not by the letters in its name. A search for "coffee" can return a charge from "Blue Heron Roasters", because a roaster is a coffee seller even though the word "coffee" never appears in the description.

To do this, the search needs some knowledge of what merchants are. It may use a category already attached to each line, a list of known merchant types, or a language model that relates words like "roasters", "espresso" and "cafe" to coffee. Each approach widens the net beyond exact text.

Wider nets catch more noise. "Coffee" might also return a grocery charge where you bought beans, or a bakery that sells coffee alongside bread. Whether those belong depends on what you meant, so it is worth scanning the results rather than taking the count on trust.

Turning a typed question into date, amount and merchant filters

Turning a typed question into filters means splitting it into the parts a database understands. Words about time become a date range, words about money become an amount condition, and words about places become a merchant or category match. The search then runs those filters together.

The table below shows typed questions, the filters each becomes, and sample matches. The merchants and amounts are an example.

Typed question Filters applied Sample matches
Coffee over $10 in June Date Jun 1 to Jun 30, amount over $10, merchant type coffee Blue Heron Roasters $14.50 on Jun 7, Cafe Mira $11.25 on Jun 21
What did I spend at Amazon last year? Date Jan 1 to Dec 31 of last year, merchant names containing Amazon or AMZN AMZN Mktp US $38.99 on Mar 3, Amazon.com $112.40 on Nov 28
Restaurants on weekends in August Date Aug 1 to Aug 31, Saturday and Sunday only, category dining Osteria Pino $88.50 on Aug 9, Luna Taqueria $46.20 on Aug 24
Refunds since May Date May 1 to today, amount is a credit Fernway Hardware credit $42.99 on Jun 18
Anything over $500 this year Date Jan 1 to today, amount over $500 Coastline Furniture $912.00 on Apr 12

Merchant searches like the Amazon row are harder than they look, because one store can bill under many names. The walkthrough on finding your full Amazon total covers that problem. Category searches have their own traps, such as delivery fees, and the guide on working out what you spend on restaurants shows them.

The refund row is useful for a specific job. When you are waiting for money back, a search for credits from one merchant tells you whether it arrived. The guide on how to know if a refund was received explains what to look for.

When does natural language transaction search miss results?

Natural language transaction search misses results when your words are ambiguous, when a merchant code hides what the business is, or when a date is fuzzy. In each case the filters it builds are narrower or different from what you meant, and the missing lines never show.

Ambiguous phrasing is the first cause to rule out. "Food" might be read as groceries only. "Gas" might mean fuel or the utility bill. Rephrase with the category you mean.

Cryptic merchant codes hide the business. A charge through a payment processor can read "SQ *JM 4471" with no clue that it was a coffee cart. Semantic matching cannot place what it cannot recognize, so that line drops out of a "coffee" search.

Fuzzy dates shift the range. "Around Easter" or "a couple of months ago" force a guess. A remembered day can also be off by one or two, so a search for one exact date can miss the line you want. Widening the range by a few days helps.

Privacy questions to ask about a transaction search tool

A transaction search tool sees your full history, so ask where the search runs, what it keeps, and whether it learns from your data. Answers should be in writing. A tool that cannot say what it stores about your questions is asking for more trust than it has earned.

Useful questions include where your transactions are processed and stored, whether your typed questions are kept and for how long, whether your data trains any model used for other customers, and how to delete everything. MoneyOS answers plain-English questions from your own imported transactions and shows the lines it used. Its privacy and security commitments include deleting all your data in one action.

Also available as Markdown.