Packs / accounting-public
ar-aging-report
build an accounts-receivable aging report (current, 1-30, 31-60, 61-90, 90+ days) from open invoices
Install
logicpacks pack use accounting-public/ar-aging-reportget_pack accounting-public/ar-aging-reportThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
None.
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
python-stdlib - Checks: 1 in
outcome/checks.yaml - Code:
aging.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
Build an accounts-receivable aging report (current, 1-30, 31-60, 61-90, 90+ days) from open invoices.
Steps
- Export open (unpaid) invoices with due dates.
- Run
python3 code/aging.py invoices.csv --asof <period end>. - Chase 31+ day buckets; consider a provision for 90+.
Edge cases
- Partial payments: use the open balance, not the invoice total.
- Credit notes are negative amounts in the bucket of their due date.
Don'ts
- Don't age by invoice date when terms differ per customer; use due date.
Routes (free first)
python-stdlib:code/aging.py(no install).