Acreum Docs
Banking

Bank rules

Rules that recognize recurring bank lines and suggest a category or a transfer, or post a category automatically when the organization allows it.

A bank rule matches lines by description, amount, and direction, and attaches a ready suggestion to each one it hits. Rules run first, in priority order, before the document-matching and history generators. A rule in Suggest only mode leaves you to accept each line; a categorize rule in Auto-post mode posts the line itself when the organization allows it (below). Manage them at Accounting → Banking → Manage rules.

Example

First National charges Maple Plaza LLC a $25 service fee each month, described "FIRST NATIONAL SVC FEE". You create the rule "FNB service fee": token "SVC FEE", direction Out, account scope ••4421, action Categorize as Expense to Bank Service Charges with party First National. From then on the monthly fee arrives on Pending with a hint showing the Bank Service Charges account's code and name and "from rule", and one keystroke posts DR Bank Service Charges $25 / CR First National Operating $25.

How to create a rule

  1. On Bank rules, click the new-rule button. The drawer is titled New rule.
  2. Give the rule a Name.
  3. Under When, set the conditions:
FieldNotes
Description contains (any of)Add one or more tokens with Add token. Matching is case-insensitive; each token needs at least 3 characters. Any token matching is enough.
Amount min, Amount maxOptional bounds on the absolute amount.
DirectionAny, In, or Out.
Account scopeAll accounts or one bank account.
  1. Under Then, choose the action:
ActionFields
CategorizeEconomic document type Sales receipt or Expense, Account, Party (outside parties only; one of your own entities cannot be chosen), Description (optional).
Mark as transferTransfer to bank account.
ExcludeNone. See the note under Mode.
  1. Mode is Suggest only in this drawer. The drawer always shows the alternative as Auto-post (disabled by org) and does not let you select it, whatever the organization setting. To create an auto-post rule, use Auto-post future matches when you create a rule from a transaction (below). An Exclude rule writes no suggestion at all: matching lines show "No suggestion" and are not excluded.
  2. Optionally switch on Apply to existing pending transactions immediately. This writes suggestions onto lines already on Pending; it never posts anything retroactively.
  3. Click Create.

The rule drawer has no dimensions picker; dimensions are set on the line when you accept it. Rules created with Edit open the same drawer titled Edit rule and save with Save.

How to order rules

Rules are listed in priority order and the first matching rule wins. Drag a row by its handle to change the order. Each row shows the name, a Suggest badge (or Auto-post), Disabled when the rule is inactive, and a summary in the form "When: tokens • In/Out • action", where the action reads "Categorize → expense" (or sales_receipt), "Transfer to" and the first characters of the destination account's id, or "Exclude".

How to test a rule

Click the Test against pending icon on a row. The panel is read-only ("nothing is written") and reports how many pending transactions the rule would match, so you can check a token before relying on it.

How to create a rule from a transaction

In the workbench, open a line and click Create rule in the panel footer. The popover offers Token (description contains) prefilled from the line, Apply to all bank accounts, and Auto-post future matches, then Save rule. The action comes from the line's current suggestion, not from what you entered on the line: in Categorize mode the suggestion must be a category hint that names a party, and in Record as transfer mode a transfer suggestion. Without one there is nothing to save and the popover says "Action will be inferred from your current categorization. Apply the categorize first, then save the rule from the dedicated Rules page." Rules created here are named "Auto: " plus the token and are applied to existing pending lines at once.

When you exclude a line from the panel footer, the Exclude this transaction from your books? prompt also offers Also remember as a rule, which creates an exclude rule for that description (named "Auto exclude: " plus the token, with an Auto-post badge). As above, an exclude rule writes no suggestion and excludes nothing on its own.

Auto-posting

Auto-posting needs both of these:

  • The organization switch Allow auto-posting from bank rules under Organization → Org Settings → Banking ("When on, rules with mode Auto-post create journal entries automatically without review. Rules with Suggest mode are unaffected.").
  • A Categorize rule in Auto-post mode that names an account and a party.

When such a rule is the first match for a new line, Acreum categorizes the line as if you had accepted it. If that fails, the line falls back to a suggestion. Transfer and exclude rules never auto-post.

How to delete a rule

Click the delete icon on the row.

Deleting a rule has no confirmation step. Suggestions already written by the rule stay on their lines; documents already posted are unaffected.

Rules

  • Rules are evaluated in priority order and only the first hit applies.
  • A suggest-only rule never posts; accepting its suggestion is what posts. See Transactions for what each action posts.
  • Backfill onto pending lines writes suggestions only.
  • A categorize rule cannot name one of your own legal entities as the party.
  • Every application of a rule to a line is recorded internally, but no screen shows it. The row panel's Categorization history ("Recent categorizations") lists earlier lines with the same description that were categorized, not rule applications.

On this page