Skip to main content

Create a Rule from a Transaction

The best time to write a rule is right after you have corrected a transaction by hand. Budget Thing can draft the rule from that transaction so you do not have to describe it from scratch.

Use the shortcut​

  1. Open the transaction and correct it as you want it — set the payee, choose the category.
  2. At the bottom of the transaction dialog, next to Delete, choose the wand button. Its label is Create Rule from Transaction.
  3. The rule editor opens with a draft filled in. Review it, adjust anything, and save.

Nothing is saved until you save it. The draft is a starting point, not a rule that already exists.

The bottom of the edit transaction dialog. Next to Delete and Match to bill, the wand button shows the tooltip Create Rule from Transaction.

The Automation section above the buttons is different: it shows which rules have already changed this transaction, and Test Current Rules checks the current rules against it.

What the draft contains​

Budget Thing builds the draft from the transaction in front of it.

The condition is whichever of these the transaction can support, in order:

  1. Original description contains the transaction's bank description,
  2. otherwise Payee is the transaction's payee,
  3. otherwise Original payee contains that text.

The text is tidied before it is used: processor prefixes ending in * and tokens containing digits — store numbers, reference numbers — are dropped, so a description like SQ *JOES PIZZA #8291 becomes a condition matching JOES PIZZA. That is what makes the rule catch the next visit rather than only the one you are looking at.

The actions follow what the transaction shows:

  • Set payee, set to Always, when the transaction has a payee and a bank description to clean up.
  • Set category, set to Only if empty, when the transaction has a category — so the rule provides a default without overwriting a choice you made later.

The rule is named after the payee, or after the tidied description when there is no payee.

Check the draft before saving​

The draft is a reasonable guess, not a verified rule:

  • Widen or narrow the matching text if it is too specific or too broad.
  • Use the editor's Test rule section to confirm what it would do.

If the shortcut is not available​

The action needs a plan that includes Transaction Rules. Without one, the button leads to the plans page instead. It also needs something on the transaction to work with. A transaction with no bank description, no payee and no category has nothing a rule could match on, so Budget Thing tells you instead of drafting something meaningless. See Basic and Advanced Rules.