Skip to content

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

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-finance-dashboards-public

Install

logicpacks pack use finance-dashboards-public/build-monthly-pnl-and-cash-flow
get_pack finance-dashboards-public/build-monthly-pnl-and-cash-flow

The 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

  1. Export transactions; map each to a type (keep a category->type map).
  2. fin.py pnl tx.csv, fin.py cashflow tx.csv --opening <cash>.
  3. 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.