← Clients

Layer

An AI bookkeeper, and the components under it

I designed an AI bookkeeper for small business owners twice, as a wizard and as a conversation, and reworked how Layer's components categorize and match bank transactions.

The Bookkeeper asking about a new counterparty, with its recommendation and the tasks that need input

Why

Bookkeeping doesn't end, so the product can't be a wizard that does. The bookkeeper should do most of the work alone, ask only what it can't work out, and show why it's asking.

01

Questions, not forms

Grouped by who was paid, so one answer settles many transactions.

02

Reasoning on every ask

Why it's asking, its best guess and how sure it is.

03

It remembers

Every confirmed answer becomes a rule you can read and delete.

04

Match first

If the system found a match, lead with it; categorizing is the escape hatch.

At a glance

Client
Layer Financial
When
2026
Built
Two working prototypes, and a spec for nine match cards
Tags
Product design, AI interfaces, prototyping, design systems

The full story

Designing an AI bookkeeper twice, as a wizard and as a conversation

Published Nov 2026 · ☕ 10 min read

Layer Financial puts accounting inside other companies' software. A platform for dog groomers or contractors adds Layer's components, and its customers get books, a profit and loss and tax-ready categories without leaving the app they already use.

In 2026 Layer asked me to design an AI bookkeeper on top of that: something a business owner sets up in a few minutes, that categorizes their transactions, closes their months and only asks them about what it can't work out. I designed it twice, from the same product brief, and built both versions as working prototypes so we could judge them in the hand instead of in a slide.

1. A wizard first

The first prototype was a wizard. Tell us about your business, pick what you used before (QuickBooks, FreshBooks, a spreadsheet or nothing), connect your bank, then answer questions about what the bookkeeper found. "I found 5 checks totaling $12,320.25. Can you tell me what these were for?" "I see 2 Facebook charges totaling $104.15. Were these for advertising or a subscription?"

The questions were the best part. They were grouped by counterparty, so one answer settled many transactions, and each came with the likely categories ready to tap. The wizard around them was the weak part. It ended. Bookkeeping doesn't: new charges arrive every day, a month has to close, a receipt goes missing. A wizard is a good way to start a relationship and a bad way to keep one.

2. Then a conversation

The second prototype kept the questions and made the whole product a conversation. The bookkeeper greets you, asks about you and the business, proposes a plan, connects the bank through a Plaid-style step, and then works through your transactions in front of you. Most of them stream past already categorized, each with its confidence. When it reaches something it isn't sure of, it stops and asks.

Every question shows its reasoning: why the bookkeeper is asking, its best guess and how sure it is. I insisted on that. An owner who sees "first time seeing Bark & Co, best guess Inventory, 64%" can answer in a second. An owner who sees only "What is this?" has to do the bookkeeper's job.

The chat isn't the only screen. Generative cards appear inside it for the moments a sentence can't carry: a form for the business details, the plan, the bank connection, a profit and loss, a preview of the closing schedule. Around the chat sit Home, the Bookkeeper with its list of tasks that need you, Transactions, Books with every month's status, Reports and Activity. On a phone it's one column with a bottom bar; on a desktop the navigation moves to a left rail.

The Home dashboard: revenue, expenses, net profit and cash on hand, seven months of revenue against expenses, what needs you and the bookkeeping status by month
Home: the month in four numbers, what needs you, and where the books stand.

The same chat answers questions about the books. Ask why cash is low when sales are strong, and it reasons through the ledger and comes back with the three causes, in plain sentences, with the next step offered as a button.

The Bookkeeper answering: How come my cash on hand is so low when we're getting all these sales? It lists a Stripe payout lag, an equipment purchase and payroll timing
A question about the books, answered from the books.

3. It remembers

The feature I liked most is Memory. When you confirm a category, the bookkeeper writes down the pattern, "Bark & Co Wholesale → Inventory", says "I'll remember this for next time", and applies it quietly from then on. The first version had a Memory page listing every pattern with its scope and confidence. In the current build, the bookkeeper tells you instead: when you come back, it says how many transactions it categorized on its own and how many learned patterns it used, and hands you only what is left.

The Bookkeeper welcoming the owner back: since we last connected, I've categorized 120 new transactions automatically using 14 learned patterns. I have 6 things that need your input
Welcome back: 120 transactions categorized with 14 learned patterns, and six things only the owner can answer.

Memory turns a black box into something you can check. The activity feed on Home does the same for what it did without asking: "Auto-categorized 4 Lowe's transactions" is a line you can check, not a mystery in your books.

4. Built to be tested

A prototype that only works on its happy path proves nothing about the other days. So the chat prototype has a demo button on every screen with eight scenarios, from a first-time setup to the end of February with open tasks, a new merchant in the middle of a month, a $1,847 Best Buy receipt the bookkeeper needs, an inbox full of different kinds of task, and a month marked complete. Each one resets the app, seeds a believable business, opens the right screen and shows a checklist of what to look at.

The last week went into the details that make it feel finished: a shimmer while the AI works, a catch-up panel that shows progress through a backlog, transactions as expanding cards on mobile, and the desktop Home rebuilt in Figma on Layer's own design system.

Some transactions need more than one answer. Ask how to categorize a Home Depot run that was part supplies and part a family lunch, and the bookkeeper first asks which of three charges you mean, marking its best guess, and then proposes the split.

The Bookkeeper asking which Home Depot transaction the owner means, with three candidates and the most likely one marked Best guess
Which charge? The bookkeeper asks before it splits, with its best guess marked.
Bank transactions: dates, merchants, accounts, amounts and a status per row, from Needs review to Auto-categorized
Transactions: what the bookkeeper sorted on its own, and what still needs review.

Layer's product is a library of React components that other companies put inside their apps. The most used of them is the bank transactions list: every charge and deposit, waiting to be categorized into the chart of accounts or matched to a record that already exists, like an invoice, a bill or a transfer.

Alongside the bookkeeper, I went through those components in Storybook on desktop and mobile and wrote down what I found, why I thought Layer had built it that way, and what I would change. Then I specified one piece of the fix in full.

5. Two devices, two products

Layer's bank transactions component: To review and Categorized tabs, and rows with a category picker, a Confirm button and an expand arrow; two rows show a suggested invoice match
The bank transactions list as it ships in Layer's components.

On desktop, an expanded transaction has two tabs, Categorize and Match, with the full chart of accounts and a Split button inline. On mobile it has three: Business, Personal and More. That isn't a responsive layout. It's a different product, and a sensible one. The phone is for an owner doing quick triage, and the question it asks is "is this yours or the business's?", which anyone can answer on the bus.

The cost is hidden features. On mobile, split and match live under More, and nothing on the Business tab hints they exist. A small "or split" link under the category would cost almost no space and save people from discovering More by accident.

6. Match should come first

On desktop, Categorize and Match are equal tabs. They aren't equal operations. Matching links a transaction to a record you already have, which is reconciliation. Categorizing is what you do when there is no record. If a match exists, you almost always want it, so presenting the two as siblings sends people down the wrong path.

Layer's bank transactions component with the Acme Corp row expanded: Categorize and Match as two tabs, three invoice candidates, a description field and Upload receipt
The component today: Match is a tab beside Categorize, even when the right invoice is already the first candidate.

I proposed two ways out. Show suggested matches at the top of the view, with categorizing underneath as the fallback. Or drop the tabs and let the system pick: a match if one exists, the category form if not, and a "Categorize manually instead" link for the rare case it picked wrong.

7. Small things on the row

A few smaller findings, each with its fix:

  • A delete button on the only line. When a transaction isn't split, each line still shows a trash icon, but you can't have zero lines. Put the Split button there instead, since splitting is the natural next step.
  • An amount field that repeats the header. Unsplit, the amount is disabled and identical to the amount above it. Hide it until someone splits, and give the space to the new tax code fields.
  • A two-column body on desktop. Categorize or Match on the left, where the variants live; description and receipt on the right, the same for both. The category field is sized for "Legal and professional services" plus a fifth.

8. One card for every kind of match

The match list showed every candidate the same way, so a payroll run, a transfer and an invoice payment looked alike. I designed one card anatomy for all of them, with five slots: an icon for the type, a context line (a reference number or an account pair), a primary line (who or why), the date and the amount. Then a variant for each of the nine record types: manual journal entry, transfer, vendor payout, payroll, Stripe payout, invoice payment, bill payment, customer refund and vendor refund.

The match candidate card engineering spec: the card anatomy, then each match type with its visual sample, its source fields and notes marked green, amber or red
The spec: every slot on every card mapped to the field it comes from, and marked by whether that field exists.

The spec was for engineering, so every slot on every card is mapped to the field it comes from, and marked by whether that field exists:

Marked Meaning Example
On the match payload Ships as designed A journal entry's reference number and memo
Reachable with one more fetch Ships with a small backend change An invoice's customer name, a Stripe payout's transaction count
Not in any data Layer has Removed from the design A payroll's employee count, a bill.com run

The third row is the honest part. Earlier mocks had shown "Gusto · 12 employees" on payroll and "8 bills paid" on vendor payouts. They looked great, and Layer has no source for either. Where the data doesn't exist, the card falls back to a primary-only variant rather than promising something the product can't show.