The worry with invoice automation is a wrong bill going straight into the books, so the first thing to design is the point where a person says yes. Everything else — extraction, field mapping, the connection to your ledger — sits downstream of that decision. Build the gate first and the automation becomes a drafting clerk with a manager behind it. Build the automation first and you spend the first month hoping.
Why the gate is a design decision, not a setting
A small team’s payables process is one shared inbox, a handful of PDFs a day, and whoever gets there first retyping vendor, amount, line items and due date into the accounting system. It works until the month a duplicate arrives because the original was already keyed in, a due date is transcribed as the invoice date, or a bill for the wrong entity slips through. That is not exotic failure; it is ordinary copy error repeated monthly, and it surfaces only when a supplier chases a payment or a reconciliation refuses to balance.
Automation removes the copy error and, with it, the informal check that used to come free — the moment a human looked at a number and thought “that seems high”. The approval step puts that moment back deliberately, at a known point in the flow, with a record of who said yes and when.
What the bot does, and where the gate sits
The Invoice Processing Bot monitors an email inbox, extracts invoice details — vendor, amount, line items, due date — and creates entries in your accounting system. Gmail, Outlook and IMAP are supported as email sources; Xero, QuickBooks and MYOB as accounting systems. Extraction is AI-powered (Claude), and there is optional routing to a manager for approval before the entry is created.
That last clause is the argument for this design. Because approval sits upstream of the write, a rejection means nothing was created — you are not reversing a bad bill afterwards, you are stopping it.
A worked example: one inbox, one approver, one rule
Imagine a six-person consultancy. Supplier invoices land in a shared Gmail inbox, the finance lead works three days a week, and nobody wants unattended writes to the ledger.
- Write the rule as one sentence. “No supplier invoice posts until the finance lead approves it.” Leave nothing implicit: approval is a policy decision, and you will be asked to justify it later.
- Isolate the inbox. Point the bot at the mailbox that receives supplier invoices and nothing else. A mailbox mixing customer mail, newsletters and invoices gives the extraction step all of it to sort out.
- Turn on manager routing. Enable the optional approval routing, and name the approver and a backup in the same conversation. A single-name chain breaks the first week someone takes leave.
- Define the rejection path. Approval is easy to specify; rejection is where processes rot. Decide who contacts the vendor, what gets recorded, and how you stop the same invoice re-entering tomorrow with no memory of the rejection.
- Set a response expectation. If nothing is approved for two days, what happens? Chase, or let it wait and accept the due-date risk. Either is defensible; having no rule is not.
- Pilot on a fortnight of real invoices and tally what the approver catches: wrong vendor, wrong entity, a credit note treated as an invoice. That tally is the only honest measure of whether the gate works.
If the approver caught nothing in forty invoices, you have either unusually clean suppliers or a rubber stamp — and rubber-stamping is the failure mode to design against, not to celebrate.
The limits, and when this is the wrong tool
Approval adds latency by construction. That is fine for a weekly batch and painful where supplier terms are tight or early-settlement discounts matter. The gate also only works if the person behind it reads; a manager clearing a queue at 6pm on Friday is producing a signature, not a control. If volume is high enough that review becomes a formality, a written sampling policy is more honest than pretending every line was checked.
Watch what else arrives in that inbox. Supplier statements, credit notes and receipts share the same address but not the same fields, so route them separately or hold them manually rather than letting the extractor guess. And if your accounting system already has a bill approval workflow, a second gate upstream duplicates the control and doubles the friction — choose one place for the human to say yes.
If you process a handful of invoices a month, or the same person is both preparer and approver, the gate is theatre. A weekly twenty-minute batch with a checklist will do. The gate also does not replace reconciliation: it reduces the errors reaching the ledger, it does not prove the ledger is right.
Start with the sentence, not the connection. Write down who approves what, what happens when they say no, and how quickly they must answer — then configure against it and pilot on real invoices for a fortnight. If invoice handling is one strand of a wider push to take repetitive document work off a small team, Sakal Network’s AI and document automation work covers the surrounding pieces. The supported inbox and accounting combinations are set out on the product page: the Invoice Processing Bot on sakal.shop.
Disclosure: Code n Rob is written by the founder of Sakal Network, which runs sakal.shop.

