Packs / finance-dashboards-public
build-monthly-pnl-and-cash-flow
Build a monthly P&L (revenue, COGS, gross margin, opex, EBITDA, net) and cash-flow statement from a transactions CSV
Install
logicpacks pack use finance-dashboards-public/build-monthly-pnl-and-cash-flowget_pack finance-dashboards-public/build-monthly-pnl-and-cash-flowThe 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:
stdlib - Checks: 2 in
outcome/checks.yaml - Code:
fin.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Build a monthly P&L (revenue, COGS, gross margin, opex, EBITDA, net) and cash-flow statement from a transactions CSV
Goal
Founders get a correct monthly P&L and cash-flow view from the bank/ledger export without a spreadsheet.
Steps
- Export transactions; map each to a type (keep a category->type map).
fin.py pnl tx.csv,fin.py cashflow tx.csv --opening <cash>.- Check: closing cash equals the bank balance; investigate differences.
Edge cases
- Accrual vs cash: this is cash-basis unless you add accruals as rows.
- Refunds: negative revenue rows.
Don'ts
- Don't mix currencies in one file.