Bank rules and automations
The phone subscription, the rent and the account fees come back on the statement every month. A rule recognises them and books them for you. At every import, To Bill also does by itself whatever is certain: exact QR payments, bank charges, returned payments. Everything it does by itself is logged and can be undone in one click. It also learns from your previous books, and its suggestions take your company into account.
Before you start
You need the right to manage the accounting to create a rule or change a setting. Rules apply to the lines of imported statements. See Import a bank statement.
Rules
In Accounting › Bank, open the Rules tab.
Each rule shows what it recognises, the account it books to, how many times it has been applied, its status (Active or Paused) and its mode: Automatic or Proposes only. A rule made for a merchant names it, for example “Merchant Swisscom (Schweiz) AG”; a mixed-use rule shows its business share and the account for the rest. Under the status, where the rule comes from:
| Origin | The rule comes from |
|---|---|
| Learned from your 2025 books | Your previous books. See Learn from my previous books. |
| Your answer | Your answer to a question, for an insurer. |
| « Always like this » | A click on Always like this for … in a line’s panel. See Reconcile payments. |
| Learned from your bookings | A rule To Bill suggested to you, which you accepted. |
Create a rule
Click New rule (1).
Under When a statement line…, choose the direction: Money out, Money in or Both.
Enter what recognises the line, at least one of these criteria:
- Counterparty name contains, for example “Swisscom”. To Bill ignores accents, capitals and legal forms such as “SA”, “AG”, “Sàrl” or “GmbH”.
- Counterparty IBAN: the surest, since an IBAN belongs to one counterparty only.
- Text contains, for example “Rent”.
- Reference contains. If needed, add Amount from and Amount up to, and On the account if you have several bank accounts.
Under Then…, choose what the rule does:
- Book to an account: choose the Account, the VAT included if the expense contains VAT, and the Entry text. If your company is not registered for VAT, the VAT included field does not appear: no rule carries a rate, not even a learned or suggested one.
- Link the document named: the rule links the line to the invoice or expense whose number appears in the text or the reference, if the amount matches.
Under Options, keep Automatic switched on so that the rule books without asking, or switch it off so that it only proposes. Give it a Name, for example “Phone subscription”.
Click Create the rule.
The rule will apply to the next statements. To apply it to lines already imported, open it, then click Apply to open lines.
A rule that is too broad
A rule on the amount alone would book any line: To Bill requires at least a counterparty, an IBAN, a text or a reference. Prefer the IBAN when you know it.
Automatic or proposal
An Automatic rule books a line only if it recognises it with certainty and no invoice or expense is already proposed for that line: an expense recorded with its receipt takes precedence over the rule, so that the cost is not counted twice. Otherwise, the rule only proposes, and you confirm in the statement with OK.
When two rules recognise the same line, the lowest Priority goes first. This setting only appears in Expert mode.
Rules To Bill suggests
When you book a transaction from the same counterparty the same way twice, To Bill suggests turning it into a rule: Create the rule? appears above the statement and in the Rules tab.
- Accept creates the rule and immediately books the matching open lines.
- Edit opens the rule so you can adjust it before accepting it.
- Ignore: it will no longer be suggested for this counterparty and this account.
- Later (stays under Rules): the suggestion waits in the Rules tab.
Edit, pause or delete a rule
Click the rule. Change what needs changing, then click Save. Switch off Rule active to pause it: it no longer proposes or books anything. Delete removes it; what it has already booked stays booked, and can be undone from the Automatic tab.
Learn from my previous books
Your fiduciary or your previous software booked your suppliers in past years: To Bill reads those entries and suggests the same accounts on your bank lines.
In the Rules tab, click Learn from my previous books.
Choose where to learn from:
- An Excel or CSV journal: the export from your fiduciary or your previous software, with a header row: date, description, debit account, credit account and amount;
- My previous years in To Bill: the entries of this company’s past financial years.
Under Your old accounts, confirm once where each old account goes in today’s chart. To Bill suggests an account and says why: Same number, same name, Same name, By its suppliers, Sub-account to create…
When the accounts of your former chart do not mean what the SME accounts of the same number mean, To Bill says so: Your former chart of accounts has its own numbers (1). It then takes over no account by its number alone, but by its name or by what its suppliers are: the Heylight instalments go to 2450 Loans. An old number that means something else today is marked Same number, other meaning (2): the old 3000 Prestations de services goes to 3400 Revenue from services. An old account that neither its name nor its suppliers say clearly is marked To choose, with no account suggested: choose it once, or Do not learn; Learn waits until each one is chosen. Another account… takes another account of the chart.
Read through the suppliers and clients learned, then click Learn.
To Bill learns nothing from a description written only once, such as “Office microwave” or “Home-office desktop PC”: that is a purchase, not a supplier. Nor does it learn anything from a refund. A known supplier whose old account mixed two things goes to the account of what it is: Helvetia, booked to “Depreciation and insurance”, becomes a rule on 6300. Personal spending, such as groceries, does not become a rule: the bank suggests it as private, as always.
Each supplier or client learned becomes a rule that only proposes: its lines are suggested with a reason such as “As in your 2025 books (Figma, old account 6520)”, and you confirm each one. Your own rules come first. An account marked new is added to your chart. A supplier part of whose cost went to the private account, like the phone, keeps that private share. Learning a second time updates the rules already learned.
What the suggestions know about your company
Open the Automatic tab. The What the suggestions know about your company card brings together what To Bill uses to tell whether a line is private, a debt, a transfer or a cost. See Reconcile payments.
| Row | What it says |
|---|---|
| Legal form | Sole proprietorship, Partnership or Limited company (AG / GmbH), chosen when accounting was opened, and the private account used, for example 2850. |
| VAT | Registered, with its method, or Not registered: no VAT is proposed or declared. Change opens the VAT settings. See Set up your company’s VAT. |
| Salaries | With employees in Payroll, salaries and social charges go through payroll. With no employees, To Bill never suggests a salary or social charges. |
| Owners | The company’s administrators in To Bill, and the other names you add. A transfer to or from these people is a private drawing or contribution, never a salary. |
| Capitalisation threshold | An equipment purchase from this amount is suggested as a fixed asset, below it as a cost. CHF 1'000 by default. |
Does your bank write an owner’s name differently? Type it, first and last name, in the First and last name, as the bank writes it field (1), then click Add. To change the threshold, type the amount (2), then click Save.
After each change, To Bill suggests the open lines again. Propose the open lines again (3) does it on demand, for example after you have changed your chart of accounts. Lines already booked do not change.
What To Bill does by itself at import
In the Automatic tab, the What To Bill does on its own at import card holds the automation level and the switches.
The automation level
At the top of the card, the Automation level says what the bank books on its own.
| Level | What the bank books on its own |
|---|---|
| I confirm everything | Nothing: the bank suggests, you confirm. The four switches below are turned off. |
| Automatic when it's certain (1), Recommended | Your confirmed rules (Always like this for …, a question answered), a supplier booked the same way 3 times in a row, in To Bill or in your previous books learned, an invoice or an expense paid to the centime, bank charges, transfers between your accounts and the private account’s movements. |
| Everything the AI proposes with high confidence | The same, plus any suggestion that is 90 % certain or more. |
No level books on its own a private-or-business question, a fixed asset, a split nobody confirmed, or a purchase at or above the capitalisation threshold: a cost or a fixed asset, even as part of a split. Transfers between your accounts, those of the private account and an invoice or an expense paid to the centime go through whatever the amount. Automatic when it's certain never books a supplier seen for the first time either.
A company that opens its books starts on Automatic when it's certain. A company that had the bank before keeps its switches as they are until it chooses a level.
The level applies at every import. Apply to open lines (2) applies it at once to the lines already waiting, three times at most in ten minutes.
The four switches
Under the level, four switches. I confirm everything turns them off, the other two levels turn them on:
| Switch | What To Bill does |
|---|---|
| Book safe QR payments | A valid QR reference, a single open invoice, the exact amount to the centime: the payment is recorded at import. |
| Apply the automatic rules | The rules marked Automatic book the lines they recognise with certainty. |
| Book bank charges | The charges the bank separates from a transaction go to 6900 Financial expenses, without VAT. |
| Handle returned payments | When the bank returns an invoice payment, the payment is cancelled on the date of the return and the invoice is open again. |
Switch one off to decide for yourself each time: the lines concerned then stay to do, with their suggestion, in To do or Safe matches.
The automatic history
Below the switches, the Automatic history lists everything To Bill has done by itself, line by line: Booked, Proposed or Left, with the reason and the degree of certainty. Filter with All, Booked, Proposed and Left.
To go back on an action, click Undo: the line is back to do and its entries are reversed in the journal. The same history appears in the panel of each line, under Done automatically.
What the level booked has the kind Automation level, a receipt attached on its own the kind Receipt received, each with the account and the reason. In the statement’s list, a line booked this way carries the Automatic badge.
Today, the bank worked on its own
On the days To Bill booked or attached something on its own, the Today, the bank worked on its own card appears in the Statement tab, above the list, with its summary, for example “5 lines booked · 1 receipt attached”.
See the detail opens the list: each item says which account the line went to, or which receipt was attached, with Undo (2). Automation log (1) leads to the full history, in the Automatic tab.
Why a line was left
The history says why To Bill did not book a line: Two rules recognise the line, An invoice or expense is already proposed, The rule only proposes, Match not sure enough, The amount does not settle the invoice exactly… Handle it in the statement. See Reconcile payments.
Legal basis
- An entry is never erased: undoing an action books a reversal entry, and the original stays visible in the journal: Art. 3 GeBüV, the Ordinance on the Keeping and Retention of Accounting Records (German version: fedlex has no English one).
- Payment and transfer charges are excluded from VAT: they give no right to deduct input tax: Art. 21 para. 2 no. 19 let. c VAT Act.