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

# Cash Flow Statement

> Retrieve a structured cash flow statement for an Indian company for a specific period. Returns detailed line items with bank/non-bank profile support.



## OpenAPI

````yaml openapi-india get /api/in/v0/financial-statements/cash-flow
openapi: 3.0.0
info:
  title: stockinsights.ai APIs
  description: All the APIs of stockinsights.ai
  version: 1.0.0
servers:
  - url: https://stockinsights-ai-main-95a26a0.zuplo.app
security:
  - bearerAuth: []
paths:
  /api/in/v0/financial-statements/cash-flow:
    get:
      tags:
        - Financial Statements
      summary: Cash Flow Statement
      description: >-
        Retrieve a structured cash flow statement for an Indian company for a
        specific period. Returns detailed line items with bank/non-bank profile
        support.
      operationId: getCashFlowStatement
      parameters:
        - $ref: '#/components/parameters/StatementTicker'
        - $ref: '#/components/parameters/PeriodEndDate'
        - $ref: '#/components/parameters/ReportingType'
        - $ref: '#/components/parameters/StatementScope'
      responses:
        '200':
          description: >-
            Successful response with cash flow statement data. Returns null data
            if no statement is available for the given parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/XbrlStatementResponse'
              example:
                status: success
                data:
                  company_id: x9t057a0io1tdakqk19y
                  profile: nonbank
                  statement_type: cash_flow
                  statement_scope: consolidated
                  reporting_type: annual
                  fiscal_year: 2025
                  fiscal_quarter: Q4
                  period_end_date: '2025-03-31'
                  audit_status: Audited
                  currency: INR
                  scale: crores
                  financials:
                    operating:
                      profit_before_tax: 114671
                      adjustments:
                        depreciation: 48062
                        finance_costs: 25000
                        interest_income: -5000
                      working_capital_changes:
                        trade_receivables: -3500
                        inventories: -2000
                        trade_payables: 4500
                      tax_paid: -27050
                      net_cash_from_operations: 120000
                    investing:
                      purchase_of_fixed_assets: -85000
                      net_cash_from_investing: -75000
                    financing:
                      dividends_paid: -15000
                      net_cash_from_financing: -30000
                    net_change_in_cash: 15000
                    opening_cash: 20000
                    closing_cash: 35000
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  parameters:
    StatementTicker:
      name: ticker
      in: query
      required: true
      description: >-
        Company ticker symbol. Supports formats: plain ticker (`RELIANCE`),
        exchange-prefixed with dot (`NSE.RELIANCE`, `BSE.RELIANCE`), or colon
        (`NSE:RELIANCE`, `BSE:RELIANCE`), and BSE numeric IDs (`BSE.500325`).
        When no exchange is specified, matches against the generic stock ticker.
      schema:
        type: string
        example: RELIANCE
    PeriodEndDate:
      name: period_end_date
      in: query
      required: true
      description: End date of the reporting period in `YYYY-MM-DD` format.
      schema:
        type: string
        format: date
        example: '2025-03-31'
    ReportingType:
      name: reporting_type
      in: query
      required: true
      description: Type of reporting period.
      schema:
        type: string
        enum:
          - quarterly
          - half_yearly
          - nine_months
          - annual
        example: annual
    StatementScope:
      name: statement_scope
      in: query
      required: true
      description: Whether to retrieve consolidated or standalone financial statements.
      schema:
        type: string
        enum:
          - consolidated
          - standalone
        example: consolidated
  schemas:
    XbrlStatementResponse:
      type: object
      properties:
        status:
          type: string
          enum:
            - success
          description: Response status
        data:
          $ref: '#/components/schemas/XbrlStatementData'
          nullable: true
          description: >-
            Financial statement data. Null if no data is available for the given
            parameters.
    XbrlStatementData:
      type: object
      properties:
        company_id:
          type: string
          description: Internal company identifier
        profile:
          type: string
          enum:
            - bank
            - nonbank
          description: >-
            Company profile type. Banks have a different statement structure
            than non-bank companies.
        statement_type:
          type: string
          enum:
            - income_statement
            - balance_sheet
            - cash_flow
          description: Type of financial statement
        statement_scope:
          type: string
          enum:
            - consolidated
            - standalone
          description: Whether the statement is consolidated or standalone
        reporting_type:
          type: string
          enum:
            - quarterly
            - half_yearly
            - nine_months
            - annual
            - as_of
          description: >-
            Reporting period type. `as_of` is only applicable for balance
            sheets.
        fiscal_year:
          type: integer
          description: Fiscal year
        fiscal_quarter:
          type: string
          enum:
            - Q1
            - Q2
            - Q3
            - Q4
          description: Fiscal quarter
        period_end_date:
          type: string
          format: date
          description: End date of the reporting period
        audit_status:
          type: string
          nullable: true
          description: Audit status of the filing (e.g., Audited, UnAudited)
        currency:
          type: string
          description: Currency of the reported values (e.g., INR)
        scale:
          type: string
          description: Scale of the reported values (e.g., crores)
        financials:
          type: object
          description: >-
            Structured financial statement data. Structure varies by statement
            type (income_statement, balance_sheet, cash_flow) and profile (bank,
            nonbank). All numeric values are in the specified currency and
            scale, rounded to 2 decimal places. Null values indicate the line
            item is not applicable or not reported.
          additionalProperties: true
    Error:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              status:
                type: string
                description: Error status
              title:
                type: string
                description: Error description
              message:
                type: string
                description: Detailed error message (optional)
  responses:
    BadRequest:
      description: Bad request - Invalid query parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            errors:
              - status: '400'
                title: Invalid field - reporting_type
                message: >-
                  reporting_type must be one of: quarterly, half_yearly,
                  nine_months, annual
    Unauthorized:
      description: Unauthorized - Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            errors:
              - status: '401'
                title: Unauthorized
                message: Invalid or missing API key
    NotFound:
      description: Company not found for the given ticker
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            errors:
              - status: '404'
                title: Company not found
                message: 'No company found for ticker: INVALID'
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            errors:
              - status: '500'
                title: Internal Server Error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````