Skip to main content

Rule Actions

Actions are the THEN half of a rule. A rule needs at least one, and can hold several.

What a rule can do​

ActionEffect
Set payeeReplaces the payee with one you choose.
Set categoryPuts the transaction in a category.
Clear categoryRemoves the category, leaving it uncategorized.
Set memoReplaces the memo with text you write.
Append to memoAdds your text to whatever memo is already there.
Add tagsAdds one or more tags.
Remove tagsRemoves one or more tags.
Mark as needs reviewFlags the transaction for your attention.
Clear needs reviewRemoves that flag.
Mark as clearedMarks the transaction as cleared. It only ever clears: no action un-clears a transaction, and a transaction that is already cleared or reconciled is left as it is. It takes effect when you apply the rule to existing transactions. In the Add transaction form it ticks the Cleared checkbox for you (with a marker naming the rule), and you can untick it before saving. Bank-synced transactions are already cleared when you accept them.
Split transactionDivides the transaction between two or more categories. See Split transaction.

That is the complete list. In particular, a rule cannot change a transaction's amount, date or account, and cannot turn one into a transfer.

Split transaction​

Split transaction gives a transaction several category lines. Each line is one of:

  • a fixed amount, for example 25.00 to Household,
  • a percentage of the transaction total, for example 60% to Groceries (up to two decimals, such as 12.5), or
  • the remainder, whatever is left after the other lines.

In the rule editor each line has a category, a type (Amount, Percent or The rest) and its value. Use Add line and the remove button to change the number of lines; the editor tells you when the lines don't add up, and shows how much of the amount the percentages assign so far. A rule can have only one Split transaction action.

A split needs at least two lines and at most 20, and one remainder line at most. Either use a remainder line, which lets you mix fixed amounts and percentages (the percentages must add up to less than 100%, so the remainder line gets a share), or give percentages that add up to exactly 100% with no fixed amounts and no remainder line.

The lines always add up to the transaction amount to the last cent. Percentages round down to a whole cent, and the remainder line takes what is left (with no remainder line, the last line does). If the lines cannot fit a particular transaction, for example a fixed 50.00 line on a 30.00 purchase, the action leaves that transaction alone and the rule's test shows why.

The action never touches:

  • a transaction that is already split, including one an earlier rule in the same pass split, or one you split yourself while accepting a bank transaction,
  • a reconciled transaction, even when you choose to include reconciled transactions when applying a rule,
  • a transfer or an opening balance.

A split replaces any single category the transaction had, so a Set category in the same rule does not change the result. The rule test and the rule history list the split lines, each with its category, and do not also show a separate category change. A memo on the transaction's one line moves to the first new line. It is applied to bank-synced transactions when you accept them and when you apply the rule to existing transactions, where Undo puts the original single category back. In the Add transaction form, a split a rule suggests is filled in as the form's split lines, marked as suggested by the rule. If you already picked a category or split the amount yourself, or are still typing in the form, the form offers it with Use suggestion instead of changing what you entered.

Always, or only if empty​

Set payee, Set category and Set memo each take a When setting:

  • Always — write the value whatever is already there.
  • Only if empty — write it only when the field has no value yet.

Only if empty is what you want when the rule is providing a default. It keeps a choice you already made, which matters most during manual entry, where rules suggest values rather than impose them.

The other actions have no mode. Append to memo adds rather than replaces by definition, Add tags and Remove tags adjust a list, and the two needs-review actions, Mark as cleared and Clear category simply set their field. Split transaction has its own lines instead.

Two actions can co-operate

A common pair is Set payee on Always to fix a messy imported name, plus Set category on Only if empty so the rule categorises new transactions without overruling any you have already sorted.

Actions that would change nothing​

If an action's value is already what the transaction holds, it does nothing and is reported as such. That is normal, not an error — it is how a default-setting rule behaves once the transaction is already correct.

When several rules set the same field​

Actions from all matching rules are applied in order, so the last rule to write a field is the one whose value survives — unless it was set to Only if empty and the field already had a value. See Rule Order and Matching.

Not every action is on every plan​

Setting the payee, setting or clearing the category, and the two memo actions are available with Basic rules. The tag actions, the two needs-review actions, Mark as cleared and Split transaction require Advanced Rules. See Basic and Advanced Rules.