Accounting AI agent · AR & collections
Accounts-Receivable & Collections AI Agent (Cash Application & Dunning)
Match incoming remittances to open invoices, propose an explanation for every unapplied or short payment, run approved dunning contact, and route every dispute to the named credit officer who decides.
- Typical delivery
- 4–6 weeks
- Deployment
- Your stack
- Credit approval
- Proposal-only
- After launch
- Agent Care
What this agent does
Matches the cash, not the credit decision
In
- 01
Remittances arrive from bank feeds, lockbox files, payment portals and connected AR systems.
- 02
Invoice references and payment identifiers are normalised before matching runs.
Reason
- 03
Open invoices are matched against each remittance line by amount, date and reference.
- 04
Configured cash-application rules and customer-specific matching logic are applied.
- 05
Prior remittances and the customer's payment history inform an ambiguous match.
Decide
- 06
Unapplied and short payments are flagged, each with a proposed explanation.
- 07
Full-satisfaction language and disputed deductions are routed to the named credit officer, never auto-applied.
Out
- 08
The remittance, the proposed match, the flags and every override are retained against the account.
- 09
Execute write actions only inside the approval boundaries agreed during implementation.
Product statement
The agent proposes the match and the contact; the credit officer decides settlements, write-offs and credit limits, and the company remains the creditor of record.
Example workflow
One remittance, cash to contact
- 1Remittance receivedBank feed, lockbox file, payment portal or AR system API
- 2Context assembledOpen invoices, customer history, contact rules and prior remittances
- 3Match proposedProposed match, explanation, flags and confidence
- 4Controls appliedFull-satisfaction check, deduction check, per-state contact rules and confidence threshold
No human action required
Stages 1 to 4 run unaided, and nothing posts or contacts anyone at any of them — the credit officer's lane opens at the confidence gate.
Goes to the credit officer to approve.
Adds a senior-credit read first.
Credit approval
The match is held with its evidence, its flags and the confidence.
Approve · Adjust · Send to credit manager
Approved — released to post
- 6Receivables system updatedOnly where write access and approval policy allow it
- 7Outcome evaluatedMatch accuracy, override rate, dispute outcomes and days to resolve
Overrides
Every credit-officer override is counted in the evaluation.
What should not run autonomously
Human approval stays in control
Outside the boundary — human approval required
8 items
- Applying or depositing a check marked paid in full.
- Settling an account or agreeing a payoff.
- Writing off a balance.
- Releasing a lien, claim or guarantee.
Automation boundary
Agent acts unaided
- ✓Match incoming remittances to open invoices by amount and reference.
- ✓Propose an explanation for every unapplied or short.
- ✓Run approved dunning contact within configured.
- ✓Route disputes and deductions to the named credit officer for the named owner.
Any write happens inside the boundaries agreed at implementation, never ahead of approval.
- Threatening legal or other collection action.
- Deciding a credit limit, or the reasons behind it.
- Reporting a balance to a credit bureau.
- Ruling a deduction valid, invalid or fraudulent.
Example output
One remittance, annotated
Everything the agent proposes is attached to the account it came from.
Cash-application output · single remittance
Illustrative example- Customer
- Regional distributor account
- Remittance line
- Wire remittance covering three invoices, one short
- Amount
- $18,240.00
- Proposed match
- Matched to INV-3381, 3382, 3384
- Confidence
- 88%
- Reason code
- Pricing-discrepancy deduction, unconfirmed
As received
Taken from the remittance and the invoice ledger — nothing on this side is inferred.
Evidence used
- Remittance advice text
- Prior payment pattern
- Open invoice balances
Why this match
The shortfall carries a deduction code the agent can't confirm.
What the score decides
Below the configured threshold the match routes to a senior-credit read before the credit.
Action
ApproveAdjustSend to credit managerValue
Where AI adds value
The same four claims, placed at the point in the workflow where each one applies.
Where the value lands
Value 01 – 04
Every remittance
From the bank or lockbox feed
Match against open invoices
Apply configured cash-application rules and the customer's payment history.
Chasing is not collecting
Routine remittances are matched and posted without a person touching them.
Send review to the shortfalls
Short pays, deductions and full-satisfaction language are flagged, so the credit officer's read starts where risk concentrates.
Build an evidence trail
The balance, the evidence behind it and the credit officer who approved the step stay on the account.
Integrations
Typical integrations
Five system groups connect to the same agent. Which of them are in scope is decided in discovery.
AR and invoicing systems
- NetSuite
- SAP
- Oracle
- Dynamics
- Sage Intacct
Banking and remittance data
- Bank feeds
- lockbox files
- Payment portals
- EDI remittance
Customer records
- Credit files
- contact info
- Contract and dunning history
Agent
Cash application & collections
- Reads the ledger
- Proposes the match
- Holds for approval
Workflow
- ticketing
- Approval systems
Observability & evaluation
- OpenTelemetry
- Langfuse
- Supported monitoring/evaluation sources
Integration availability depends on the client's existing systems and API access.
Agent controls
Six layers between the model and the cash
Each control encloses the next. What the stack lets through is named in the map under it.
L6 · Outermost — last line of defence
Inward → L1 · closest to the model
- L1 – L2
- Test whether a match may stand
- L3
- Puts the release in a credit officer's hands
- L4 – L5
- Keep the balance and the evidence behind it
- L6
- Drops the agent to statement-only contact when signals degrade
How Nestack evaluates it
Evaluate the cash-application workflow — not only the final match.
Coverage runs the whole depth of the workflow, and every layer is cut by slice.
Surface — the match the customer sees
- E1Final-output evaluationDid the proposed match tie to the correct open invoices?
- E2Step-level evaluationDid the agent use the right ledger, contact rules and consent record?
- E3Tool evaluationDid it read and write the correct account and invoice?
- E4Confidence calibrationDo low-confidence matches actually attract more overrides?
- E5Slice evaluationHow does performance change across specific customer cohorts?
- E6Business outcomeHow many matches needed an override or a later correction?
Floor — the outcome the credit team answers for
Failure modes
Where each failure originates in the agent
Seven failure modes plotted against the five stages of the agent lifecycle.
Agent lifecycle
Direction of processing →
01 · Retrieval
1 mode
- DU-03
Superseded aging snapshot
Invoice or customer history is read from a stale aging run.
Stage gathers
Remittance advice, invoice ledger and payer history
02 · Reasoning
2 modes
- DU-04
Full-satisfaction blindness
A short-pay check carrying full-satisfaction language is read as an ordinary partial.
- DU-06
Deduction mischaracterized
A trade deduction is read as nonpayment and queued for dunning.
Stage proposes
The proposed match, explanation and confidence
03 · Tool / write
2 modes
- DU-02
Low-confidence auto-apply
Agent applies a match despite insufficient certainty.
- DU-05
Duplicate remittance posted
Same remittance is applied to two invoices.
Stage writes
Only where write access and approval policy allow it
04 · Output
1 mode
- DU-01
Misapplied remittance
Payment applied to the wrong open invoice.
Stage returns
The application the credit officer approves
05 · Change / Version
1 mode
- DU-07
Silent contact-rule drift
A model or rule change widens who the agent contacts, or how.
Stage tracks
Model, prompt, matching and contact rules
- Sev-1 · a held action executes without
- Sev-2 · a wrong match reaches the ledger
- Sev-3 · source degrades, match routes to review
Affected slices
A healthy rate can hide one bad cohort
A healthy overall match rate can hide a handful of cohorts where unapplied cash concentrates. Nestack reports the unapplied-rate lift by slice, not only in total Nestack reports it by slice rather than in aggregate..
Slice performance — reported separately, not only in aggregate
Illustrative example| Slice | Failure rate | Lift | Lift vs. threshold | Status |
|---|---|---|---|---|
| Short-paid with a deduction code | 6.7% | 3.5× | Review | |
| Remittance sent separately | 4.4% | 2.3× | Review | |
| Consolidated multi-invoice payments | 3.2% | 1.7× | Watch | |
| Single invoice, exact match | 1.9% | 0.8× | Normal |
Bar: unapplied-rate lift vs. the exact-match baseline · scale 0–4.0× · tick marks the 2.0× review threshold
2 of 4 slices over threshold
Evidence-linked improvement
The loop closes on a regression case
A cycle closes when the misapplied payment is a case the next release has to survive. That suite is what the next remittance posted is measured against.
Improvement cycle · five stages
Switchback — the path turns at Improve and returns at Learn
- 01
Detect
Unapplied-rate rises in a remittance cohort.
- 02
Diagnose
The remittance that matched the wrong invoice is traced back through the rule and the record that produced it.
- 03
Improve
The fix ships against a version, with the accounts that exposed it attached.
- 04
Verify
Release is held until the affected cash-application cases pass again.
- 05
Learn
The case joins the permanent suite and the contact rules move with it.
Learn → Detect
The return edge. Detection next time runs against a suite one case longer.
Typical build scope
Twelve workstreams across six weeks
The build scope read against the delivery timeline. Week structure follows the six-week plan — discovery, sources, matching workflow, evaluation, integration, then production validation and handover.
Workstream
Week 1Week 2Week 3Week 4Week 5Week 6
- 01AR workflow discovery and boundary setup and boundary definition.Week 1
- 02Bank, lockbox and AR-system assessment.Week 1, Week 2
- 03Contact-rule and state mini-FDCPA mapping and rule mapping.Week 1, Week 2
- 04Remittance ingestion and normalisation.Week 2
- 05Matching logic and explanation drafting.Week 2, Week 3
- 06Confidence scoring and dispute routing.Week 3
- 07Credit-officer approval workflow.Week 3, Week 4
- 08Receivables-system integration.Week 5
- 09Cash-application regression cases.Week 4, Week 5
- 10Guardrails and contact controls.Week 4
- 11Account-trail instrumentation.Week 5, Week 6
- 12Deployment, documentation and Agent Care handover.Week 6
12 workstreams · 6 weeks · bar shows the weeks a workstream is active — several run in parallel
Final scope and sequence confirmed in discovery
Engagement tiers
What each tier includes
Rows are the capabilities named in each tier's scope. Higher tiers include everything below them.
| Capability✓ in scope · — not at this tier | PilotOne AR system, one entity | ProductionProduction receivables systems | AdvancedMultiple entities / systems |
|---|---|---|---|
| Introduced at Pilot | |||
| Matching and dunning recommendations | ✓ | ✓ | ✓ |
| Credit approval | ✓ | ✓ | ✓ |
| Match-accuracy baseline | ✓ | ✓ | ✓ |
| Introduced at Production | |||
| Reporting by ageing band | — | ✓ | ✓ |
| Approval workflow in your systems | — | ✓ | ✓ |
| Approved cash posting | — | ✓ | ✓ |
| Receivables-system integration | — | ✓ | ✓ |
| Introduced at Advanced | |||
| Multi-state contact rules | — | — | ✓ |
| Multi-stage credit approvals | — | — | ✓ |
| High remittance volume | — | — | ✓ |
| Multi-entity receivables controls | — | — | ✓ |
| Build price | From $5,000 | From $8,000 | Custom quote |
- Final build price
- Confirmed after discovery based on integrations, workflow complexity, transaction volume, approval controls and deployment requirements.
- Separate from build
- Build pricing is separate from recurring Agent Care, which covers managed monitoring, evaluations, incidents and verified improvements after launch.
What we need from you
What you bring, and what we build with it
Each input maps to a piece of build scope and a week in the delivery timeline.
You bring
We build with it
01Your invoice and remittance data
→Remittance ingestion and matching setup
Week 102Representative historical remittances
→Matching baseline, explanation drafting and confidence scoring
Week 203Your approved contact rules and dunning cadence
→Contact-rule and automation-boundary mapping
Week 104Access to relevant APIs, feeds or exports
→Bank, lockbox and AR-system assessment, then integration setup
Week 205Payments you would not want applied
→Short-pay cases and failure-mode testing
Week 406What no contact may say on its own
→Confidence scoring, flag routing, guardrails and contact controls
Week 307Named credit officers to review matches
→Credit-officer approval workflow, then pilot and production validation
Weeks 5–6
Nothing else is required
Deployment, documentation and Agent Care handover are ours.
Delivery timeline
Four phases across six weeks
Each band covers the weeks the work really takes, which is why week 5 carries evaluation and pilot together.
Phase
W1
W2
W3
W4
W5
W6
- DiscoveryW1
- BuildW2 – W3
- EvaluateW4 – W5
- Pilot & LaunchW5 – W6
Week focus
W1AR workflow discovery, contact-rule mapping and the boundary
W2Source integration and the matching baseline
W3Matching workflow, confidence logic and approval controls
W4Evaluation suite, guardrails and failure-mode testing
W5Bank integration, pilot remittances and targeted corrections
W6One ageing cycle run under the credit manager, then Agent Care handover
- Reading the band
- A bar covers the weeks its work is named in, and nothing else. The week 5 overlap is real, not padding.
- At the end of W6
- Validation closes on live accounts, and Agent Care picks up monitoring.
- Duration
- Six-week plan shown · typical delivery 4–6 weeks depending on scope confirmed in discovery.
Next step · Accounting AI agent
Build an AR and collections agent around your credit team's approval chain.
Show us your remittance sources, your contact rules and who signs off on exceptions. If short pays and deductions are still triaged by hand, we'll map the match logic, set the contact boundary and name who owns every dispute.
- Typical delivery
- 4–6 weeks
- Deployment
- Your AR and banking stack
- Credit approval
- Proposal-only
- After launch
- Agent Care available
Nestack Agents · Cash application & collections
AGT-ACC-14 · Agent Care available after launch
