AR Collections Agent
by @samledger67-dotcom
Automate AR collections with aging analysis, prioritization, email drafts, DSO reporting, payment tracking, and bad debt reserve recommendations.
clawhub install ar-collections-agentπ About This Skill
name: ar-collections-agent description: Accounts Receivable (AR) collections workflow automation for accounting firms and finance teams. Use when you need to: (1) identify overdue invoices and aged AR buckets (30/60/90/120+ days), (2) draft escalating collection emails or call scripts, (3) generate AR aging reports and DSO calculations, (4) prioritize collection targets by balance and risk, (5) track payment promises and follow-up schedules, (6) calculate bad debt reserves or write-off recommendations, or (7) produce client-ready AR health dashboards. Works with QBO exports, CSV invoice data, or direct QBO API. NOT for: initiating legal action or filing liens (escalate to attorney), sending external emails without approval, accessing client QBO accounts without explicit write authorization, or PTIN-backed tax services.
AR Collections Agent
Automate and systematize accounts receivable collections: aging analysis, prioritization, outreach drafts, DSO tracking, and bad debt analysis.
Inputs Accepted
invoice_id, customer, invoice_date, due_date, amount, amount_due, statusCore Workflows
1. AR Aging Analysis
Bucket invoices into standard aging tiers:
| Bucket | Days Past Due | |--------|--------------| | Current | 0 | | 1β30 | 1β30 | | 31β60 | 31β60 | | 61β90 | 61β90 | | 91β120 | 91β120 | | 120+ | 121+ |
Calculate per customer:
Flag high-risk accounts: balance > $5k AND 60+ days past due, or any invoice 120+ days.
2. Prioritization Matrix
Score each overdue account (1β10):
Output: ranked list, top 10 accounts to contact first.
3. Collection Outreach Drafts
Draft escalating messages based on aging tier. See references/email-templates.md for full templates.
Tone ladder:
Always include: invoice numbers, amounts, due dates, payment link/instructions.
Never send without Irfan's approval. Draft only unless explicitly authorized.
4. DSO & KPI Dashboard
Calculate and report:
Output format: summary table + bullet insights for client presentation.
5. Bad Debt Reserve & Write-Off Analysis
Apply allowance method by aging bucket (customize per client):
| Bucket | Default Reserve % | |--------|------------------| | Current | 0.5% | | 1β30 | 2% | | 31β60 | 5% | | 61β90 | 15% | | 91β120 | 30% | | 120+ | 50β100% |
Output: recommended reserve amount, GL journal entry draft, write-off candidates.
6. Payment Promise Tracker
When a customer commits to pay by a date: 1. Log: customer, amount, promise date, follow-up date (3 days before) 2. Flag broken promises for escalation tier bump 3. Output: follow-up schedule CSV or table
Save tracker state to memory/ar-promise-tracker.md if persistence requested.
Output Formats
Reference Files
references/email-templates.md β Full escalation email templates (all 5 tiers)references/ar-kpi-formulas.md β DSO, CEI, turnover ratio formulas with examples