AR Collections Agent
Automate and systematize accounts receivable collections: aging analysis, prioritization, outreach drafts, DSO tracking, and bad debt analysis.
Inputs Accepted
- - QBO AR Aging Summary/Detail (CSV or PDF export)
- Invoice CSV: INLINECODE0
- Direct QBO query results (via qbo-automation skill)
- Manually pasted invoice data
Core 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:
- - Total AR balance
- Oldest invoice date
- % of balance in each bucket
- Days Sales Outstanding (DSO) = (AR Balance / Total Credit Sales) × Days in Period
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):
- - Balance weight (40%): Higher balance = higher score
- Age weight (40%): Older = higher score
- History weight (20%): Prior payment promises broken = higher score
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:
- - 1–30 days: Friendly reminder
- 31–60 days: Second notice, reference invoice
- 61–90 days: Firm request, payment plan offer
- 91–120 days: Final notice, escalation warning
- 120+ days: Collections/legal escalation notice
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:
- - DSO (overall and per customer segment)
- Collection Effectiveness Index (CEI): (Beginning AR + Credit Sales − Ending AR) / (Beginning AR + Credit Sales − Current AR) × 100
- Bad Debt %: Write-offs / Total Credit Sales × 100
- % AR Current vs. Aged
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)
- Flag broken promises for escalation tier bump
- Output: follow-up schedule CSV or table
Save tracker state to memory/ar-promise-tracker.md if persistence requested.
Output Formats
- - AR Aging Report: Markdown table or CSV
- Collection Priority List: Ranked table with scores
- Email Drafts: Ready-to-send (with approval), parameterized per customer
- DSO Dashboard: Summary metrics + trend commentary
- Bad Debt Schedule: GL-ready journal entries
- Follow-Up Schedule: Date-indexed action list
Reference Files
- -
references/email-templates.md — Full escalation email templates (all 5 tiers) - INLINECODE4 — DSO, CEI, turnover ratio formulas with examples
Guardrails
- - Read-only default: Never modify QBO or send emails without explicit approval
- No legal advice: Flag 120+ day accounts for attorney review; do not draft demand letters
- Client data isolation: Never mix AR data across clients in the same analysis
- Write-off authority: Recommend only; write-off execution requires Irfan sign-off
- PTIN boundary: Bad debt tax deduction guidance requires PTIN-backed service; flag and refer
应收账款催收代理
自动化并系统化应收账款催收流程:账龄分析、优先级排序、催收函草稿、DSO追踪及坏账分析。
可接受的输入
- - QBO应收账款账龄汇总/明细(CSV或PDF导出)
- 发票CSV:invoiceid, customer, invoicedate, duedate, amount, amountdue, status
- 直接QBO查询结果(通过qbo-automation技能)
- 手动粘贴的发票数据
核心工作流
1. 应收账款账龄分析
将发票按标准账龄区间分类:
1–30 |
| 31–60天 | 31–60 |
| 61–90天 | 61–90 |
| 91–120天 | 91–120 |
| 120天以上 | 121+ |
按客户计算:
- - 应收账款总余额
- 最早发票日期
- 各区间余额占比
- 应收账款周转天数(DSO)=(应收账款余额/信用销售总额)× 期间天数
标记高风险账户:余额超过5000美元且逾期60天以上,或任何逾期120天以上的发票。
2. 优先级排序矩阵
对每个逾期账户进行评分(1–10分):
- - 余额权重(40%): 余额越高,得分越高
- 账龄权重(40%): 账龄越长,得分越高
- 历史权重(20%): 此前付款承诺未兑现,得分越高
输出:排序列表,优先联系的前10个账户。
3. 催收函草稿
根据账龄区间起草递进式催收函。完整模板请参见 references/email-templates.md。
语气递进:
- - 1–30天:友好提醒
- 31–60天:第二次通知,附发票编号
- 61–90天:正式要求,提供分期付款方案
- 91–120天:最后通知,升级警告
- 120天以上:催收/法律升级通知
始终包含:发票编号、金额、到期日、付款链接/说明。
未经Irfan批准不得发送。 除非明确授权,否则仅起草。
4. DSO与KPI仪表板
计算并报告:
- - DSO(整体及按客户细分)
- 催收效率指数(CEI):(期初应收账款 + 信用销售额 − 期末应收账款)/(期初应收账款 + 信用销售额 − 当期应收账款)× 100
- 坏账率: 核销额 / 信用销售总额 × 100
- 当期应收账款与逾期应收账款占比
输出格式:汇总表 + 供客户演示的要点分析。
5. 坏账准备与核销分析
按账龄区间应用备抵法(可根据客户定制):
2% |
| 31–60天 | 5% |
| 61–90天 | 15% |
| 91–120天 | 30% |
| 120天以上 | 50–100% |
输出:建议准备金额、总账分录草稿、核销候选清单。
6. 付款承诺追踪
当客户承诺在某个日期前付款时:
- 1. 记录:客户、金额、承诺日期、跟进日期(提前3天)
- 标记未兑现承诺,升级催收层级
- 输出:跟进计划CSV或表格
如需持久化保存,将追踪状态保存至 memory/ar-promise-tracker.md。
输出格式
- - 应收账款账龄报告: Markdown表格或CSV
- 催收优先级列表: 带评分的排序表格
- 邮件草稿: 可发送(需批准),按客户参数化
- DSO仪表板: 汇总指标 + 趋势评论
- 坏账计划表: 总账就绪的分录
- 跟进计划: 按日期索引的操作列表
参考文件
- - references/email-templates.md — 完整递进式邮件模板(全部5个层级)
- references/ar-kpi-formulas.md — DSO、CEI、周转率公式及示例
安全护栏
- - 默认只读: 未经明确批准,不得修改QBO或发送邮件
- 不提供法律建议: 将120天以上账户标记为需律师审查;不起草律师函
- 客户数据隔离: 同一分析中不得混合不同客户的应收账款数据
- 核销权限: 仅提供建议;核销执行需Irfan签字
- PTIN边界: 坏账税务扣除指导需PTIN支持的服务;标记并转介