TL;DR Cash application is matching a deposit to the invoices it pays, and most deposits match themselves. The risk is the rest: an AI asked to “apply all cash” will force a match on amount and call a short pay a write-off. In this lesson you apply Larkspur’s 11 deposits for the week, $159,123.90, to the cent: $135,683.90 to invoices, $10,000.00 on account and $13,440.00 unapplied or credit, with every difference left open and explained.
The Accounting Operations Track, lesson 4 of 8. Free hands-on lessons on running AP, AR and payroll with AI, on one made-up company, with prompts, answer keys and self-checks. See all eight lessons or download the sample workbook (Excel).
All lessons
- Lesson 1: AP intake: three-way match and coding
- Lesson 2: Review the weekly payment run
- Lesson 3: Audit every expense report
- Lesson 4: Cash application (you are here)
- Lesson 5: Collections: prioritize, draft, escalate
- Lesson 6: Payroll checks before you hit submit
- Lesson 7: Vendor and customer master clean-up
- Lesson 8: Capstone: a week of AP, AR and payroll
What you’ll practice
- A match ladder the AI follows in order: remittance first, then payer or parent name, then exact amount with evidence.
- Treating short pays and late discounts as open deductions, not write-offs, and duplicate payments as customer credits.
- Leaving cash you cannot identify unapplied, with a research list, instead of letting the AI guess.
Time: about 30 to 40 minutes. You need the free Accounting Operations Track workbook (Excel) and any AI assistant that can read an uploaded spreadsheet. Larkspur Supply Co. is a made-up distributor, and every customer, deposit and invoice in the file is invented, so it is safe to upload.
The match ladder
In our view, a cash application rule set that works comes down to one order of evidence. Write it into the prompt so the AI climbs it one rung at a time and says which rung it used:
- Remittance. The payment names the invoices, and the amounts tie. Apply it.
- Payer or parent. The bank shows a name that is not the customer name in your system, but the customer master links them: a parent company, a shortened name. Map it, then use the remittance.
- Exact amount, with evidence. No invoice is named, but the customer has exactly one open invoice at exactly that amount. Apply it as a proposed match and say so.
- None of the above. Leave it unapplied and research it. Do not pick the closest amount, the oldest invoice or the likeliest customer.
The fourth rung matters most. A forced match makes the aging look clean and wrong: one customer gets dunned for a paid invoice, another gets credit for money that was never theirs.
The data
Sheet 4_Bank_Receipts has the 11 customer deposits that hit the bank from Mon Nov 16 to Fri Nov 20, 2026: Deposit ID, Date, Payer (as shown by the bank), Amount and Remittance text. Sheet 4b_Open_AR has the 24 open invoices before the week: Invoice, Customer, Invoice date, Terms and Open amount. Sheet 7b_Customer_Master gives each customer’s Parent / payer name, terms and contacts.
The prompts use the five-line format from the Workbench setup lesson: JOB, DATA, RULES, OUTPUT, PROOF.
Step 1: Propose the applications
JOB: You are a cash application specialist at Larkspur Supply Co. applying the week's customer deposits to open invoices.
DATA: Sheets 4_Bank_Receipts (11 deposits, Nov 16 to 20, 2026), 4b_Open_AR (open invoices before the week) and 7b_Customer_Master in the attached workbook. USD, to the cent.
RULES: Work deposit by deposit and climb this ladder in order, stopping at the first rung that works. (1) Remittance names invoice numbers (in any format, such as INV 50781, Inv50814 or 50820): apply to those invoices. (2) Payer name differs from the customer name: map it using the Customer name or Parent / payer columns in 7b_Customer_Master, then use the remittance. (3) No invoice named: apply only if that customer has exactly one open invoice at exactly the deposit amount, and label it PROPOSED. (4) Otherwise: UNAPPLIED. Never apply cash to an invoice of a different customer. Never apply to the oldest invoice unless the remittance says so. Never split a deposit across invoices the remittance does not name. Never apply more than an invoice's open amount: any excess is a customer credit. If the deposit is less than the invoices named, apply what was paid and leave the rest open on the invoice.
OUTPUT: Table, one row per deposit and invoice: deposit, date, bank payer, matched customer, rung used (1 to 4), invoice, amount applied, amount left open on the invoice, note.
PROOF: State the deposit count (11) and total (159,123.90). Show that applied plus on account plus unapplied or credit equals the deposit total. For every rung 2 or 3 match, quote the evidence from the sheet.
Watch three deposits. DEP-1101 arrives as OAKRIDGE HEALTH SYSTEM AP, a name not in 4b_Open_AR; the customer master lists Oakridge Health System as the payer for Oakridge Hospital. DEP-1105 from SUMMIT CO SCHOOLS gives a customer PO, not an invoice; Summit County Schools has exactly one open invoice, INV-50788, at exactly $25,400.00, a rung 3 match. Confirm the PO on the invoice copy before posting. DEP-1106 from J R CONSTRUCTION LLC has no remittance and no customer record: rung 4.
Step 2: Sort the differences
A gap between billed and paid is a question, not an adjustment. The AI classifies it and shows the arithmetic. Chasing or forgiving it is a person’s call.
JOB: You are reviewing every deposit where the cash did not equal the invoices it named.
DATA: Your step 1 table, plus Invoice date and Terms from 4b_Open_AR. Payment date = the deposit Date.
RULES: Classify each difference as one of: SHORT PAY (customer paid less and gave a reason), DISCOUNT EARNED (2/10 terms and paid within 10 days of the invoice date), DISCOUNT UNEARNED (discount taken after the 10 days), DUPLICATE PAYMENT (an invoice paid twice), ON ACCOUNT (customer says the payment is not for specific invoices) or UNIDENTIFIED. For discounts, show invoice date plus 10 days and the deposit date. A short pay or an unearned discount stays open on the invoice as a deduction: never write it off, never move it to bad debt. A duplicate payment becomes a customer credit: do not apply it to another invoice without the customer's instruction.
OUTPUT: Table: deposit, customer, invoice, billed, paid, difference, class, arithmetic, next step and the role that owns it (AR specialist, pricing or sales, AR manager).
PROOF: Show that the deductions you leave open add up, and list any deposit you could not classify.
Larkspur’s week has almost every kind. Metro Transit paid $28,440.00 on a $31,600.00 invoice, “less pricing adj”: a $3,160.00 short pay, exactly 10%, for whoever owns pricing. Delta Mechanical and Riverbend Ag both took 2% on 2/10 terms, but both paid after the window closed, so $128.20 and $178.40 stay open. Tri-State paid INV-50791 twice on Nov 20, $8,640.00 each time. Ohio Valley Builders sent $10,000.00 “on account, balance to follow” against $37,680.00 open on two invoices.
Step 3: Roll forward, then ask
Finish with a roll forward that proves the work, and questions for customers. The AI drafts them. You send them.
JOB: You are closing out the week's cash application for the AR manager.
DATA: 4b_Open_AR and your tables from steps 1 and 2.
RULES: Open AR after = open AR before minus cash applied to invoices. Deductions stay in open AR on their invoices. Show on-account cash and customer credits separately; do not net them against invoices yet. For each UNAPPLIED, ON ACCOUNT and DUPLICATE item, draft one short, polite email to the customer's AP contact in 7b_Customer_Master asking the one question that would let us apply it. If there is no customer record, draft a research note for the AR team instead. Do not send anything.
OUTPUT: (1) Roll forward: open AR before, cash applied, open AR after, invoice count after. (2) Open deductions list. (3) Draft emails and research notes.
PROOF: Show that open AR after equals the sum of the remaining open amounts by invoice.
A good draft for Tri-State is three sentences:
Subject: Duplicate payment of INV-50791
Hi, we received two payments of $8,640.00 on Nov 20, both referencing INV-50791. We have applied one and are holding the other as a credit on your account. Would you like a refund, or should we apply it to INV-50829 ($5,915.00) and refund the difference?
It applies nothing on its own. A person reads it and sends it.
What a good answer looks like
Show the answer key
Deposits, Nov 16 to 20, 2026
| Deposit | Applied to | Amount | Note |
|---|---|---|---|
| DEP-1101 Oakridge Health System | INV-50781, INV-50796 | 14,320.00 + 9,875.50 | Payer is Oakridge Hospital’s parent; remittance lists both invoices |
| DEP-1102 Metro Transit Shops | INV-50819 | 28,440.00 | Short 3,160.00 (10%), “pricing adj”: open a deduction, do not write off |
| DEP-1103 Harlan Mining Supply | INV-50805, INV-50807, INV-50809 | 11,180.00 + 4,365.00 + 2,790.00 | Remittance ties |
| DEP-1104 Delta Mechanical | INV-50823 | 6,281.80 | 2% taken Nov 17; window closed Nov 9: 128.20 unearned discount stays open |
| DEP-1105 Summit County Schools | INV-50788 | 25,400.00 | Remittance gives the customer PO; only open invoice for this customer at that exact amount |
| DEP-1106 J R Construction LLC | Unapplied | 4,800.00 | No remittance, not in the customer master: research, do not guess |
| DEP-1107 Riverbend Ag Supply | INV-50820 | 8,741.60 | 2% taken Nov 19; window closed Nov 12: 178.40 unearned discount stays open |
| DEP-1108 Bluegrass Fabrication | INV-50814 | 15,650.00 | Remittance ties |
| DEP-1109 Tri-State Equipment Rental | INV-50791 | 8,640.00 | Remittance ties |
| DEP-1110 Tri-State Equipment Rental | Customer credit | 8,640.00 | Second payment of INV-50791 the same day: ask the customer (refund, or apply to INV-50829) |
| DEP-1111 Ohio Valley Builders | On account | 10,000.00 | Partial payment, no invoices named: apply to the oldest (INV-50703) only if your policy says so; we leave it on account and ask |
The proof: applied to invoices 135,683.90 + on account 10,000.00 + unapplied or credit 13,440.00 (4,800.00 J R Construction and 8,640.00 Tri-State) = 159,123.90, the week’s deposits.
Deductions left open
| Invoice | Customer | Open | Why |
|---|---|---|---|
| INV-50819 | Metro Transit Shops | 3,160.00 | Pricing dispute |
| INV-50823 | Delta Mechanical | 128.20 | Unearned discount (invoice Oct 30, 2/10 means by Nov 9) |
| INV-50820 | Riverbend Ag Supply | 178.40 | Unearned discount (invoice Nov 2, by Nov 12) |
| Total | 3,466.60 | ||
Roll forward: open AR before the week 313,720.50 on 24 invoices, minus 135,683.90 applied, leaves 178,036.60 on 16 invoices. That is before the 10,000.00 on account from Ohio Valley and the 8,640.00 Tri-State credit, which sit separately until the customers answer. Eight invoices closed; three stay open only for deductions. Lesson 5 starts from this balance.
Where AI goes wrong on this task
Our view of the usual failure points:
- Forcing a match on amount. An AI looking for a home for J R Construction’s $4,800.00 will find the nearest invoice, or invent a customer. Rung 4 stops that.
- Calling a short pay a write-off. Writing off the $3,160.00 gives away 10% of an invoice before anyone has checked the pricing. A deduction stays open with an owner.
- Accepting every discount taken. The remittance says “less 2%,” so the model accepts it. Make it show invoice date plus 10 days next to the deposit date.
- Swallowing a duplicate payment. Some answers apply the second Tri-State payment to the next open invoice. That is the customer’s decision.
- Missing a parent payer. If the prompt does not point to the customer master, OAKRIDGE HEALTH SYSTEM AP becomes unidentified cash and two paid invoices go on the dunning list.
What stays with a person
The AI proposes; the AR manager approves the applications and owns the policy calls: on-account cash, small unearned discounts, refunds. Pricing or sales owns the Metro Transit deduction. No new customer is created for unidentified cash until someone knows who paid. The controller signs off on any write-off. If you are weighing dedicated cash application tools, see our guide to AI accounts receivable and collections software and our HighRadius vs Billtrust comparison.
Check yourself
DEP-1105 names no invoice. Why is applying it to INV-50788 acceptable?
Summit County Schools has exactly one open invoice, at exactly the deposit amount. That is evidence, not a guess. It is still a proposed match until you confirm PO 88-1172 on the invoice copy.
Delta Mechanical paid INV-50823 less 2% on Nov 17. Why is $128.20 still open?
The invoice is dated Oct 30 on 2/10 net 30 terms, so the window closed Nov 9. It stays open as an unearned discount until someone decides to collect or waive it.
Why not apply Ohio Valley’s $10,000.00 to INV-50703, the oldest invoice?
The customer said “on account, balance to follow” and named no invoice. Applying to the oldest is a policy choice. Without that policy, hold it on account and ask the customer which invoices it covers.
What happens to the second $8,640.00 from Tri-State?
It becomes a customer credit, because DEP-1109 already paid INV-50791. Ask Tri-State: refund, or apply to INV-50829. Do nothing until they answer.
Why does open AR fall by $135,683.90 and not by the full $159,123.90 deposited?
Only cash applied to invoices reduces invoice balances. The $10,000.00 on account, $8,640.00 credit and $4,800.00 unapplied are real cash not yet tied to an invoice.
Your turn: try it on your own data
Export one week of deposits with remittance text, open AR by invoice and your customer list with payer names. Run the three prompts and compare the rung 3 and 4 items with what your team did. Customer names and amounts are internal data, and bank account numbers never belong in an upload: check the data zones in the Workbench setup lesson and strip account and routing numbers from the bank file before you start.
Next: Accounting Operations Track 5: Collections with AI: prioritize, draft, escalate
Put AI to work on your own numbers
The free 25-Prompt CFO Pack: copy-paste prompts for the weekly review, variance analysis, board decks, forecasting and hiring that work in ChatGPT, Claude or Copilot. Free, straight to your inbox.
