Home
cd ../playbooks
Finance & AccountingAdvanced

Financial Statement Generator

Generate P&L, balance sheet, and cash flow statements from financial data

10 minutes
By AnthropicSource
#financial-statements#p-and-l#balance-sheet#cash-flow

Month-end close means manually pulling numbers from your accounting system, formatting them into P&L and balance sheet templates, calculating variances, and hoping the cash flow statement balances. Every month, the same tedious process.

Who it's for: accountants preparing monthly financial statements, bookkeepers generating reports for clients, small business owners who need statements for loans or investors, finance teams standardizing reporting across entities, controllers managing period-end close processes

Example

"Generate Q4 financial statements from our trial balance" → GAAP-formatted income statement, balance sheet, and cash flow statement with period-over-period comparison, material variance callouts, and key metrics summary — ready for board review

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add financial-statement-generator
# Financial Statement Generator

**Important**: This workflow assists with financial statement preparation but does not provide financial advice. All statements should be reviewed by qualified financial professionals before use in reporting or filings.

Generate financial statements with period-over-period comparison and variance analysis. The workflow below walks through income statement generation; balance sheet and cash flow statement reference formats, GAAP presentation requirements (ASC 220/210/230), and common period-end adjustments are included as supporting reference material.

## Usage

```
financial-statements <period-type> <period>
```

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

This playbook helps you generate formatted financial statements -- income statements, balance sheets, and cash flow statements -- with period-over-period comparison and variance analysis. It walks through gathering data, producing multi-column P&L layouts, calculating material variances, and summarizing key metrics. It also includes GAAP presentation requirements (ASC 220/210/230) and common period-end adjustments as reference material.

Important: This workflow assists with financial statement preparation but does not provide financial advice. All statements should be reviewed by qualified financial professionals before use in reporting or filings.


Quick Start

Step 1: Download the Template

Click Download above to get the CLAUDE.md file.

Step 2: Set Up Your Project

Create a project folder and place the template inside:

mkdir -p ~/Documents/FinancialStatements
mv ~/Downloads/financial-statement-generator.md ~/Documents/FinancialStatements/CLAUDE.md

Step 3: Prepare Your Data

Have your trial balance, income statement data, or spreadsheet ready. You can paste data directly or upload a CSV/Excel file.

Step 4: Start Working

cd ~/Documents/FinancialStatements
claude

Say: "Generate a monthly P&L for 2024-12 with prior year comparison"


Supported Period Types

  • monthly -- Single month P&L with prior month and prior year month comparison
  • quarterly -- Quarter P&L with prior quarter and prior year quarter comparison
  • annual -- Full year P&L with prior year comparison
  • ytd -- Year-to-date P&L with prior year YTD comparison

Variance Analysis

The assistant automatically flags material variances using scaled thresholds:

Line Item Size Dollar Threshold Percentage Threshold
> $10M $500K 5%
$1M - $10M $100K 10%
< $1M $50K 15%

Each material variance is decomposed into drivers: volume/quantity, rate/price, mix, one-time items, timing, and currency effects.


GAAP Reference

The template includes presentation requirements for:

  • Income Statement (ASC 220 / IAS 1) -- revenue disaggregation, SBC classification, restructuring charges
  • Balance Sheet (ASC 210 / IAS 1) -- current/non-current classification, lease recognition (ASC 842)
  • Cash Flow Statement (ASC 230 / IAS 7) -- indirect method format, non-cash disclosure requirements

Example Prompts

"Generate a monthly P&L for 2024-12 with prior year comparison"
"Prepare a quarterly income statement for Q4 2024 vs Q3 2024 and Q4 2023"
"Create a YTD P&L through June with budget variance analysis"
"What are the material variances this quarter and what's driving them?"
"Generate a balance sheet as of December 31, 2024"

$Related Playbooks

Finance & Accounting

Expense Report Generator

Organize business expenses into categorized reports for reimbursement, accounting, and tax preparation.

10 minutes
Intermediate
Finance & Accounting

Expense Tracker & Categorizer

Automate expense tracking, receipt processing, approval workflows, and reimbursement management

10 minutes
Advanced
Finance & Accounting

Personal Finance Manager — AI Budget Tracker from Bank Statements

Import bank statements (CSV or PDF) and get instant spending breakdowns, budget analysis using the 50/30/20 rule, savings recommendations, and interactive charts. All data stays local on your machine.

10 minutes
Beginner
Finance & Accounting

Grow Sustainably (Without VC)

Evaluate every business decision — spending, hiring, fundraising, scaling — through the lens of profitability and infinite runway. The anti-burnout, anti-blitzscaling operating manual.

5 minutes
Intermediate
Finance & Accounting

Invoice Processing Automation

Automate invoice generation, sending, tracking, and payment reconciliation across accounting platforms

10 minutes
Advanced
Finance & Accounting

Professional Invoice Generator

Create professional invoices with proper formatting for freelancers and small businesses. Supports multiple currencies and tax calculations.

10 minutes
Advanced
Finance & Accounting

Invoice Organizer & Tracker

Organize, categorize, and track invoices and receipts

10 minutes
Intermediate
Finance & Accounting

Journal Entry Preparer

Prepare journal entries with proper debits, credits, and supporting documentation

10 minutes
Intermediate
Finance & Accounting

Invoice Template Designer

Generate professional PDF invoices from templates

10 minutes
Intermediate
Finance & Accounting

Minimalist Pricing

Set an initial price, pick cost-based vs. value-based, and plan your tier structure — anchored by the rule that free kills more businesses than high prices do.

5 minutes
Beginner
Finance & Accounting

S&P Global Earnings Preview Generator

Generate concise 4-5 page equity research earnings previews for any public company using S&P Capital IQ data via Kensho MCP.

5 minutes
Advanced
Finance & Accounting

S&P Global Weekly Funding Digest

Generate a polished one-page PowerPoint slide summarizing key takeaways from recent funding rounds and capital markets activity across watched sectors.

5 minutes
Advanced

Browse all Finance & Accounting playbooks →