Both live in the books app.
- A rule is a fact about your books. AutoTally applies it to later proposals. Rules are about parties, limits and context.
- A playbook is a procedure for a kind of source document, such as a bank statement or a settlement report. The assistant reads it and follows it.
You need permission to approve writes (intent.approve) to create or revoke either. To read them through the API, see Rules and playbooks.
Rules
Open Rules. It shows what the workspace has learned, and what it does with it.
Rules come from three places:
- Learned from a correction: you moved a bill to a different account, so the workspace remembers where that supplier's bills belong.
- Suggested in chat: you told the assistant. These show Unconfirmed until someone chooses Confirm. A rule applies whether or not it is confirmed.
- Added by hand: you added it here.
Add a rule
Choose Add rule, then pick What kind of rule?:
| Kind | What it does |
|---|---|
| Where a party's bills post | Steers the accounts proposed for this party's bills. Every proposal still comes to you for approval. Name the Expense account, the Party account, or both. Spellings must match the book's ledgers. |
| A fact about a party | A GSTIN, Payment terms (days), or TDS applies?. A stored GSTIN beats name-matching on documents. An empty field says nothing, not "no". |
| Posting limits | Flag proposals above (₹) or Flag proposals that create a new party?. Limits flag a proposal for your eye. They never block one. |
| A note for the assistant | Context the assistant reads before answering. It is a note, not a control. |
Under Applies to, choose Whole workspace or one company. Then choose Add rule.
Revoke a rule
Choose Revoke on the rule. The dialog tells you what applies afterwards: either an older rule, or nothing, in which case these bills are proposed from the document alone.
Postings already made keep citing the rule. Revoking only changes what happens next.
A rule marked Replaced is not in force, but it comes back if the rule that replaced it is revoked. Rules in force show In force.
Choose Export rule book to download your rules.
Playbooks
Open Playbooks. Included with AutoTally lists the ones that are always available, such as Bank or OD account statement. You can add your own beside these, but not one with the same slug.
Add a playbook
Choose Add playbook and fill in:
- Slug: lowercase letters, digits and hyphens. It cannot be changed later.
- Title.
- When to use it: the one line the assistant reads before deciding to load this.
- Body: the steps the assistant should follow for this kind of document.
- Document shape (optional): pick a kind, such as Bank statement or Purchase bill, to have it loaded for that kind. Reachable by name only leaves it to be loaded by name.
You can also teach the assistant one in chat, then choose Confirm once it lands.
Example
For a marketplace settlement report, a playbook named amazon-settlement might say: "Post each settlement to the Amazon Receivable ledger. Book commission to Marketplace Fees. Book TCS to TCS Receivable. Ask me if the net does not match the bank credit."
Disable or revoke
- Disable pauses a playbook and keeps it. Enable turns it back on.
- Revoke removes it for good. The assistant stops reading it on the next turn, and nothing brings it back.
If the assistant rewrites a playbook, the editor shows The assistant rewrote this playbook with the earlier wording. Choose Put this wording back in the form to restore it.
