# How Software Can Detect Recurring Transactions

> How software can detect recurring transactions from merchant names, intervals and amounts, and why it sometimes misses or mislabels a charge.

- Canonical: https://www.moneyos.cc/blog/detect-recurring-transactions
- Author: MoneyOS (https://www.moneyos.cc/about)
- Category: Subscriptions and recurring charges (https://www.moneyos.cc/blog/category/subscriptions)
- Published: 2026-05-07T12:51:44.000Z
- Updated: 2026-05-07T12:51:44.000Z

Software can detect recurring transactions by running three tests on your statement lines. It groups lines from the same merchant, checks whether they arrive at a regular interval such as monthly, and checks whether the amounts are similar. Lines that pass all three become a recurring group. Lines that fail one are treated as ordinary purchases.

Each test sounds simple and each has its own failure mode. This post explains how merchant names are cleaned up, how much slack the interval and amount tests need, how many charges it takes before a pattern counts, and why the grouped list still needs a person to read it. A worked example runs eight statement lines through all three tests.

## Merchant name matching for recurring transactions

Merchant name matching is the step where software decides that several differently written statement lines come from the same business. It strips out the noise in each line, such as payment processor prefixes, store numbers, phone numbers and city names, then compares what is left.

Statement descriptions are short codes, not friendly names. One gym can appear as "SQ *BRIGHTLEAF YOGA", "BRIGHTLEAF YOGA STUDIO" and "BRIGHTLEAF YOGA 0042 PORTLAND OR" across three months, depending on which terminal or processor took the payment. A program that compared these strings exactly would see three merchants and no pattern.

Cleaning a name usually happens in a few passes. The first removes known prefixes that mark a payment processor or an app store. The second removes digits, reference codes and location words at the end. The third compares the remaining words, allowing small differences in spelling or spacing. What is left is a short merchant key, such as "brightleaf yoga", that all three lines share.

This step can go wrong in both directions. If the cleaning is too aggressive, two different businesses with similar names merge into one group. If it is too cautious, one business stays split into several groups, and none of them has enough charges to look recurring. A good tool shows you the original statement text next to the cleaned name, so you can see which lines it put together.

## Interval patterns that mark a transaction as recurring

An interval pattern is a regular gap between charges from the same merchant, such as about 7 days, about 30 days or about 365 days. Software measures the days between each pair of charges in a group and checks whether those gaps cluster around one of the common billing cycles, with a few days of slack either way.

The slack is needed because billing dates drift. A monthly charge set for the 31st has to land on a different day in a short month. A charge due on a weekend may post on the Friday before or the Monday after. A merchant may bill every 28 days rather than on the same date each month. A detector that demanded exact gaps of 30 days would miss most real monthly charges.

A typical approach is to define a window for each cycle. Weekly might mean a gap of 6 to 8 days, monthly 27 to 34, quarterly 85 to 95 and yearly 355 to 375. These numbers are illustrations of the idea, not a standard. If most gaps in a group fall inside one window, the group is tagged with that cycle. If the gaps are scattered, such as 3 days, then 19, then 11, the merchant is something you visit often, not something that bills you on a schedule.

Interval matching also lets software predict the next charge. Once a group has a cycle, the next expected date is the last charge plus the typical gap. That prediction is what allows a tool to notice a charge that is late, or one that arrived after you cancelled.

## Amount tolerance when detecting recurring transactions

Amount tolerance is the range of difference software accepts between charges before it decides they are not the same recurring payment. A fixed subscription needs almost none, while a utility bill needs a wide band, and a price increase needs special handling so it updates the group instead of breaking it.

Small differences come from sales tax, currency conversion and rounding. A $9.99 plan might post as $10.64 in one place and $10.79 in another as tax rates vary. A tolerance of a few percent covers these. Without it, a subscription billed in another currency would look like a new merchant every month as the exchange rate moved.

Variable bills need far more room. An electricity bill of $82 in spring and $164 in winter is the same payment, and a strict tolerance would split it. A detector can handle this by relaxing the amount test when the merchant and interval tests are strong, or by keeping a separate category for bills where only the interval needs to match.

Price increases sit between the two. A plan that moves from $7.99 to $9.99 fails a tight tolerance, but it is clearly the same subscription at a new price. A sensible detector keeps the group together when the merchant and cycle hold, and records the step as a price change. Comparing a merchant's charges over time in this way is how a price increase gets noticed the month it happens, which is something MoneyOS does on the transactions you import.

## How many charges does it take to detect a recurring transaction?

Software needs at least two charges from the same merchant to detect a recurring transaction, because one charge has no interval to measure. A cautious detector wants three before it is confident, and a yearly charge therefore takes longest, since the second charge arrives a full year after the first.

With two charges, a detector can measure one gap and guess the cycle. That guess is often right for a monthly service, but two charges a month apart can also be two separate purchases from a shop you visit occasionally. A third charge at the same gap makes coincidence much less likely, which is why a cautious tool marks a two-charge group as possible rather than confirmed.

The history you give a detector sets a hard limit on what it can find. With three months of transactions, a monthly service shows three charges and is easy to spot. A quarterly charge shows once, maybe twice. A yearly charge shows once at most and cannot be detected at all. To catch yearly renewals, you need more than twelve months of history, ideally thirteen or more so that the renewal and its predecessor both appear.

New subscriptions have the same problem from the other end. A service you started last month has charged once. Until its second charge arrives, no detector can tell it apart from a one-off purchase. If you know you signed up for something recently, add it to your list by hand rather than waiting for the software to catch up.

## False positives in recurring transaction detection

A false positive is a group of ordinary purchases that software wrongly labels as recurring. It happens when your habits are regular enough to pass the tests, such as a coffee every weekday morning, a fuel stop every Saturday or a grocery run on the same day each week.

These habits pass the merchant test easily, because you go to the same place. They often pass the interval test too, since a weekly shop has a gap of about seven days. The amount test is usually what saves them. A coffee might be $4.50 one day and $6.25 the next, and a grocery bill swings far more. When the amounts vary widely, a careful detector declines to group them.

Some false positives get through anyway. A parking meter charging exactly $12 every weekday, or a lunch place where you order the same $11.40 meal each Friday, can pass all three tests. Nothing about the statement line says whether you agreed to a schedule or simply have a routine. The software cannot know, and the result is a "subscription" that is really a habit.

A false positive is low-cost if you can see it and remove it. It is a problem only when a tool hides its reasoning, because then you cannot tell a real forgotten subscription from a weekly coffee.

### A worked example with eight statement lines

The table below is a made-up example. It shows eight statement lines from three months for one person, and how each line fares in the three tests.

| Date | Statement text (example) | Amount | Same merchant? | Regular interval? | Similar amount? |
| --- | --- | --- | --- | --- | --- |
| Jan 4 | SQ *BRIGHTLEAF YOGA | $45.00 | Yes, Brightleaf Yoga | Yes, monthly | Yes |
| Feb 4 | BRIGHTLEAF YOGA STUDIO | $45.00 | Yes, Brightleaf Yoga | Yes, 31 days | Yes |
| Mar 5 | BRIGHTLEAF YOGA 0042 | $45.00 | Yes, Brightleaf Yoga | Yes, 29 days | Yes |
| Jan 12 | NIMBUSNOTES.COM 8885550123 | $7.99 | Yes, Nimbus Notes | Yes, monthly | Changed |
| Feb 12 | NIMBUS NOTES | $9.99 | Yes, Nimbus Notes | Yes, 31 days | Changed |
| Jan 9 | CORNER FUEL 118 | $52.10 | Yes, Corner Fuel | Yes, 7 days | No |
| Jan 16 | CORNER FUEL 204 | $38.75 | Yes, Corner Fuel | Yes, 7 days | No |
| Mar 20 | KESTREL HOSTING ANNUAL | $96.00 | Only one line | Cannot measure | Cannot compare |

The three Brightleaf Yoga lines pass every test and become a confirmed monthly group of $45. The two Nimbus Notes lines match on merchant and interval, but the amount rose by $2. A detector that handles price changes groups them as a possible monthly subscription and notes the increase. The two Corner Fuel lines are a week apart, but their amounts differ by $13.35, so they stay as ordinary purchases. The Kestrel Hosting line has nothing to compare with, so it stays ungrouped until next March.

## Missed recurring transactions and how to fix them

A missed recurring transaction is a real recurring payment that software fails to group. Typical causes are a merchant that changes its statement name, a payment that moves between cards, a cycle longer than the history provided, and a charge paid in a way that never reaches your statements.

A merchant rename is an easy one to miss. A company is bought, changes its billing processor or rebrands, and its statement text changes overnight. The detector sees a new merchant with one charge and an old one that stopped. The fix is to tell the tool the two names are the same business. A tool that remembers that correction applies it to every later line.

A card change splits a group in a similar way. If you import only one card's file, a subscription that moved to a new card simply disappears from it. Import every account the payment might use, and the group joins up again.

Payments outside your statements cannot be found at all. Cash payments leave nothing to detect, and the post on [how to use a cash tracker](/blog/how-to-use-a-cash-tracker) covers keeping a record of those by hand. A manual sheet is also a good backstop for anything the software misses, and the post on a [subscription tracker in Google Sheets with templates and formulas](/blog/subscription-tracker-google-sheets) gives a layout for one.

Corrections are the main way a detector improves for you. In MoneyOS, if a match or category is wrong you can fix it and the correction is remembered, and the [MoneyOS FAQ](/#faq) says plainly that messy merchant names mean a match can occasionally be wrong.

## Can recurring transaction detection be fully trusted?

Recurring transaction detection cannot be fully trusted on its own, because each of its three tests is a judgment made with slack, and slack lets some wrong answers through. Treat the grouped list as a strong first draft. It saves you reading every line, but reviewing the groups is still part of the job.

A review of a grouped list is quick. Look at each group and ask whether you agreed to pay that merchant on a schedule. Remove habits that slipped in. Merge groups that are clearly one service under two names. Then compare the list with what you know you pay for, and add anything missing, especially new services and yearly ones.

The review is easier when the tool shows its evidence. A group that lists the exact statement lines behind it lets you check the merchant matching, the dates and the amounts in a few seconds. MoneyOS shows the transactions it used for each answer, so a recurring group can be checked against the lines that formed it.

Once the list is right, it becomes the base for everything else you track. Putting those recurring groups next to rent, utilities and insurance, sorted by due date, is the subject of the post on [building a bill and subscription tracker in one view](/blog/bill-and-subscription-tracker).
