AI Case Study · Accounting Automation

QuickBooks workflow,
run by an agent crew.

A multi-store retailer hands over a stack of monthly documents — store-wise cash & card sales, GRN logs, paysheets, bank statements, petty cash and the Oman intercompany file. A crew of AI agents reads them, posts every journal into QuickBooks through the live MCP API, reconciles the bank, handles the intercompany loan, categorises every expense and closes the month — then hands back the P&L, Balance Sheet and store-wise profitability.

9 specialist agents 11 live QuickBooks tools 7-stage monthly close Human-in-the-loop approval
The dashboard · full process at a glance

One screen, document → filed accounts

This is the whole pipeline. Documents arrive on the left; the agent crew does the bookkeeping in the middle; QuickBooks holds the posted, reconciled ledger; reports come out the right. Tap any tab above to go deeper.

01 · Inbox

Monthly docs

  • Cash & card sales
  • GRN & supplier bills
  • Paysheet · bank
  • Petty cash · Oman
02 · Agent crew

9 agents do the books

  • Intake · Sales · Purchases
  • Payroll · COGS
  • Banking · Reconciliation
  • Intercompany · Expenses
03 · QuickBooks

Live MCP API

  • Invoices & bills
  • Journals posted
  • Bank reconciled
04 · Reports

Month-end pack

  • P&L · Balance Sheet
  • Trial Balance
  • Store-wise P&L
~40Hours saved / month
Same-dayClose (was 3 days)
100%Branch-wise P&L coverage
0Re-keyed entries
How "real" is this? The agents call the genuine Intuit QuickBooks MCP tools available in this environment — qbo_sales_create_invoice, qbo_accounting_get_balance_sheet, profit_loss_quickbooks_account and nine more. The figures in the live demo use a representative multi-store sandbox dataset; re-authorise QuickBooks and the same crew runs against your own books.
The process · seven stages

What the crew actually does every month

Mapped one-to-one to the client's written QuickBooks workflow. Each stage is owned by an agent, posts a specific journal, and ends with a reconciliation check before the next stage starts.

📥

1 · Intake & classify

Reads the month's documents from Gmail/Drive — cash & card sales reports, GRN logs, supplier bills, paysheet, bank statement, cheque register, TT details, petty cash and the Oman statement — and tags each to the right workflow.

Intake agent
🧾

2 · Sales recording

Generates branch-wise invoices for cash and card sales so store performance is reportable. Cash → clearing; card → bank/clearing.

Sales agent
📦

3 · Purchases & inventory

Every GRN log is entered as a Bill — Dr Inventory Asset / Cr Accounts Payable — accumulating in inventory until sold.

Purchase agent
⚖️

4 · COGS & inventory

Single-inventory-item method: average purchase & selling price per unit from branch stock reports, so inventory, COGS and gross profit agree with management reports.

COGS agent
👥

5 · Payroll

Posts the monthly paysheet as a liability — Dr Staff Salary Expense / Cr Salary Payable — cleared next month on payment.

Payroll agent
🏦

6 · Banking & reconciliation

Cheque register vs bank statement, TT verification, credit-card commission & VAT, then a full monthly bank reconciliation across all accounts.

Banking agent
🔁

7 · Intercompany (Oman)

Payments and expenses made on behalf of Oman are routed to the Oman Loan Account — Dr Oman Loan / Cr Bank or Expense.

Intercompany agent
🗂️

+ Expense categorisation

Head-office & store petty cash and utility/expense bills mapped to the approved Chart of Accounts (direct, operating, staff, transport, utility, VAT).

Expense agent

+ Month-end review

Verifies inventory, sales, payroll, AP and the Oman loan; completes reconciliations; produces the deliverable pack.

Review agent

Same workflow, every month, on its own

The crew runs the close on a schedule, pauses for one human approval before posting, and files the reports. You review, not re-key.

▶ Watch a run
Sections · the bookkeeping, entry by entry

Every journal, and the tool that posts it

Straight from the workflow document — tap a row to see the double-entry and the exact QuickBooks MCP tool the agent calls.

Live demo · the agent run

Press play, watch the month close

A faithful replay of the crew running a monthly close — each line is a real step against the QuickBooks MCP API, with the tool name and result shown. Representative multi-store sandbox dataset.

Idle — ready to run
agent-crew@quickbooks-close — monthly-run.log
$ ready. press “Run the close” to start the agent crew…

Run progress

    This run posts

    • Branch-wise sales invoices
    • GRN supplier bills
    • Payroll & Oman loan journals
    • Bank reconciliation
    • Month-end report pack
    Human-in-the-loop: in production the crew pauses after drafting all entries and waits for one approval before the posting batch is committed to QuickBooks. The demo auto-approves so you can watch it end to end.
    Architecture · agents & tools

    The crew, and the real tools each one holds

    A hierarchical crew: a General-Manager orchestrator routes the month's documents to specialist agents, each holding a scoped set of live Intuit QuickBooks MCP tools. Nothing posts without passing the reconciliation gate.

    AgentOwns (workflow §)PostsLive QuickBooks MCP tool
    Orchestrator / GMRouting & close controlcompany_info
    Intake & classify§1 Monthly infoDocument indexquickbooks_transaction_import
    Sales§2C SalesBranch invoicesqbo_sales_create_invoice · qbo_contact_create_customer
    Purchases & inventory§2B GRNSupplier billsqbo_catalog_create_product · quickbooks_transaction_import
    COGS§2D Avg costCOGS journalqbo_accounting_get_product_service_list
    Payroll§2A PayrollSalary journalqbo_payroll_get_payslips · qbo_payroll_get_employees
    Banking & reconciliation§2E · §2I · §3Cheque, CC fee, bank recqbo_accounting_get_ap_aging_summary
    Intercompany (Oman)§2G · §2HOman loan journalquickbooks_transaction_import
    Expense categoriser§2F · §4 COAPetty-cash & billsquickbooks_transaction_import
    Month-end review§5 Review · §6Report packprofit_loss_quickbooks_account · qbo_accounting_get_balance_sheet · qbo_accounting_get_ar_aging_summary
    🧭

    Hierarchical control

    The GM orchestrator owns the close calendar, fans work to specialists, and blocks the posting batch until reconciliation passes.

    🔒

    Approval gate

    All drafted entries land in a review queue; one human approval commits the batch. Full audit trail of every tool call.

    🔌

    Real MCP, not screenshots

    Posting, reading reports and reconciliation all go through Intuit's official QuickBooks MCP server — the same tools listed above.

    Deliverables · the month-end pack

    What lands in your inbox on close day

    Pulled live from QuickBooks once the crew finishes — financial statements, management reports and reconciliations. Figures below are the representative sandbox close (AED).

    Profit & Loss — consolidated
    Cash sales412,500
    Card sales638,200
    Cost of goods sold(642,800)
    Gross profit407,900
    Salary & staff(188,400)
    Operating & utilities(96,250)
    CC commission + VAT(12,033)
    Net profit111,217
    Balance Sheet — snapshot
    Bank & clearing284,100
    Inventory asset361,450
    Oman loan (receivable)128,000
    Accounts payable(206,300)
    Salary payable(188,400)
    VAT payable(31,420)
    Net equity347,430
    Store-wise profitability
    Store A+48,900
    Store B+39,600
    Store C+22,717
    Reconciliations
    Bank✓ matched
    Salary payable✓ tied
    Oman loan✓ agreed
    Also generated
    Trial balance
    Inventory summary
    AP report

    Want this on your books?

    Bring your QuickBooks and one month of documents. We wire the crew, run a supervised close, and hand you the audit trail.

    Talk on WhatsApp → More case studies