Skip to main content

Transaction Rules

Transaction rules do the repetitive part of bookkeeping for you: renaming messy imported payees and putting transactions in the right category without you touching them.

How a rule is built​

Every rule reads as when this happens, then do this:

  • Conditions — what has to be true for the rule to apply. Conditions can be combined into nested groups, so you can express both "all of these" and "any of these" in the same rule.
  • Actions — what the rule does when the conditions match.

The reference lists live in Rule Conditions and Rule Actions.

Payees that Budget Thing remembers from your choices on downloaded transactions are not rules. The Transaction Rules page links to them under Payees > Remembered; see Remembered payees.

Where rules apply​

Rules run automatically on new transactions:

  • transactions arriving through Bank Sync are cleaned up and categorized as they come in,
  • transactions created by a file import (OFX, QFX, QIF or CSV) are cleaned up as the import creates them, unless you turn Apply my transaction rules off for that import, and
  • when you enter a transaction by hand, matching rules suggest defaults.
Rules do not change past transactions on their own

Creating or editing a rule does not change transactions you already have. To fix history, preview a saved rule with Test on past transactions in the rule editor, then apply it to existing transactions. Reconciled transactions are skipped by default and each run can be undone. Developers and AI assistants can do the same through the API.

All matching rules run​

Rules are not a first-match list. Every rule whose conditions match gets its turn, in the order the list is in, and you control that order. When two rules set the same field, the later one wins unless you told it to fill only blanks. See Rule Order and Matching.

Getting the most from rules​

  • Start from the noise. Look at the downloaded transactions waiting for review and write rules for whatever you correct most often. Any transaction can also become a rule in one step — see Create a Rule from a Transaction.
  • Be specific enough. A rule matching a broad fragment of text will catch transactions you did not intend. Test it before saving.
  • Do not automate judgement. If a payee could legitimately belong to more than one category, leaving it to review is better than a rule that is wrong half the time.
Rules depend on your plan

Transaction Rules are not included on every plan, and the more powerful conditions and actions need a plan with Advanced Rules. See Basic and Advanced Rules.