Match incoming customer payments to open invoices and queue the exceptions
Last updated
Copy this prompt
Paste this into a general agent such as ChatGPT agent or Claude, then add your own inputs.
Help me run this UseCaseProof playbook: Match incoming customer payments to open invoices and queue the exceptions. The problem: Customers pay by bank transfer, check, card and ACH, often with a remittance note that is missing, cut off, or covers several invoices at once. Someone in accounts receivable has to read the bank feed and remittance emails, work out which invoices each payment covers, post it in the accounting system and chase anything that does not match. When this falls behind, customers get reminders for invoices they already paid and the aging report is wrong. How the agent should work: The agent reads the day's deposits from the bank feed and any remittance advice from the AR inbox. For each payment it looks for matching open invoices by customer, amount, invoice numbers in the reference and combinations of invoices that add up to the payment. Clear one-to-one matches are proposed for posting. Partial payments, overpayments, short-pays, unknown payers and payments that fit more than one combination go to an exception queue with the candidate invoices and the reason it could not decide. A person approves postings and resolves every exception. Follow these steps: 1. List your payment sources (bank accounts, lockbox, card processor, payment portal) and where remittance advice arrives 2. Connect the bank feed and the accounting system's open-invoice list read-only, and give the agent read access to the AR inbox 3. Write the matching rules: exact amount and customer, invoice number in the reference, sums of up to a set number of invoices, and a small tolerance only if your policy allows one 4. Have the agent produce a daily match sheet: payment, proposed invoices, match reason and confidence, with remittance links 5. Route every non-exact case (short pay, overpay, unknown payer, multiple possible matches) to an exception list with candidates 6. An AR person approves the proposed postings and posts them, or approves a batch for the integration to post 7. For exceptions, the agent drafts a remittance request or short-pay query to the customer for a person to review and send 8. Reconcile daily totals: deposits in the bank equal payments posted plus open exceptions Human-approval checkpoint: An AR person approves every posting, resolves every exception and decides on write-offs, short-pay disputes and refunds of overpayments. Messages to customers are drafted only, and a person sends them. The agent never moves money, issues credits or closes invoices on its own. Guardrails: Wrong matches put payments on the wrong customer or invoice and send false reminders, so start with approval on every posting and widen only after a clean track record. Combinations of invoices can add up to the same amount by coincidence; require a reference or customer match, not amount alone. Bank and remittance data include account numbers and customer details, so keep access read-only and least privilege and check the tool's data terms. Keep an audit log of what was proposed and who approved it. Suggested tools from this playbook (not ranked; check current features and pricing): Accounting systems: QuickBooks Online, Xero, NetSuite, Sage Intacct, Bank feeds or exports, lockbox files, Stripe or other processor payout reports, ChatGPT, Claude, Gemini or Grok for remittance reading and drafts, Zapier, Make or n8n to pull feeds and build the match sheet, AR tools with built-in cash application such as Bill, Versapay, HighRadius or Tesorio (check current features), A spreadsheet for the daily match sheet. Do not send messages, move money, grant access, merge code, or take any irreversible action until I approve. If you need an input I have not provided, ask me instead of guessing.
The problem
Customers pay by bank transfer, check, card and ACH, often with a remittance note that is missing, cut off, or covers several invoices at once. Someone in accounts receivable has to read the bank feed and remittance emails, work out which invoices each payment covers, post it in the accounting system and chase anything that does not match. When this falls behind, customers get reminders for invoices they already paid and the aging report is wrong.
How the agent works
The agent reads the day's deposits from the bank feed and any remittance advice from the AR inbox. For each payment it looks for matching open invoices by customer, amount, invoice numbers in the reference and combinations of invoices that add up to the payment. Clear one-to-one matches are proposed for posting. Partial payments, overpayments, short-pays, unknown payers and payments that fit more than one combination go to an exception queue with the candidate invoices and the reason it could not decide. A person approves postings and resolves every exception.
Setup steps
- List your payment sources (bank accounts, lockbox, card processor, payment portal) and where remittance advice arrives
- Connect the bank feed and the accounting system's open-invoice list read-only, and give the agent read access to the AR inbox
- Write the matching rules: exact amount and customer, invoice number in the reference, sums of up to a set number of invoices, and a small tolerance only if your policy allows one
- Have the agent produce a daily match sheet: payment, proposed invoices, match reason and confidence, with remittance links
- Route every non-exact case (short pay, overpay, unknown payer, multiple possible matches) to an exception list with candidates
- An AR person approves the proposed postings and posts them, or approves a batch for the integration to post
- For exceptions, the agent drafts a remittance request or short-pay query to the customer for a person to review and send
- Reconcile daily totals: deposits in the bank equal payments posted plus open exceptions
Tools that can do this
- Accounting systems: QuickBooks Online, Xero, NetSuite, Sage Intacct
- Bank feeds or exports, lockbox files, Stripe or other processor payout reports
- ChatGPT, Claude, Gemini or Grok for remittance reading and drafts
- Zapier, Make or n8n to pull feeds and build the match sheet
- AR tools with built-in cash application such as Bill, Versapay, HighRadius or Tesorio (check current features)
- A spreadsheet for the daily match sheet
Some tool links may be affiliate links. We only list tools that fit the playbook; recommendations are not sold. Disclosure.
Not ranked. Tools marked Featured pay for a highlighted listing; that never decides which tools we include. Check each vendor's current features and pricing.
Make one of these tools? Feature your tool on every playbook where it is already listed.
Human in the loop
An AR person approves every posting, resolves every exception and decides on write-offs, short-pay disputes and refunds of overpayments. Messages to customers are drafted only, and a person sends them. The agent never moves money, issues credits or closes invoices on its own.
Risks and guardrails
Wrong matches put payments on the wrong customer or invoice and send false reminders, so start with approval on every posting and widen only after a clean track record. Combinations of invoices can add up to the same amount by coincidence; require a reference or customer match, not amount alone. Bank and remittance data include account numbers and customer details, so keep access read-only and least privilege and check the tool's data terms. Keep an audit log of what was proposed and who approved it.
ROI notes
Before you start, note how many payments you receive per week, hours spent applying cash, the unapplied cash balance and how often customers get reminders for paid invoices. After, track the share of payments matched without edits, exception count and age, hours per week and unapplied cash at month end. The value is faster, cleaner posting with exceptions surfaced early; the match rate depends on how well your customers send remittance details.
Quick answers
How do I match incoming customer payments to open invoices and queue the exceptions?
The agent reads the day's deposits from the bank feed and any remittance advice from the AR inbox. The full setup is 8 steps.
Do I need to code to set this up?
No. This can be set up with no-code tools. We rate the setup Medium.
Which tools can do this?
Accounting systems: QuickBooks Online, Xero, NetSuite, Sage Intacct, Bank feeds or exports, lockbox files, Stripe or other processor payout reports, ChatGPT, Claude, Gemini or Grok for remittance reading and drafts, Zapier, Make or n8n to pull feeds and build the match sheet, AR tools with built-in cash application such as Bill, Versapay, HighRadius or Tesorio (check current features), A spreadsheet for the daily match sheet. Not ranked; check each vendor's current features and pricing.
Where does a human stay in control?
An AR person approves every posting, resolves every exception and decides on write-offs, short-pay disputes and refunds of overpayments. Messages to customers are drafted only, and a person sends them.
What's a starter prompt I can paste into ChatGPT agent or Claude?
A playbook-specific starter prompt is in the Copy this prompt section above. It is written from this playbook's steps and human-approval checkpoint, for a general agent such as ChatGPT agent or Claude.
Also useful: follow up on overdue invoices; reconcile bank transactions; prepare chargeback dispute evidence; 13-week cash flow forecast.
Related playbooks
Extract invoice data into your accounting system
Someone retypes vendor invoices from PDFs into accounting software.
Categorize expenses and chase missing receipts
Month-end close stalls on uncategorized transactions and missing receipts.
Reconcile bank transactions with your books
Reconciliation is tedious matching across bank lines, invoices, and payouts.
All AI agent examples, by function · More Finance & Accounting playbooks