Skip to content

Packs / accounting-public

financial-statements

produce an income statement and balance sheet from a trial balance and prove assets = liabilities + equity

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

Install

logicpacks pack use accounting-public/financial-statements
get_pack accounting-public/financial-statements

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: 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

  1. Export the closing trial balance with an account type column.
  2. Run python3 code/statements.py tb.csv.
  3. 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)

  1. python-stdlib: code/statements.py (no install).