Packs / accounting-public
financial-statements
produce an income statement and balance sheet from a trial balance and prove assets = liabilities + equity
Install
logicpacks pack use accounting-public/financial-statementsget_pack accounting-public/financial-statementsThe 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:
statements.py - Tools: python3
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Goal
Produce an income statement and balance sheet from a trial balance and prove assets = liabilities + equity.
Steps
- Export the closing trial balance with an account type column.
- Run
python3 code/statements.py tb.csv. - If identity is BROKEN, the trial balance is out of balance or an account type is wrong.
Edge cases
- Contra accounts (accumulated depreciation) carry the opposite sign of their group.
- Dividends/drawings reduce equity, not income.
Don'ts
- Don't present statements whose identity check fails.
Routes (free first)
python-stdlib:code/statements.py(no install).