> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ainvest.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stock financial statements

> Get financial statements for a specified stock, including income statements, balance sheet, and cash flow statements.

This API provides income statements, balance sheets, and cashflow statements. The data points are presented as name value pairs.
The names are consistent across all items. Not all reports have the same data points, in this case the name still presents in the array but the value is null.

### Income statements

| line                                                                     |
| ------------------------------------------------------------------------ |
| 1. Revenue                                                               |
| --- 2. Sales and Services Revenue                                        |
| --- 3. Financing Services Revenue                                        |
| --- 4. Other Revenue                                                     |
| 5. Cost of Revenue                                                       |
| --- 6. Cost of Goods and Services                                        |
| --- 7. Cost of Financing Services                                        |
| --- 8. Other Cost                                                        |
| 9. Gross Profit                                                          |
| 10. Other Operating Income                                               |
| 11. Operating Expenses                                                   |
| --- 12. Selling, General and Administrative Expenses                     |
| ------ 13. Selling and Marketing Expenses                                |
| ------ 14. General and Administrative Expenses                           |
| --- 15. Research and Development Expenses                                |
| --- 16. Loss on Bad Debts                                                |
| --- 17. Loss on Impairment of Other Assets                               |
| --- 18. Loss on Disposal of Assets                                       |
| --- 19. Other Operating Expenses                                         |
| 20. Operating Income                                                     |
| 21. Non-Operating Income (Loss)                                          |
| --- 22. Income (Loss) from Affiliates                                    |
| ------ 23. Income (Loss) from Associates                                 |
| ------ 24. Income (Loss) from Joint ventures                             |
| --- 25. Gain (Loss) on Other Investment                                  |
| --- 26. Gain (Loss) on Change in Fair Value                              |
| --- 27. Gain (Loss) on Foreign Currency Exchange                         |
| --- 28. Other Non-Operating Income (Loss)                                |
| --- 29. Net Interest Expense                                             |
| ------ 30. Interest Expense                                              |
| ------ 31. Interest Income                                               |
| 32. Pretax Income From Continuing Operations                             |
| 33. Income Tax Expense                                                   |
| --- 34. Current Income Tax                                               |
| --- 35. Deferred Income Tax                                              |
| --- 36. Income Tax Adjustments                                           |
| 37. Net Income from Continuing Operations                                |
| 38. Income from Discontinued Operations                                  |
| 39. Other Items Before Net Income                                        |
| 40. Net Income                                                           |
| --- 41. Net Income Attributable to Minority Interests                    |
| --- 42. Net Income Attributable to Owners of the Company                 |
| ------ 43. Preferred Stock Dividends                                     |
| ------ 44. Other Adjustments                                             |
| ------ 45. Net Income Attributable to Common Stockholders                |
| 46. Other Comprehensive Income                                           |
| 47. Total Comprehensive Income                                           |
| --- 48. Total Comprehensive Income Attributable to Minority Interests    |
| --- 49. Total Comprehensive Income Attributable to Owners of the Company |
| 50. Basic EPS                                                            |
| --- 51. Basic EPS from Continuing Operations                             |
| --- 52. Basic EPS from Discontinued Operations                           |
| 53. Diluted EPS                                                          |
| --- 54. Diluted EPS from Continuing Operations                           |
| --- 55. Diluted EPS from Discontinued Operations                         |

### Cashflow statements

| line                                                                               |
| ---------------------------------------------------------------------------------- |
| 1. Net Cash Flows from Operating Activities                                        |
| --- 2. Net Income                                                                  |
| --- 3. Depreciation and Amortization                                               |
| --- 4. Stock-based Compensation                                                    |
| --- 5. Deferred Taxs                                                               |
| --- 6. Interest Income(expense)                                                    |
| --- 7. Impairment of Assets                                                        |
| --- 8. Change in Working Capital                                                   |
| ------ 9. Change in Accounts Receivable                                            |
| ------ 10. Change in Inventories                                                   |
| ------ 11. Change in Accounts Payable                                              |
| ------ 12. Change in Prepaid Expenses                                              |
| ------ 13. Change in Contract liabilities                                          |
| ------ 14. Change in Deferred Revenue                                              |
| ------ 15. Change in Other Working Capital                                         |
| --- 16. Other Non-cash Adjustments                                                 |
| --- 17. Net Cash from Discontinued Operating Activities                            |
| 18. Net Cash Flows from Investing Activities                                       |
| --- 19. Change in PPE and Intangible Assets                                        |
| ------ 20. Disposal of PPE and Intangible Assets                                   |
| ------ 21. Purchase of PPE and Intangible Assets                                   |
| --- 22. Change in Investments                                                      |
| ------ 23. Decrease in Investments                                                 |
| ------ 24. Increase in Investments                                                 |
| --- 25. Change in long-term Equity Investments                                     |
| ------ 26. Change in Associates and Joint Ventures                                 |
| ------ 27. Change in Subsidiaries                                                  |
| --- 28. Dividends Received                                                         |
| --- 29. Interest Received                                                          |
| --- 30. Other Investing Activities                                                 |
| --- 31. Net Cash from Discontinued Investing Activities                            |
| 32. Net Cash Flows from Financing Activities                                       |
| --- 33. Dividends Paid                                                             |
| --- 34. Change in Debt                                                             |
| ------ 35. Issuance of Short-term Debt                                             |
| ------ 36. Repayment of Short-term Debt                                            |
| ------ 37. Issuance of long-term Debt                                              |
| ------ 38. Repayment of long-term Debt                                             |
| --- 39. Change in Capital Stock                                                    |
| ------ 40. Increase in Capital Stock                                               |
| ------ 41. Decrease in Capital Stock                                               |
| --- 42. Interest Paid                                                              |
| --- 43. Other Financing Activities                                                 |
| --- 44. Net Cash from Discontinued Financing Activities                            |
| --- 45. Effect of Foreign Exchange Rate Changes                                    |
| --- 46. Other Accounts Affecting Net Increase in Cash and Cash Equivalents         |
| 47. Net Increase in Cash and Cash Equivalents                                      |
| 48. Cash and Cash Equivalents at Beginning of Period                               |
| --- 59. Other Accounts that Affect the Ending Balance of Cash and Cash Equivalents |
| 50. Cash and Cash Equivalents at End of Period                                     |

### Balance sheets

| line                                                     |
| -------------------------------------------------------- |
| 1. Total Assets                                          |
| 2. Total Current Assets                                  |
| --- 3. Cash, Cash Equivalents and Short-term Investments |
| ------ 4. Cash and Cash Equivalents                      |
| ------ 5. Short-term Investments                         |
| --- 6. Restricted Deposits and Cash                      |
| --- 7. Receivables                                       |
| ------ 8. Accounts and Notes Receivable                  |
| ------ 9. Income Taxes Receivable                        |
| ------ 10. Other Receivables                             |
| ------ 11. Amounts Due from Related Parties              |
| --- 12. Inventories                                      |
| ------ 13. Raw Materials                                 |
| ------ 14. Work in Process                               |
| ------ 15. Finished Goods                                |
| ------ 16. Other Inventory                               |
| --- 17. Derivative Financial Assets(current)             |
| --- 18. Prepaid Expenses(current)                        |
| --- 19. Assets Held for Sale                             |
| --- 20. Contract Assets(current)                         |
| --- 21. Other Current Assets                             |
| 22. Total Non-current Assets                             |
| --- 23. Property, Plant and Equipment, Net               |
| ------ 24. Gross Property, Plant and Equipment           |
| ------ 25. Accumulated Depreciation                      |
| --- 26. Long-term Investments and Receivables            |
| ------ 27. Long-term Investments                         |
| ------ 28. Long-term Receivables                         |
| --- 29. Goodwill and Intangible Assets                   |
| ------ 30. Goodwill                                      |
| ------ 31. Intangible Assets                             |
| --- 32. Investment Properties                            |
| --- 33. Derivative Financial Assets(non-current)         |
| --- 34. Prepaid Expenses(non-current)                    |
| --- 35. Prepaid Pension Costs                            |
| --- 36. Contract Assets(non-current)                     |
| --- 37. Deferred Tax Assets                              |
| --- 38. Investments in Affiliates                        |
| ------ 39. Investments in Associates                     |
| ------ 40. Investments in Joint Ventures                 |
| --- 41. Other Non-current Assets                         |
| 42. Total liabilities                                    |
| 43. Total Current Liabilities                            |
| --- 44. Short-term Debt                                  |
| ------ 45. Short-term Borrowings                         |
| ------ 46. Short-term Lease Liabilities                  |
| ------ 47. Current Portion of Long-term Debt             |
| --- 48. Amounts Due to Related Parties                   |
| ------ 49. Accounts and Notes Payable                    |
| ------ 50. Income taxes payable                          |
| ------ 51. Interest and Dividends Payable                |
| ------ 52. Other Payables and Accruals                   |
| ------ 53. Amounts Due to Related Parties                |
| --- 54. Derivative Financial Liabilities(current)        |
| --- 55. Liabilities Held for Sale                        |
| --- 56. Advances from customers(current)                 |
| --- 57. Deferred Revenue(current)                        |
| --- 58. Contract Liabilities(current)                    |
| --- 59. Other Current Liabilities                        |
| 60. Total Non-current Liabilities                        |
| --- 61. Long-term debt                                   |
| ------ 62. Long-term borrowings                          |
| ------ 63. Long-term Lease Liabilities                   |
| --- 64. Accrued Liabilities                              |
| --- 65. Pension Liabilities                              |
| ------ 66. Pensions                                      |
| ------ 67. Other Post-ret Benefits                       |
| --- 68. Deferred Compensation                            |
| --- 69. Derivative Financial Liabilities(non-current)    |
| --- 70. Deferred Tax Liabilities                         |
| --- 71. Advances from customers(non-current)             |
| --- 72. Deferred Revenue(non-current)                    |
| --- 73. Contract Liabilities(non-current)                |
| --- 74. Other Non-current Liabilities                    |
| 75. Total Equity                                         |
| --- 76. Equity Attributable to Minority Interests        |
| 77. Equity Attributable to Owners of the Company         |
| --- 78. Preferred Equity                                 |
| --- 79. Hybrid Capital                                   |
| --- 80. Equity Attributable to Common Stockholders       |
| ------ 81. Common Stock                                  |
| ------ 82. Additional Paid in Capital                    |
| ------ 83. Retained Earnings                             |
| ------ 84. Treasury Stock                                |
| ------ 85. Accumulated Other Comprehensive Income        |
| ------ 86. Other Equity of Common Stockholders           |
| 87. Total Liabilities and Equity                         |


## OpenAPI

````yaml reference/securities/securities.yaml GET /securities/stock/financials/statements
openapi: 3.1.0
info:
  title: Securities master reference
  description: >-
    Query general information about US stocks, including company name, sector,
    industry, market cap, financials, key trading statistics
  version: 1.0.0
servers:
  - url: https://openapi.ainvest.com/open
    description: Production environment
security:
  - bearerAuth: []
tags:
  - name: Securities
    description: Provides reference information about US stocks
    externalDocs:
      url: https://docs.ainvest.com/reference/securities
paths:
  /securities/stock/financials/statements:
    get:
      tags:
        - Securities
      summary: Get financial statements for a specified stock
      description: >-
        Get financial statements for a specified stock, including income
        statements, balance sheet, and cash flow statements.
      operationId: getStockFinancialStatements
      parameters:
        - name: ticker
          in: query
          required: true
          description: US stock market ticker symbol, e.g. AAPL, TSLA, etc.
          schema:
            type: string
        - name: period
          in: query
          required: true
          description: |
            The requested statement period. Possible values:
            | value | description |
            |----------------|----------------|
            | `0` | Return each period |
            | `1` | First period of each year |
            | `2` | Mid-year report for each year |
            | `3` | Third quarter of each year |
            | `4` | Annual reports only |
          schema:
            type: integer
            enum:
              - 0
              - 1
              - 2
              - 3
              - 4
      responses:
        '200':
          description: Successful response in standard envelope.
          content:
            application/json:
              schema:
                $schema: http://json-schema.org/draft-04/schema#
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      income_statements:
                        type: array
                        items:
                          type: object
                          properties:
                            period:
                              type: string
                              description: Period name, for example `Q1 2025`.
                            start_date:
                              type: string
                              description: >-
                                Start date of the fiscal period, format
                                YYYY-MM-DD.
                            end_date:
                              type: string
                              description: >-
                                End date of the fiscal period, format
                                YYYY-MM-DD.
                            lines:
                              type: array
                              items:
                                $ref: '#/components/schemas/LineItem'
                      cashflow_statements:
                        type: array
                        items:
                          type: object
                          properties:
                            period:
                              type: string
                              description: Period name, for example `Q1 2025`.
                            start_date:
                              type: string
                              description: >-
                                Start date of the fiscal period, format
                                YYYY-MM-DD.
                            end_date:
                              type: string
                              description: >-
                                End date of the fiscal period, format
                                YYYY-MM-DD.
                            lines:
                              type: array
                              items:
                                $ref: '#/components/schemas/LineItem'
                      balance_sheets:
                        type: array
                        items:
                          type: object
                          properties:
                            period:
                              type: string
                              description: Period name, for example `Q1 2025`.
                            start_date:
                              type: string
                              description: >-
                                Start date of the fiscal period, format
                                YYYY-MM-DD.
                            end_date:
                              type: string
                              description: >-
                                End date of the fiscal period, format
                                YYYY-MM-DD.
                            lines:
                              type: array
                              items:
                                $ref: '#/components/schemas/LineItem'
                  status_code:
                    type: number
                    description: Status code, `0` for success
                  status_msg:
                    type: string
                    description: Status message, `success` for success
        '400':
          description: Validation error, i.e. no stocks found or parameter is not specified
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                status_code: 4012
                status_msg: Invalid param
components:
  schemas:
    LineItem:
      type: object
      properties:
        name:
          type: string
          description: >-
            Name of the statement line item, e.g. `Revenue`, `Cost of Revenue`,
            etc.
        value:
          type: number
          description: Value of the line item
        lines:
          type: array
          items:
            $ref: '#/components/schemas/LineItem'
    Error:
      type: object
      properties:
        status_code:
          type: integer
          description: Business status code
        status_msg:
          type: string
          description: Error message
      required:
        - status_code
        - status_msg
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form `Bearer <token>`, where
        `<token>` is your key. [Get the key
        here](https://www.ainvest.com/business/developer-manage/)

````