Logo Financial Statements

Financial Statements

Cộng đồng
JoelLewis
financial-statements

Phân tích báo cáo tài chính để đưa ra quyết định đầu tư: tính EBITDA và dòng tiền tự do (FCFF/FCFE) từ báo cáo kết quả kinh doanh và báo cáo lưu chuyển tiền tệ, tính ROIC, biên lợi nhuận và phân tích ROE theo DuPont, đồng thời đánh giá chất lượng lợi nhuận qua các khoản dồn tích và xu hướng vốn lưu động. Dùng khi người dùng hỏi về “đọc báo cáo 10-K”, “báo cáo kết quả kinh doanh so với báo cáo lưu chuyển tiền tệ”, “cách tính dòng tiền tự do”, “FCFF so với FCFE”, “điều chỉnh EBITDA”, “ROIC so với WACC”, “phân tích DuPont”, “chất lượng lợi nhuận”, “tỷ lệ dồn tích”, “chu kỳ chuyển đổi tiền mặt”, “dấu hiệu cảnh báo trong ghi nhận doanh thu”, “thuế hoãn lại” hoặc “giá vốn và khoản lãi vốn chưa thực hiện”. Cũng kích hoạt với các câu hỏi phân tích cơ bản, chẳng hạn lợi nhuận được báo cáo có được đảm bảo bằng tiền mặt hay không, công ty có tạo ra giá trị cao hơn chi phí vốn hay không, hoặc hậu quả thuế khi bán một khoản đầu tư đang tăng giá.

Add to TypingMind

Tổng quan

Nhà phát hànhJoelLewis
Kho mãfinance_skills
Tên kỹ năngfinancial-statements
Sao
217
Bản fork
37
Tệp đi kèm
1
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được JoelLewis công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Financial Statements trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/financial-statements
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/JoelLewis/finance_skills.git /tmp/finance_skills
mkdir -p .claude/skills
cp -r /tmp/finance_skills/plugins/wealth-management/skills/financial-statements .claude/skills/financial-statements
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Financial Statements trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Financial Statements ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Financial Statements với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Financial Statements

Core Concepts

The Three Statements and How They Articulate

  • Income statement: revenue minus expenses over a period, on an accrual basis. Ends in net income.
  • Balance sheet: assets = liabilities + equity at a point in time. Net income (less dividends) rolls into retained earnings, linking the two statements.
  • Cash flow statement: reconciles net income to actual cash movement, split into operating (CFO), investing (CFI), and financing (CFF) activities. It starts from net income, adds back non-cash charges (D&A, stock-based compensation, impairments), and adjusts for working capital changes. The ending cash ties back to the balance sheet cash line.

Accrual accounting means reported earnings and cash generation can diverge for long stretches. Most analytical work is about measuring and interpreting that divergence.

EBITDA and Its Adjustments

EBITDA = EBIT + Depreciation & Amortization. It approximates pre-tax, pre-financing operating cash generation and is capital-structure neutral, which is why EV/EBITDA multiples use it. "Adjusted EBITDA" further strips items management deems non-recurring (restructuring, litigation, stock-based compensation). Scrutinize each add-back: recurring "one-time" charges and stock-based compensation are real economic costs. EBITDA ignores capex entirely, so it flatters capital-intensive businesses.

Free Cash Flow — FCFF and FCFE

FCFF (free cash flow to the firm) is cash available to all capital providers:

  • From CFO: FCFF = CFO + Interest × (1 − τ) − Capex
  • From EBITDA/EBIT: FCFF = EBIT × (1 − τ) + D&A − ΔNWC − Capex, where EBIT = EBITDA − D&A and EBIT × (1 − τ) is NOPAT

FCFE (free cash flow to equity) is cash available to shareholders after debt service:

  • FCFE = CFO − Capex + Net borrowing
  • FCFE = FCFF − Interest × (1 − τ) + Net borrowing

FCFF pairs with WACC (enterprise DCF); FCFE pairs with cost of equity (equity DCF). Never mix them.

ROIC and the ROIC-vs-WACC Test

ROIC = NOPAT / Invested capital, where NOPAT = EBIT × (1 − τ) and invested capital = total debt + equity − excess cash (equivalently, net working capital + net fixed assets). A company creates value only when ROIC exceeds WACC; growth at ROIC below WACC destroys value. Persistent ROIC above WACC is the quantitative signature of a moat — it validates (or refutes) qualitative competitive-advantage claims.

Margin Analysis and DuPont Decomposition

  • Gross margin = Gross profit / Revenue — pricing power and input costs
  • Operating margin = EBIT / Revenue — adds operating cost discipline
  • Net margin = Net income / Revenue — adds financing and tax effects

DuPont decomposes ROE into three levers:

ROE = (Net income / Revenue) × (Revenue / Assets) × (Assets / Equity) = Net margin × Asset turnover × Equity multiplier

Two companies with identical ROE can have very different quality: one earns it through margins and turnover, the other through leverage. Rising ROE driven solely by the equity multiplier is a risk signal, not an operating improvement.

Quality of Earnings

Earnings are high quality when backed by cash and generated by recurring operations:

  • Accruals ratio = (Net income − CFO) / Average total assets. Persistently positive and rising accruals mean earnings outpace cash — historically a predictor of poor forward returns and restatements.
  • Revenue recognition red flags: receivables growing much faster than revenue, heavy quarter-end shipments (channel stuffing), bill-and-hold sales, aggressive percentage-of-completion estimates, growing unbilled receivables.
  • One-offs: recurring "restructuring" charges, gains on asset sales folded into operating income, reserve releases boosting earnings.
  • Capitalization games: capitalizing costs that peers expense (software development, customer acquisition) shifts expense from the income statement to the balance sheet and inflates both earnings and CFO (the spend moves to CFI).

Working Capital Dynamics

Net working capital (NWC) = current operating assets − current operating liabilities (exclude cash and short-term debt). Growth normally consumes working capital; a rising cash conversion cycle consumes more. The cash conversion cycle:

CCC = DSO + DIO − DPO

where DSO = Receivables / Revenue × 365, DIO = Inventory / COGS × 365, DPO = Payables / COGS × 365. A lengthening CCC ties up cash and often precedes inventory write-downs or receivable problems; a negative CCC (customers pay before suppliers are paid) means growth generates cash.

Deferred Taxes and Cost Basis

Book (GAAP) and tax accounting diverge on timing. Accelerated tax depreciation makes cash taxes lower than book tax expense early in an asset's life, creating a deferred tax liability (DTL); it reverses later. Net operating losses and warranty reserves create deferred tax assets (DTAs), which are only worth carrying if future taxable income will absorb them. The US federal corporate rate applied in these calculations is 21% as of 2026.

For taxable investors, the same timing logic applies at the portfolio level. Cost basis is the purchase price (adjusted for reinvested distributions, return of capital, and wash sales); selling realizes the gain and triggers tax now, while holding defers it. The embedded tax liability of a position is:

Embedded tax = (Market value − Cost basis) × Applicable capital gains rate

with the top federal long-term rate at 23.8% (20% plus the 3.8% net investment income tax) as of 2026, and short-term gains taxed at ordinary rates. Deferral has real value: the unrealized tax is an interest-free loan from the government. This is the accounting foundation for tax-aware rebalancing — compare the tracking-error cost of holding an overweight against the tax cost of selling it, prefer high-basis lots (specific-lot identification), and remember basis steps up at death under current US law as of 2026.

Common Red Flags

  • CFO persistently below net income (positive accruals ratio) for multiple years
  • Receivables or inventory growing materially faster than revenue
  • Frequent changes in accounting policies, estimates, or auditors
  • Rising DSO alongside aggressive revenue growth
  • Capex consistently far below D&A in a business that is not shrinking (under-investment)
  • Serial "non-recurring" charges and heavy reliance on adjusted metrics
  • Growing gap between adjusted EBITDA and CFO

Key Formulas

FormulaExpressionUse Case
EBITDAEBITDA = EBIT + D&ACapital-structure-neutral operating profit
NOPATNOPAT = EBIT × (1 − τ)After-tax operating profit for ROIC and FCFF
FCFF (from CFO)FCFF = CFO + Int × (1 − τ) − CapexFirm cash flow for enterprise DCF
FCFF (from EBIT)FCFF = EBIT × (1 − τ) + D&A − ΔNWC − CapexSame, built from the income statement
FCFEFCFE = CFO − Capex + Net borrowingEquity cash flow for equity DCF
ROICROIC = NOPAT / Invested capitalValue creation test vs WACC
Invested capitalIC = Debt + Equity − Excess cashDenominator for ROIC
DuPont ROEROE = Net margin × Asset turnover × Equity multiplierDecompose the source of ROE
Accruals ratio(NI − CFO) / Avg total assetsEarnings quality screen
Cash conversion cycleCCC = DSO + DIO − DPOWorking capital efficiency
Embedded tax(MV − Cost basis) × Cap gains rateTax cost of selling an appreciated position

Worked Examples

Example 1: EBITDA, FCFF, and FCFE from the Statements

Given (fiscal year, $M): Revenue 500, COGS 300, SG&A 80, D&A 30, interest expense 10, tax rate 25%. Increase in net working capital 15, capex 35, net borrowing 5.

Solution:

  • Gross profit = 500 − 300 = $200M (gross margin 40.0%)
  • EBIT = 200 − 80 − 30 = $90M (operating margin 18.0%)
  • EBITDA = EBIT + D&A = 90 + 30 = $120M
  • Pre-tax income = 90 − 10 = $80M; taxes = 80 × 0.25 = $20M; net income = $60M (net margin 12.0%)
  • CFO = NI + D&A − ΔNWC = 60 + 30 − 15 = $75M
  • FCFF (from CFO) = 75 + 10 × (1 − 0.25) − 35 = 75 + 7.5 − 35 = $47.5M
  • FCFF (from EBIT) = 90 × 0.75 + 30 − 15 − 35 = 67.5 + 30 − 15 − 35 = $47.5M — the two routes agree
  • FCFE = CFO − Capex + Net borrowing = 75 − 35 + 5 = $45.0M
  • Check: FCFE = FCFF − Int × (1 − τ) + Net borrowing = 47.5 − 7.5 + 5 = $45.0M

Note that net income ($60M) overstates distributable cash to the firm ($47.5M) because capex exceeds D&A and working capital consumed cash.

Example 2: ROIC vs WACC and DuPont Decomposition

Given (same company, $M): EBIT 90, tax rate 25%, total debt 150, shareholders' equity 300, excess cash 50, total assets 600, revenue 500, net income 60, WACC 9%.

Solution:

  • NOPAT = 90 × (1 − 0.25) = $67.5M
  • Invested capital = 150 + 300 − 50 = $400M
  • ROIC = 67.5 / 400 = 16.875%
  • ROIC − WACC = 16.875% − 9% = +7.9 pts — the company earns well above its cost of capital; reinvested growth creates value, consistent with a durable competitive advantage

DuPont:

  • Net margin = 60 / 500 = 12.0%
  • Asset turnover = 500 / 600 = 0.8333
  • Equity multiplier = 600 / 300 = 2.0
  • ROE = 0.12 × 0.8333 × 2.0 = 20.0% (check: 60 / 300 = 20.0%)

The ROE is earned mostly through margin and turnover with moderate leverage — a higher-quality 20% than one built on a 4x equity multiplier.

Example 3: Earnings Quality and Embedded Tax

Part A — Accruals. Two companies each report net income of $80M on average total assets of $500M. Company X has CFO of $30M; Company Y has CFO of $95M.

  • X accruals ratio = (80 − 30) / 500 = +10.0% — earnings far ahead of cash; investigate receivables, inventory, and capitalization policy
  • Y accruals ratio = (80 − 95) / 500 = −3.0% — earnings fully cash-backed

Part B — Cash conversion cycle (Company X, $M): receivables 75, inventory 60, payables 45, revenue 500, COGS 300.

  • DSO = 75 / 500 × 365 = 54.75 days; DIO = 60 / 300 × 365 = 73.0 days; DPO = 45 / 300 × 365 = 54.75 days
  • CCC = 54.75 + 73.0 − 54.75 = 73.0 days. If DSO was 40 days a year ago, the 15-day jump on flat revenue growth is a classic revenue-recognition red flag.

Part C — Embedded tax for rebalancing. A taxable client holds a fund position with market value $150,000 and cost basis $100,000, held over one year, top bracket.

  • Embedded tax = (150,000 − 100,000) × 23.8% = $11,900 (20% LTCG + 3.8% NIIT, as of 2026)
  • After-tax liquidation value = 150,000 − 11,900 = $138,100
  • A full rebalancing sale costs $11,900 (7.9% of position value) today; that cost must be weighed against the risk reduction from trimming, and reduced where possible by selling the highest-basis lots first.

Common Pitfalls

  • Treating EBITDA as cash flow — it ignores capex, working capital, cash taxes, and interest; capital-intensive businesses can post strong EBITDA and negative FCF indefinitely
  • Discounting FCFF at the cost of equity or FCFE at WACC — mismatched cash flow and discount rate corrupts the valuation
  • Accepting every adjusted-EBITDA add-back — stock-based compensation and serial "one-time" restructuring are recurring economic costs
  • Computing ROIC with total assets instead of invested capital, or leaving excess cash in the denominator — both understate true operating returns
  • Reading a high ROE as quality without DuPont — leverage can manufacture ROE while operations deteriorate
  • Ignoring working capital in FCF — fast growth with a long cash conversion cycle can make a profitable company chronically cash-hungry
  • Comparing margins across industries without context — a 4% net margin is excellent for a grocer and alarming for enterprise software
  • Rebalancing taxable accounts as if they were IRAs — ignoring cost basis and embedded gains converts paper tax deferral into an immediate, avoidable tax bill
  • Using average cost basis when specific-lot identification would allow selling high-basis lots and realizing smaller gains

Cross-References

  • quantitative-valuation (wealth-management plugin): the FCFF, FCFE, and EBITDA figures derived here are the inputs to DCF and multiples-based valuation
  • qualitative-valuation (wealth-management plugin): ROIC persistence, margin trends, and cash flow patterns provide the quantitative evidence for moat and management-quality claims
  • equities (wealth-management plugin): statement analysis underpins fundamental stock selection and style classification (value vs growth metrics)
  • tax-efficiency (wealth-management plugin): cost basis, embedded gains, and deferral value feed lot-selection, harvesting, and asset-location decisions
  • statistics-fundamentals (core plugin): ratio trends and peer comparisons rely on distributional thinking (medians vs means, outlier handling)

Running the Script

uv run scripts/financial_statements.py

The PEP 723 header resolves the numpy dependency automatically. Alternatively run python3 scripts/financial_statements.py after pip install numpy.

  • Bare run prints a demo covering the income-statement build, EBITDA and the FCFF/FCFE bridges, ROIC vs WACC, DuPont decomposition, accruals ratio, cash conversion cycle, and embedded tax liability.
  • --verify re-runs the demo computations and asserts the outputs match this skill's worked examples (prints PASS/FAIL, nonzero exit on mismatch).
  • --help lists the available classes.

The file is primarily meant to be imported as a module, e.g. from financial_statements import FreeCashFlow, Profitability, EarningsQuality, TaxBasis.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Financial Statements làm được gì?

Phân tích báo cáo tài chính để đưa ra quyết định đầu tư: tính EBITDA và dòng tiền tự do (FCFF/FCFE) từ báo cáo kết quả kinh doanh và báo cáo lưu chuyển tiền tệ, tính ROIC, biên lợi nhuận và phân tích ROE theo DuPont, đồng thời đánh giá chất lượng lợi nhuận qua các khoản dồn tích và xu hướng vốn lưu động. Dùng khi người dùng hỏi về “đọc báo cáo 10-K”, “báo cáo kết quả kinh doanh so với báo cáo lưu chuyển tiền tệ”, “cách tính dòng tiền tự do”, “FCFF so với FCFE”, “điều chỉnh EBITDA”, “ROIC so với WACC”, “phân tích DuPont”, “chất lượng lợi nhuận”, “tỷ lệ dồn tích”, “chu kỳ chuyển đổi tiền mặt”...

Vì sao nên dùng Financial Statements trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Financial Statements là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Financial Statements trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/JoelLewis/finance_skills/tree/main/plugins/wealth-management/skills/financial-statements. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Financial Statements?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Financial Statements với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Financial Statements với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Financial Statements có miễn phí không?

Có. Kỹ năng này được JoelLewis phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇