All plugins
v1.0.0·Core·MIT · forkable

artifi-core-financial-reports

Complete financial reporting suite

A comprehensive financial reporting suite that generates all core financial statements directly from your general ledger. Each report includes built-in validation — the balance sheet automatically checks that Assets = Liabilities + Equity, the cash flow statement reconciles to the balance sheet, and the trial balance verifies debit/credit equality. Reports dynamically discover your chart of accounts structure, so they work with any accounting standard (US GAAP, IFRS, local GAAP) without configuration.

↗ View on GitHubClone the repo
COMMANDS · 8

Slash commands shipped.

/balance-sheet

Generate a classified balance sheet with automatic A = L + E validation, comparative periods, and key liquidity ratios (current ratio, quick ratio, debt-to-equity). Presents current/non-current classification with significant change highlighting.

/income-statement

Generate an income statement with margin analysis (gross, operating, net margin %) and period-over-period variance comparison. Shows EBITDA and flags line items with variance greater than 15% from prior period.

/cash-flow

Generate a cash flow statement using the indirect method with three sections: operating, investing, and financing activities. Validates that net change in cash reconciles to the balance sheet. Shows free cash flow and cash generation quality assessment.

/trial-balance

Generate a trial balance with debit/credit validation, unusual balance detection (revenues with debit balances, expenses with credit balances), and optional period comparison. Groups accounts by type.

/ar-aging

Generate an AR aging report with collection priority recommendations (Urgent / Action needed / Monitor / Current). Calculates DSO, total outstanding, overdue percentage, and top 5 customer concentration. Flags customers with deteriorating payment trends.

/ap-aging

Generate an AP aging report with payment scheduling recommendations and early payment discount analysis. Calculates DPO, upcoming payment obligations (7/14/30 day), and cash coverage assessment.

/dimension-analysis

Generate a P&L breakdown by any dimension (department, project, cost center, or custom). Shows revenue, direct costs, gross profit, overhead allocation, and net contribution per dimension value. Ranks by profitability and identifies underperformers.

/financial-dashboard

Generate a comprehensive executive summary combining balance sheet, P&L, cash flow, and financial ratios. Includes a ratio dashboard covering liquidity, profitability, leverage, and efficiency metrics with analytical narrative.

HOW IT WORKS

Workflow steps · agent runs · validation gates.

Balance Sheet

  1. 1

    Fetch balance sheet data from the reporting date

  2. 2

    Validate: Total Assets must equal Total Liabilities + Total Equity

  3. 3

    Fetch prior period data if comparative analysis requested

  4. 4

    Present in standard classification format (current/non-current)

  5. 5

    Highlight significant changes (>10% movement)

  6. 6

    Calculate key ratios: current ratio, quick ratio, debt-to-equity

Income Statement

  1. 1

    Fetch income statement data for the period

  2. 2

    Present structured: revenue, COGS, gross profit, operating expenses, net profit

  3. 3

    Calculate margins: gross margin %, operating margin %, net margin %

  4. 4

    Highlight line items with variance >15% from prior period

  5. 5

    Provide analytical commentary on trends

Cash Flow Statement

  1. 1

    Fetch cash flow data using the indirect method

  2. 2

    Present in three sections: Operating, Investing, Financing

  3. 3

    Validate: Net change in cash = Closing cash - Opening cash on balance sheet

  4. 4

    Highlight largest cash inflows and outflows

  5. 5

    Comment on cash generation quality (operating CF vs net income)

VALIDATION CHECKPOINTS · 5

Every run must pass.

If any checkpoint fails, the workflow stops and reports the issue. Nothing posts to the ledger until every check passes.

Balance sheet must balance (Assets = Liabilities + Equity)

Net profit from P&L must agree with balance sheet current year profit

Cash flow net change must equal closing cash minus opening cash

Total debits must equal total credits on trial balance

No unclassified accounts blocking report generation

REFERENCE DATA · 6 FILES

Structured knowledge included.

Formulas, templates, regulatory rules — not hardcoded values. Forkable per firm, per client.

balance-sheet-classification.md

Account classification mapping for balance sheet sections (current/non-current assets, liabilities, equity)

income-statement-structure.md

P&L line item structure and COGS classification rules

cash-flow-indirect-method.md

Indirect method calculation steps and working capital adjustments

financial-ratios.md

Liquidity, profitability, leverage, and efficiency ratio formulas with benchmarks

aging-analysis.md

Collection/payment priority frameworks and DSO/DPO calculations

dimension-reporting.md

Dimension-based P&L structure and profitability analysis

MIT · BUILT FOR ARFITI · OPEN FOR EVERYONE

Designed to work out-of-the-box with the Arfiti ledger. Claude fetches your data, runs calculations, validates results, and submits entries automatically through MCP.

Or fork it. Skills, commands, validation logic, and reference data are all MIT-licensed. Swap the MCP tool calls for your own backend, or use the reference files as standalone Claude project resources.

SUBSCRIBE · NEW POSTS · NO SPAM

Get the next post in your inbox.

Practitioner notes on AI-native finance. One email when something new ships. Unsubscribe any time.