Help center/Autopilot

Rules

Tell Caribooks once how a company's books are kept. Every routine and your assistant read it, and some rules Caribooks applies by itself.

Updated

A rule is one thing you have told Caribooks about how a company's books are kept: "Uber rides go to Travel, not Meals." Every routine reads the active rules of the company it works on, and your assistant receives them too, so a correction is said once. The Rules page, under Autopilot, lists them company by company. Adding, editing and retiring a rule need Write on the company; someone at Read sees the rules (see Team).

Two kinds of rule

Every rule is a sentence your routines and your assistant read. Most rules are only that, and the page lists them under Read by your routines and your assistant.

A rule in one of five shapes is also applied by Caribooks itself, exactly as written. The page lists these under Applied automatically:

  • Bank text → vendor: expenses whose bank text contains these words get this vendor.
  • Vendor → account: expenses from this vendor, or with these words in their bank text, go to this account, and can also take a tax code. The bank feed suggests that account first, and a routine on Just do it may book it without asking.
  • Account → tax code: whatever is booked to this account takes this tax code, in expense claims and in the bills a routine enters.
  • Documents → company: documents from this sender, or mentioning these words, belong to this company. Document sorting reads it before anything else.
  • Vendor sends bills: this vendor gets bills, even when the books show it always paid at purchase.

A shaped rule names its vendor, account and tax code as QuickBooks holds them, so renaming them in QuickBooks keeps the rule.

Add a rule

Under Add a rule, write the rule in a sentence and press Save rule. It is in force at once.

The Rules page: the Add a rule form and an active rule

When you change several companies of the account, For lets the sentence serve This company only, Every company, or Companies I pick: one rule, read by each of them and changed in one place.

To add a rule Caribooks applies by itself, press one of the five buttons under Or one that applies automatically. The form asks for that shape's fields: the vendor, words of the bank text, the account or the tax code, picked from the company's books; for Documents → company, the sender's address or words the document contains. The sentence is optional: left empty, Caribooks writes it from the fields. Same for saves the same rule for other companies, found in their books by the same names; a company whose books do not hold those names is skipped, and the form says which.

For a Canadian company, Account → tax code opens on the meals preset. Only half the GST/HST and QST paid on meals and entertainment can be claimed back, and one way to do it is to book meals with a tax code that claims half each period. The form opens on the account and the code your books most likely use for meals. If none of your tax codes claims half, create one in QuickBooks first. If you claim all of the tax during the year and add half back after year end, you do not need this rule.

A new rule with the same wording replaces the old one, and so does a shaped rule matching the same vendor, bank text, account or sender.

Documents → company is open on every plan, since document sorting is. The other rules need Autopilot on the company; without it, the page says Rules are part of Autopilot, which is off for this company and offers Turn on Autopilot. You can still retire the rules already there.

What each rule shows

Under each rule:

  • where it came from (the Rules page, your assistant by name, a routine by name, Documents, or Vendors on expenses) and what it rests on, such as the change you refused, the bill you corrected or the question you answered;
  • who added or approved it, and when;
  • how often it was used: Used 14 times, last on Nov 3, or Not used yet. A use is a change citing the rule that reached QuickBooks, a document it sorted, a claim line booked with its tax code, or a bank line added on its account.

A rule shared with other companies says Also for them, or For every company. Under another company, it says Written for the company where it is changed.

Apply a rule to past expenses

A rule applies to work that starts after it is saved. To bring expenses already in the books in line with a Vendor → account or Bank text → vendor rule, press Apply to past expenses on it:

  1. Under Expenses since, choose The books were closed, The fiscal year began, 90 days ago, Always or A date…, then press Show the expenses.
  2. The panel says how many expenses the rule would change: for Vendor → account, the expenses booked whole to another account, with the latest ones listed; for Bank text → vendor, the expenses with no vendor whose bank text holds the rule's words.
  3. Press Send 12 changes to Approvals (with your count), or Send to Approvals for a vendor. The expenses to move wait in Approvals on one card, up to 200 at a time: one row per expense with its date, amount, the account it is in now and its bank text, each ticked. Untick an expense that should stay where it is, then press Approve 11 (with your count); Reject all leaves them all. The vendor to give waits under Vendors on expenses. Nothing changes in QuickBooks before you approve it there.

An expense split across several accounts, or with item lines, is left as it is: one rule cannot say where each part goes.

Edit a rule

Press Edit on a rule, change its sentence or its fields, and save. The new version replaces the old one at once; it keeps where the rule came from.

Rules from a chat or a routine

A rule never goes into force from a chat or a run on its own:

  • When you tell your assistant to remember something, it saves the rule with remember_rule, and the rule waits in Approvals as New rule. Your assistant tells you so. When the rule is one of the five shapes, the assistant gives its fields, and Caribooks checks them against your books first.
  • A routine may notice a pattern, or read the reason you gave when rejecting a change or what you corrected on a bill, and propose a rule. It also waits in Approvals.

The Rules page shows how many rules wait, with a link to Approvals. There, approve one and it becomes active; press Edit to correct it first, then Approve as edited; reject it and nothing is saved. A rule you already rejected is not saved again from a chat.

A rejected change gives at most one rule. Once a routine has proposed a rule from your reason, no later run proposes another from it, whether you approved that rule, rejected it or have not answered yet. A routine also proposes no rule for a vendor or a memo that a rule waiting in Approvals already covers, and none that an active rule already says.

Retire a rule

Press Retire on an active rule. It stops applying from then on and leaves the list, for every company it serves. Your assistant can retire one too, with retire_rule. A rule still waiting in Approvals is not retired: you reject it there.

What a rule can and cannot do

Rules are bookkeeping data that runs read. A run treats each rule as a fact about your books and puts your rules ahead of its own judgment. Your own request, your access settings and your confirmations still come first. A rule never:

  • changes a company's access level, from read-only to full access or back;
  • skips a confirmation, such as the one a deletion needs;
  • turns on anything your plan does not include;
  • lets a run send an email or delete a record without your approval.

What a rule does unlock:

  • A routine on Just do it may move an expense to another account on its own only when an active rule covers that move.
  • A routine does not propose a bill for a vendor the company has always paid at purchase, unless a Vendor sends bills rule names that vendor.

A rule applies to work that starts after it is saved; existing expenses change only when you apply it to them, as above. Runs read the active rules oldest first, up to a fixed length. Short, specific rules work best.

Ask your assistant

  • "Remember that Hydro-Québec goes to Utilities, not Rent."
  • "What rules do you have for this company?"
  • "Retire the rule about Uber rides."

In this section

Didn't find the answer?

Write to support@caribooks.com, or use the Help button at the bottom right of every portal page. A person answers, in English or French.

→ Book a 30-minute demo