"Who owes us money?" is a working-capital question — not a request for a raw invoice export.
Founders and finance teams need to know how much customers owe, which balances are overdue, and whether AR agrees with the books. An accounts receivable AI agent should answer the same way an accountant would: reports first, records second, and human-in-the-loop review before any collection or write-off action. Done well, this supports faster collections, healthier cash flow, and lower days sales outstanding (DSO).
This accounts receivable AI agent playbook maps that workflow to Paprel MCP, Paprel's hosted MCP server for embedded accounting. It can run in NewLedger (built on Paprel), in your Paprel sandbox, or inside a SaaS, fintech, marketplace, or vertical product built on Paprel.
1. Business Question
Who owes us money?
| What they mean | Accounting view |
|---|---|
| Who has not paid? | Open Accounts Receivable balances by customer |
| How late? | AR aging buckets: current, 30, 60, 90+ days |
| Why that total? | Invoices, payments, credit notes, unmatched receipts |
| Can we trust it? | AR detail reconciles to balance sheet and general ledger |
Rule: Start with receivables totals (client balances) — not an invoice search.
Capability boundary: Paprel does not document a native AR aging report. The REST reports (/v1/reports/*) include an AP aging summary but no AR equivalent, and this playbook does not assume an MCP aging tool. The agent should build a clearly labeled derived aging schedule from client balances and open invoices' due dates, and must not present it as a native AR aging report. For embedded builds, REST offers GET /v1/reports/customer-statement (a dated statement per client).
2. Business Value And Use Cases
Receivables turn revenue into cash. Strong P&L sales can still mean weak cash flow if customers pay late.
Common mistakes: invoice status only · ignoring aging · treating revenue as cash · skipping GL validation · auto-sending collection messages · connecting agents without a governed accounting MCP.
| Embedded AI use case | What the user gets | Why Paprel helps |
|---|---|---|
| Weekly collections brief | Ranked overdue customers and exceptions | AR reports and source records from one ledger |
| Customer account view | Balance, open invoices, payments, and credits | A consistent client and receivables subledger |
| Unapplied-cash review | Receipts that may need matching | Banking and payment context beside AR |
| Month-end AR close | Reconciliation-ready AR evidence | Aging, balance sheet, GL, and activity history |
| Finance copilot inside SaaS | A natural-language answer without exporting customer books | Tenant-scoped MCP access to embedded accounting data |
3. Why Embedded Accounting Changes The Answer
In a disconnected workflow, the agent may read an invoice table, a bank export, and an accounting package that disagree. In an embedded accounting product, the operational document and the financial result share one accounting model:
Product event -> invoice -> AR subledger -> journal -> client balance / balance sheet -> agent answer
The invoice explains the commercial event. The subledger tracks what remains open. The journal records the accounting effect. Reports summarize that same ledger, so the user-facing receivables view and the finance-grade answer can't disagree.
For the architecture behind this chain, see why subledgers matter and double-entry ledger architecture.
4. AI Agent Reasoning Path
Who owes us money?
-> Accounts Receivable domain
-> client balances + open invoices -> derived aging (primary)
-> invoices, payments, banking (drilldown)
-> balance sheet + GL (validation)
-> human-reviewed follow-up list
| Step | Prevents |
|---|---|
| Domain focus | Agent confuses revenue with receivables |
| Reports first | Raw invoice dumps without totals or aging |
| Validation | Answers that do not tie to the ledger |
| Review gate | Unapproved collections or write-offs |
5. Reports And Records
Primary: client balances, plus a derived aging schedule built from open invoices and their due dates — who owes, how much, how late.
Supporting:
| Report | Use when |
|---|---|
| Client balance | Customer-level totals |
| Payments | Customer says they paid; partial payments |
| Sales report | Revenue mix behind receivables |
| Banking transactions (read) | Cash received but not applied |
| Balance sheet | AR control account total |
| General ledger | Adjustments, write-offs, disputes |
| Trial balance | Ledger integrity at close |
Objects (context, not a shortcut): clients, invoices, payments, credit notes, bank transactions, journals, tax accounts.
6. Paprel MCP Capability Mapping
Map Paprel MCP tools to intent — not endpoint names.
| Supported MCP capability | Business purpose |
|---|---|
| Company summary | Confirm the company before reading financial data |
| Client balances and payments | Establish who owes and how much |
| Invoices (with due dates) | Build the derived aging schedule and explain each balance |
| Banking transactions (read) | Investigate cash that may not be applied |
| Balance sheet, General Ledger, trial balance | Validate AR against the books |
| Journal and activity history | Trace adjustments and agent-visible activity |
Guardrails: totals before lists · label the derived aging schedule as derived · explain with records, do not replace reports · keep writes reviewable.
Keep matching out of this scope. banking_transaction_categorize categorizes or matches a bank transaction and takes effect immediately, with no draft step. This workflow only needs to read banking transactions to spot unapplied cash. Leave that scope off the connection so the agent can flag a likely match but not apply it. (Likewise client_create, which also writes immediately.)
Why Paprel is selected
- System of record: reports and drilldowns come from the same embedded double-entry ledger, not a stale spreadsheet export.
- Scoped access: tenant-scoped OAuth and per-route grants limit what an agent can see and do.
- Accounting invariants: ledger validation applies whether the actor is a person, integration, or AI agent.
- Reviewable change: invoices and manual journal entries an agent creates land as drafts, not posted entries.
- Attribution: activity history preserves who did what and when.
Example sequence
User: Who owes us money as of month-end?
Agent:
1. confirm company + date
2. client balances; open invoices grouped by days past due (derived aging)
3. top overdue customers
4. invoices + payments for exceptions
5. banking transactions if receipts may be unmatched
6. balance sheet + GL to validate total
7. summarize + recommend follow-up — stop before collections or write-offs

The journal history supports the validation step: the agent can trace a material receivables exception to accounting evidence instead of relying only on an invoice status.
7. Finance-Grade Answer Contract
The agent should return an answer that a founder can scan and an accountant can verify.
| Required output | What to include |
|---|---|
| Scope | Company, currency, and as-of date |
| Headline | Total AR, overdue AR, and overdue percentage |
| Aging | Current, 30, 60, and 90+ day balances, labeled as derived from open invoices |
| Priorities | Largest or oldest customer balances |
| Exceptions | Partial payments, credits, disputes, or unmatched receipts |
| Validation | Whether AR agrees with the balance sheet and any difference |
| Evidence | Reports and drilldowns used |
| Safe stop | Recommendations only; no collection or write-off action performed |
If a required report is unavailable or totals do not reconcile, the agent should say so instead of presenting an estimate as an accounting fact.
8. Workflow Checklist
| # | Action | MCP tools |
|---|---|---|
| 1 | Confirm company, currency, date | Company summary |
| 2 | Total receivables by customer | Client balances |
| 3 | Build the derived aging schedule | Invoices (due dates) |
| 4 | Explain exceptions | Invoices, payments |
| 5 | Check unapplied cash | Banking transactions |
| 6 | Validate total | Balance sheet, GL, trial balance |
| 7 | Output action list | Activity history |
Use it or embed it
- Use this workflow in NewLedger or your Paprel sandbox: in NewLedger or https://sandbox.paprel.com, open
Settings > App Connect > MCP Server, connect your MCP client with a read-only scope, and ask "Who owes us money as of today?" - Embed it with Paprel: each of your tenants is a Paprel company with its own MCP server, so every tenant gets the same report-backed answer inside your application. To ship your own collections copilot, follow the custom agent guide.
Start read-only. Confirm that the agent starts from totals, labels the aging schedule as derived, cites its drilldowns, and exposes reconciliation exceptions before you expand access.
9. Follow-Up Questions
- Which customers owe the most? · Which invoices are 30/60/90+ days overdue?
- Any partial payments or unmatched receipts? · Any credit notes on overdue invoices?
- Does the derived aging total agree with balance sheet AR? · GL entries behind the AR balance?
- Which customers to prioritize for collection this week?
10. Best Practices
- Reconcile total receivables to balance sheet AR every month-end.
- Review overdue balances weekly — not only at close.
- Never treat P&L revenue as expected cash.
client balances -> derived aging -> invoice/payment drilldown -> unapplied-cash check -> GL check -> reviewed actions
11. Common Questions
What is an accounts receivable AI agent?
It is an agent that can retrieve receivables reports, investigate customer-level exceptions, validate totals against the ledger, and prepare a prioritized collections brief. Unlike a basic chatbot, it follows a multi-step accounting workflow and cites the evidence behind its answer.
How is an AR AI agent different from AR automation?
Traditional AR automation usually follows fixed reminder and dunning rules. An AI agent can reason across aging, invoices, payments, bank activity, and customer context, then escalate exceptions. Collection messages and write-offs should still remain subject to company policy and human approval.
Can an AR agent help reduce DSO?
It can help teams identify overdue concentration, unapplied cash, and accounts needing attention sooner. Reducing DSO still depends on payment terms, dispute resolution, collection policy, and timely human follow-up.
Read Next
- Accounts Payable AI Agent Playbook
- Profit and Loss AI Agent Playbook
- Paprel MCP for AI Agents (hub)
- MCP for Embedded Accounting
- Bank Reconciliation for Embedded Accounting
- Audit Trails for Embedded Accounting
Building it into your product? Follow the custom agent guide.
