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

# Financial summary

> Gets financial summary of the company by it's id

### Details

This endpoint will return a financial summary for the last four years. Properties are prefixed to give a sense where
they are placed in the financial report. Table below shows the prefixes and description.

| Prefix | Description  |
| ------ | ------------ |
| rs     | Resultsheet  |
| bs     | Balancesheet |
| fn     | Footnote     |
| km     | Key metrics  |

### Key metrics

The keymetrics are calculated according to the following table.

| Prefix                | Description                                                                                                                                                                            |
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| km\_OperatingMargin   | EBIT (Operating profit/loss) divided by net sales                                                                                                                                      |
| km\_NetProfitMargin   | EBIE (Earnings Before Interest Expense) divided by net sales (NOTE ! if net sales isn't present but other other operating income is reported we will instead use that for calculation) |
| km\_EquityAssetsRatio | Sum equity plus adjusted equity (sum untaxed reserves deducated with the corporate tax) divided by total assets                                                                        |
| km\_GrossMargin       | Gross profit/loss divided by net sales                                                                                                                                                 |

Changes to calulcation may occur since different actors are interpreting data slightly differently for km\_NetProfitMargin. If there are no net sales or other operating income reported the
km\_NetProfitMargin will be null.

### Go deeper

To access all records of the financial report you should use the endpoint for [financial-reports](financial-reports) that gives you
a ready to use table structure with localized names for the financial report.


## OpenAPI

````yaml get /datasets/companies/{companyId}/financial-summary
openapi: 3.0.4
info:
  title: TIC API
  description: ''
  version: v1
servers:
  - url: https://api.tic.io/
security:
  - ApiKey: []
tags:
  - name: BolagsverketStatistics
  - name: Companies
  - name: Companies_SE_
  - name: DocumentDelivery
  - name: EuropeanCommission
  - name: FinancialDocuments
  - name: Finansinspektionen
  - name: Free
  - name: ICA
  - name: ICAStatistics
  - name: Lists
  - name: Media
  - name: Persons
  - name: Persons_SE_
  - name: Properties_SE_
  - name: PTSPortings
  - name: Reseller
  - name: SearchBankruptciesReports
  - name: SearchCompanies
  - name: SearchCompaniesReports
  - name: SearchCompanyWorkplaces
  - name: SearchPerson
  - name: SearchProperties_SE_
  - name: SearchVehicles
  - name: TeamDocumentOrders
  - name: Teams
  - name: User
  - name: Vehicles_SE_
  - name: WatchLists
paths:
  /datasets/companies/{companyId}/financial-summary:
    get:
      tags:
        - Companies
      summary: Financial summary
      description: Gets financial summary of the company by it's id
      operationId: FinancialSummary
      parameters:
        - name: companyId
          in: path
          description: The company id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: >-
                    #/components/schemas/Ormeo_WebAPI_Models_Datasets_Company_CompanyFinancialSummary_Dto
components:
  schemas:
    Ormeo_WebAPI_Models_Datasets_Company_CompanyFinancialSummary_Dto:
      type: object
      properties:
        periodStart:
          type: string
          format: date-time
        periodEnd:
          type: string
          format: date-time
        rs_NetSalesK:
          type: integer
          format: int32
          nullable: true
        rs_OtherOperatingIncomeK:
          type: integer
          format: int32
          nullable: true
        rs_OperatingProfitOrLossK:
          type: integer
          format: int32
          nullable: true
        rs_SumFinancialItemsK:
          type: integer
          format: int32
          nullable: true
        rs_ProfitAfterFinancialItemsK:
          type: integer
          format: int32
          nullable: true
        bs_TotalAssetsK:
          type: integer
          format: int32
          nullable: true
        fn_NumberOfEmployees:
          type: integer
          format: int32
          nullable: true
        km_OperatingMargin:
          type: number
          format: double
          nullable: true
        km_NetProfitMargin:
          type: number
          format: double
          nullable: true
        km_EquityAssetsRatio:
          type: number
          format: double
          nullable: true
        km_GrossMargin:
          type: number
          format: double
          nullable: true
        isAudited:
          type: boolean
          nullable: true
      additionalProperties: false
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````