> ## 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.

# Documents

> Get available financial documents by id

### Details

This endpoint with the URL segment /se is for Sweden. Each region has it's own URL. With this endpoint you get information
about which format exists of each document and various content.

Please note that this endpoint is for fast retrieval from our distributed storage plattform. If you want to access the
financial data that has been interpreted, calculated and run through our [AI Anomly Detection](/technology/ai-anomaly-detection) you
should look in the [intelligence](/api-core/companies/intelligence), [financial-summary](/api-core/companies/financial-summary) and
[financial-reports](/api-core/companies/financial-reports) endpoints.

These endpoints are for downloading and showing users financial reports or for your own custom solutions.

### Response and example

This endpoint with the URL segment /se is for Sweden. Each region has it's own URL. With this endpoint you get information
about which documents exists. The response includes an array of documents available for each report. To retrieve metadata
about a report the URL metadata should be included in the availableFiles array.

```json Example response theme={null}
{
  "financialDocumentReference": "2_0",
  "isElectronic": true,
  "caseNumber": 9000102,
  "caseYear": 2024,
  "caseRegistrationDate": "2024-01-01T16:05:16",
  "availableFiles": [
    {
      "fileType": "reportPDF",
      "url": "https://api.tic.io/financial-documents/se/2_0/pdf"
    },
    {
      "fileType": "reportXBRL",
      "url": "https://api.tic.io/financial-documents/se/2_0/xbrl"
    },
    {
      "fileType": "errorXHTML",
      "url": "https://api.tic.io/financial-documents/se/2_0/error"
    },
    {
      "fileType": "reportXHTML",
      "url": "https://api.tic.io/financial-documents/se/2_0/ixbrl"
    },
    {
      "fileType": "metadata",
      "url": "https://api.tic.io/financial-documents/se/2_0/metadata"
    }
  ]
}
```


## OpenAPI

````yaml get /financial-documents/se/{financialDocumentReference}
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:
  /financial-documents/se/{financialDocumentReference}:
    get:
      tags:
        - FinancialDocuments
      summary: Get available financial documents
      description: Get available financial documents by id
      operationId: FinancialDocumentsById
      parameters:
        - name: financialDocumentReference
          in: path
          description: The financial document reference
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Ormeo_WebAPI_Models_Documents_CompanyFinancialDocument_Dto
components:
  schemas:
    Ormeo_WebAPI_Models_Documents_CompanyFinancialDocument_Dto:
      type: object
      properties:
        financialDocumentReference:
          type: string
          nullable: true
        isElectronic:
          type: boolean
          nullable: true
        caseNumber:
          type: integer
          format: int32
          nullable: true
        caseYear:
          type: integer
          format: int32
          nullable: true
        caseRegistrationDate:
          type: string
          format: date-time
          nullable: true
        availableFiles:
          type: array
          items:
            $ref: >-
              #/components/schemas/Ormeo_WebAPI_Models_Documents_FinancialDocumentFile
          nullable: true
      additionalProperties: false
    Ormeo_WebAPI_Models_Documents_FinancialDocumentFile:
      type: object
      properties:
        fileType:
          $ref: >-
            #/components/schemas/Ormeo_WebAPI_Models_Documents_FinancialDocumentFileType
        url:
          type: string
          nullable: true
          readOnly: true
      additionalProperties: false
    Ormeo_WebAPI_Models_Documents_FinancialDocumentFileType:
      enum:
        - reportPDF
        - reportXBRL
        - reportXHTML
        - auditLetterPDF
        - auditLetterXBRL
        - auditLetteriXBRL
        - errorXHTML
        - metadata
      type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````