Get financial statement (SEC XBRL)
edgar_get_financial_statementGet income statement, balance sheet, or cash flow from SEC XBRL filings as line items by period. Restatements reflected; quarterly values derived from year-to-date reports.
Instructions
Get a company's income statement, balance sheet or cash flow statement from its SEC XBRL filings (10-K/10-Q; IFRS for 20-F/40-F filers), as line items × periods. Values are as reported (latest filing wins, so restatements are reflected). Quarterly values that are only reported year-to-date (cash flows, fiscal Q4) are derived by subtraction and flagged. The cash flow statement includes free cash flow (CFO − capex). For any tag not covered here use edgar_search_concepts + edgar_get_concept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 'annual' (fiscal years, default) or 'quarterly' (discrete quarters). | annual |
| company | Yes | Company: US ticker ('MSFT', 'BRK.B'), SEC CIK ('789019') or company name ('Microsoft'). | |
| statement | Yes | 'income', 'balance' or 'cashflow'. | |
| max_periods | No | Most recent N periods (1-20, default 5). | |
| response_format | No | Output format: 'markdown' (readable, default) or 'json' (structured). | markdown |