Bank rules
A bank rule says what a kind of statement line is — "a card payment to EXAMPLE MOBILE is Spend Money to Telephone & Internet, at the standard rate, for the supplier Example Mobile" — so that on the reconcile page the form for such a line opens already filled. You check it and save it. A rule never records anything itself, and a line that has something to match is offered the match first.
Before you begin
- You need the permission to manage the chart of accounts — the one reconciling needs — to make, change or delete rules. Anyone who may see the chart can see them and test them.
Make a rule
Go to Settings → Bank rules and select New rule, or — after recording a line by hand from the reconcile page — select Create a rule from this on the transaction's page: the rule's form opens filled from it (its bank account, money in or out, its description, and what you recorded it as). Change anything, then Create rule.
When a statement line… — every condition you give must hold, and you must give at least one:
- Is on the bank account — one account, or any.
- Is money in, money out, or either.
- Its description contains, is, or starts with a text. The text is compared in capitals, both as the statement shows it and with card numbers, references, dates and a bank's code at the start set aside — so "AMAZON PRIME" catches "Amazon Prime2K3J4" and "AMAZON PRIME8HX21". Tick Look for it in the line's reference too to search the reference as well.
- Its amount is, is more than, is less than, or is between amounts — its size, money in or out alike.
- Its payee contains a text — the statement's payer or payee column, where your bank gives one (Wise does). A line without one does not match.
…fill the form for — Spend Money (money out only), Receive Money (money in only), or a transfer with the other
account named; and, for Spend or Receive Money, the account, optionally a VAT rate, a contact (a supplier or a
customer) and a description — empty keeps the line's own; {description} puts the line's description in, {payee} its payee.
A rule can only name what the form itself offers: an account, VAT rate or contact you could choose on Spend Money, Receive Money or a transfer today.
The order
Rules are tried in their order, top first; the first enabled rule whose conditions all hold fills the form. Use Up and Down to change the order. On the reconcile page, each line shows, in this order:
- what it could be matched to, if anything;
- the rule's suggestion — Rule: name → Spend Money, account, rate, contact and Record from rule — below any match, saying "a match was found — check it first";
- otherwise, what lines like it became before — Suggested from N past transactions (see Reconcile your bank account). Where a rule takes a line, that is not shown.
Lines with a suggestion above the lines shows only those, and says how many there are. The form a rule fills says Filled by the rule name — check it before posting.
Needs attention
A rule shows Needs attention, with the reason, when something it names can no longer be chosen: its account or a transfer's other account archived — the rule is then not used at all, and the next rule (or what lines like it became) has the line — or its VAT rate or contact no longer offered, which the form is then filled without. Edit the rule to choose again.
Test against history
Test against history on a rule lists the statement lines of the last 12 months (or the period you choose) it would have caught: date, account, description, amount — and, for a line already reconciled, what you actually recorded it as, so you can see whether the rule agrees with what you did. A line a higher rule would take first is marked so. Testing changes nothing.
Duplicate, disable, delete
Duplicate makes a copy just below the rule, disabled, so it changes nothing until you edit and enable it. Disable stops a rule for a while. Delete asks first; nothing recorded with the rule before is changed. Every rule made, changed, moved, enabled, disabled or deleted is in the audit trail, with the rule before and after.
What it may say
| Code | What it means | What to do |
|---|---|---|
bank-rule-name-required |
The rule has no name. | Name it: the reconcile page says which rule filled a form. |
bank-rule-no-condition |
It has no condition, so it would fill every line's form. | Give it at least one. |
bank-rule-suggestion-against-direction |
Spend Money for money in, or Receive Money for money out. | Choose the other direction, or the other kind. |
bank-rule-transfer-to-same-account |
A transfer to the account the rule is for. | Choose the account the money goes to or comes from. |
bank-rule-action-missing |
The account (or a transfer's other account) is missing. | Choose it. |
bank-rule-action-not-offered |
An account, VAT rate or contact the form does not offer — archived, a control account, a reverse charge on Spend Money, a construction rate with the CIS setting off. | Choose one the form offers. |
bank-rule-amount-cannot-hold |
No amount given, or "between" with the lower amount above the higher. | Correct the amounts. |
bank-rule-not-found |
The rule was deleted, or is not this organisation's. | Open it again from Settings → Bank rules. |