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

# Get core company details

> Returns the main company record with its most important summary fields, keyed by internal company ID.

<Badge color="green" size="sm">Pro+ tier</Badge>


## OpenAPI

````yaml get /companies/{id}
openapi: 3.1.1
info:
  title: TIC Lens API
  description: "The TIC Lens API provides programmatic access to company, person, property, vehicle, and order data.\r\n\r\n## Authentication\r\n\r\nAll requests require an API key passed via the `x-api-key` header:\r\n\r\n```bash\r\ncurl -H \"x-api-key: YOUR_API_KEY\" https://lens-api.tic.io/companies/123\r\n```\r\n\r\nAPI keys are managed through the TIC Lens web application under **Settings → API Keys**.\r\n\r\n## Base URL\r\n\r\n| Environment | URL |\r\n|-------------|-----|\r\n| Production  | `https://lens-api.tic.io` |\r\n\r\n## Feature Access\r\n\r\nEndpoints are gated by your subscription plan. If your plan does not include a feature, the endpoint will return `403 Forbidden`.\r\n\r\n## Rate Limits\r\n\r\nRate limits are applied per API key. If you exceed the limit, requests will return `429 Too Many Requests`.\r\n\r\n## Response Format\r\n\r\nAll responses are JSON. Null values are omitted from responses.\r\n"
  version: v1
servers:
  - url: https://lens-api.tic.io
security:
  - ApiKey: []
tags:
  - name: Addresses
  - name: Bolagsverket
  - name: Brf
  - name: Companies
  - name: Documents
  - name: FlightImages
  - name: Free
  - name: Orders
  - name: OrdersExports
  - name: PaymentControl
  - name: PaymentControlImport
  - name: Persons
  - name: Properties
  - name: PublicSearch
  - name: SearchAutocomplete
  - name: Sentinel
  - name: ServingPermits
  - name: Team
  - name: Teams
  - name: Transportstyrelsen
  - name: Vehicles
  - name: WatchList
paths:
  /companies/{id}:
    get:
      tags:
        - Companies
      summary: Get core company details
      description: >-
        Returns the main company record with its most important summary fields,
        keyed by internal company ID.
      operationId: GetCompany
      parameters:
        - name: id
          in: path
          description: Internal company ID
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: Company core details
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Ormeo_Web_Lens_Models_Companies_CompanyCore_Dto
        '404':
          description: Company not found or not accessible to this team
components:
  schemas:
    Ormeo_Web_Lens_Models_Companies_CompanyCore_Dto:
      type: object
      properties:
        companyId:
          type: integer
          format: int32
        mostRecentName:
          type:
            - 'null'
            - string
        priorName:
          type:
            - 'null'
            - string
        registrationNumber:
          type:
            - 'null'
            - string
        registrationDate:
          type:
            - 'null'
            - string
          format: date-time
        isCeased:
          type:
            - 'null'
            - boolean
        ceasedDate:
          type:
            - 'null'
            - string
          format: date-time
        legalEntityType:
          type:
            - 'null'
            - string
        localCompanyCode:
          type:
            - 'null'
            - string
        isParentCompany:
          type:
            - 'null'
            - boolean
        parentCompanyName:
          type:
            - 'null'
            - string
        parentCompanyRegistrationNumber:
          type:
            - 'null'
            - string
        parentCompanyId:
          type:
            - 'null'
            - integer
          format: int32
        closestParentCompanyName:
          type:
            - 'null'
            - string
        closestParentCompanyRegistrationNumber:
          type:
            - 'null'
            - string
        closestParentCompanyId:
          type:
            - 'null'
            - integer
          format: int32
        closestParentSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        currentPurpose:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyPurpose_Dto'
        otherNames:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyNaming_Dto'
        lastStatus:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyStatus_Dto'
        lastActivityStatus:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyStatus_Dto'
        lastTaxAuthorityStatus:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyStatus_Dto'
        status:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyStatus_Dto'
        homepage:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyLink_Dto'
        facebook:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyLink_Dto'
        linkedIn:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyLink_Dto'
        phoneNumber:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyPhoneNumber_Dto'
        emailAddress:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyEmail_Dto'
        currentRegisteredOffice:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyRegisteredOffice_Dto'
        amlRegistration:
          $ref: >-
            #/components/schemas/Ormeo_Library_Dtos_CompanyFranchiseOrLicence_Dto
        currentFTaxRegistration:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyRegistration_Dto'
        currentVATRegistration:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyRegistration_Dto'
        currentPayrollRegistration:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyRegistration_Dto'
        registeredAddress:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyAddress_Dto'
        visitingAddress:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyAddress_Dto'
        mailingAddress:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyAddress_Dto'
        industryCodes:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyIndustryCode_Dto'
        fiscalYears:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyFiscalYear_Dto'
        franchiseOrLicences:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Dtos_CompanyFranchiseOrLicence_Dto
        accountingPeriods:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Dtos_CompanyAccountingPeriod_Dto
        currentFlags:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyFlag_Dto'
        currentCategories:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyCategory_Dto'
        salaryContributions:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Dtos_AF_SalaryContribution_Dto'
        publicSales:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Dtos_MunicipalityVendorStatisticsSum_Dto
        financialSummary:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Dtos_CompanyFinancialSummary2_Dto
        categoryTurnoverChart:
          $ref: >-
            #/components/schemas/Ormeo_Web_Lens_Models_Companies_CompanyCategoryTurnoverChart_Dto
        genderChart:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyCategoryGender_Dto'
        employeesChart:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Dtos_CompanyCategoryEmployees_Dto
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyPurpose_Dto:
      type: object
      properties:
        companyPurposeId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        purpose:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyNaming_Dto:
      type: object
      properties:
        companyNamingId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        companyNamingType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyNamingType'
        companyNamingTypeDescription:
          type:
            - 'null'
            - string
        nameOrIdentifier:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
        specialPurpose:
          type:
            - 'null'
            - string
        companyNameDecidedAt:
          type:
            - 'null'
            - string
          format: date-time
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyStatus_Dto:
      type: object
      properties:
        companyStatusId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        companyStatusType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyStatusType'
        companyStatusDescription:
          $ref: '#/components/schemas/Ormeo_Library_Common_CompanyStatusListType'
        statusDate:
          type:
            - 'null'
            - string
          format: date-time
        statusDescription:
          type:
            - 'null'
            - string
        externalId1:
          type:
            - 'null'
            - string
        statusData:
          type:
            - 'null'
            - string
        statusDataDescription:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        companyDataSourceDescription:
          type:
            - 'null'
            - string
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
        statusData2:
          type:
            - 'null'
            - string
        caseNumber:
          type:
            - 'null'
            - integer
          format: int32
        caseYear:
          type:
            - 'null'
            - integer
          format: int32
        statusColor:
          $ref: '#/components/schemas/Ormeo_Library_Dtos_CompanyStatusColorEnum'
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyLink_Dto:
      type: object
      properties:
        companyLinkId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        companyLinkType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyLinkType'
        companyLinkTypeDescription:
          type:
            - 'null'
            - string
        hyperlink:
          type:
            - 'null'
            - string
        webpageTitle:
          type:
            - 'null'
            - string
        webpageDescription:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        companyDataSourceTypeDescription:
          type:
            - 'null'
            - string
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        crawlerLastAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        crawlerHttpStatusCode:
          type:
            - 'null'
            - integer
          format: int32
        crawlerErrorMessage:
          type:
            - 'null'
            - string
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        externalId1:
          type:
            - 'null'
            - string
        externalId2:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyPhoneNumber_Dto:
      type: object
      properties:
        companyPhoneNumberId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        e164PhoneNumber:
          type:
            - 'null'
            - string
        phoneNumberFormatted:
          type:
            - 'null'
            - string
        phoneNumberType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_PhoneNumberType'
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        companyDataSourceTypeDescription:
          type:
            - 'null'
            - string
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        numberPlanServiceType:
          type:
            - 'null'
            - string
        orginalOperator:
          type:
            - 'null'
            - string
        priorOperator:
          type:
            - 'null'
            - string
        currentOperator:
          type:
            - 'null'
            - string
        lastPortingDate:
          type:
            - 'null'
            - string
          format: date-time
        noMatchInNumberPlan:
          type:
            - 'null'
            - boolean
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
        sourceBlockType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_SourceBlockType'
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyEmail_Dto:
      type: object
      properties:
        companyEmailId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        emailAddressType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_EmailAddressType'
        emailAddressTypeDescription:
          type:
            - 'null'
            - string
        emailAddress:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        companyDataSourceTypeDescription:
          type:
            - 'null'
            - string
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyRegisteredOffice_Dto:
      type: object
      properties:
        companyRegisteredOfficeId:
          type: integer
          format: int32
        registeredOfficeLocation:
          type:
            - 'null'
            - string
        municipality:
          type:
            - 'null'
            - string
        municipalityCode:
          type:
            - 'null'
            - string
        county:
          type:
            - 'null'
            - string
        countyCode:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
        caseYear:
          type:
            - 'null'
            - integer
          format: int32
        caseNumber:
          type:
            - 'null'
            - integer
          format: int32
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyFranchiseOrLicence_Dto:
      type: object
      properties:
        companyFranchiseOrLicenceId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        linkedToName:
          type:
            - 'null'
            - string
        linkedToCompanyId:
          type:
            - 'null'
            - integer
          format: int32
        actingUnderName:
          type:
            - 'null'
            - string
        description:
          type:
            - 'null'
            - string
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
        externalOriginDescription:
          type:
            - 'null'
            - string
        companyFranchiseOrLicenceType:
          $ref: >-
            #/components/schemas/Ormeo_Library_Entities_CompanyFranchiseOrLicenceType
        companyFranchiseOrLicenceDescription:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        revoked:
          type:
            - 'null'
            - boolean
        revokedDate:
          type:
            - 'null'
            - string
          format: date-time
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyRegistration_Dto:
      type: object
      properties:
        companyRegistrationId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        companyRegistrationType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyRegistrationType'
        companyRegistrationDescription:
          type:
            - 'null'
            - string
        isRegistered:
          type:
            - 'null'
            - boolean
        registeredFrom:
          type:
            - 'null'
            - string
          format: date-time
        registeredTo:
          type:
            - 'null'
            - string
          format: date-time
        terminationReasonIfAny:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        companyDataSourceDescription:
          type:
            - 'null'
            - string
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        companyRegistrationSubType:
          type:
            - 'null'
            - string
        companyRegistrationSubDescription:
          type:
            - 'null'
            - string
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyAddress_Dto:
      type: object
      properties:
        companyAddressId:
          type: integer
          format: int32
        addressType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyAddressType'
        houseNumber:
          type:
            - 'null'
            - string
        co:
          type:
            - 'null'
            - string
        street:
          type:
            - 'null'
            - string
        postalCode:
          type:
            - 'null'
            - string
        supplemental1:
          type:
            - 'null'
            - string
        supplemental2:
          type:
            - 'null'
            - string
        city:
          type:
            - 'null'
            - string
        state:
          type:
            - 'null'
            - string
        county:
          type:
            - 'null'
            - string
        district:
          type:
            - 'null'
            - string
        countryName:
          type:
            - 'null'
            - string
        municipality:
          type:
            - 'null'
            - string
        countryCodeAlpha3:
          type:
            - 'null'
            - string
        locality:
          type:
            - 'null'
            - string
        localityType:
          type:
            - 'null'
            - string
        positionAddress:
          type:
            - 'null'
            - array
          items:
            type: number
            format: double
        lastUpdatedAtUtc:
          type: string
          format: date-time
        foundAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
        countyCode:
          type:
            - 'null'
            - string
        municipalityCode:
          type:
            - 'null'
            - string
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        addressStatusType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_AddressStatusType'
        houseLetter:
          type:
            - 'null'
            - string
        belagenhetsadressObjektIdentitet:
          type:
            - 'null'
            - string
          format: uuid
        addressId:
          type:
            - 'null'
            - integer
          format: int32
        intelligence:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Dtos_AddressIntelligence_Dto'
        addressDescription:
          type:
            - 'null'
            - string
        companyDataSourceDescription:
          type:
            - 'null'
            - string
          readOnly: true
        orginalStreet:
          type:
            - 'null'
            - string
          readOnly: true
        isAddressEmpty:
          type: boolean
          readOnly: true
        isAddressMissing:
          type: boolean
          readOnly: true
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyIndustryCode_Dto:
      type: object
      properties:
        companyIndustryCodeId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        companyIndustryCodeType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyIndustryCodeType'
        industryCode:
          type:
            - 'null'
            - string
        description:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
        rank:
          type:
            - 'null'
            - integer
          format: int32
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyFiscalYear_Dto:
      type: object
      properties:
        companyFiscalYearId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        startMonthDay:
          type:
            - 'null'
            - string
        endMonthDay:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
        startEndDescription:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyAccountingPeriod_Dto:
      type: object
      properties:
        companyAccountingPeriodId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        endingDatePriorToChange:
          type:
            - 'null'
            - string
          format: date-time
        endingDateAfterChange:
          type:
            - 'null'
            - string
          format: date-time
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyFlag_Dto:
      type: object
      properties:
        companyFlagId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        flagType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyFlagType'
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        fileId:
          type:
            - 'null'
            - integer
          format: int64
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyCategory_Dto:
      type: object
      properties:
        companyCategoryId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        companyCategoryType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyCategoryType'
        categoryCode:
          type:
            - 'null'
            - string
        categoryCodeDescription:
          type:
            - 'null'
            - string
        categoryCodeRange:
          $ref: '#/components/schemas/System_Int64System_Int64Tuple'
        categoryCode2:
          type:
            - 'null'
            - string
        companyDataSourceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyDataSourceType'
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
      additionalProperties: false
    Ormeo_Library_Dtos_AF_SalaryContribution_Dto:
      type: object
      properties:
        year:
          type: integer
          format: int32
        period:
          type:
            - 'null'
            - string
        contributionType:
          type:
            - 'null'
            - string
        sumSEK:
          type: number
          format: double
      additionalProperties: false
    Ormeo_Library_Dtos_MunicipalityVendorStatisticsSum_Dto:
      type: object
      properties:
        companyId:
          type: integer
          format: int32
        municipalityRegistrationNumber:
          type:
            - 'null'
            - string
        name:
          type:
            - 'null'
            - string
        invoiced:
          type:
            - 'null'
            - number
          format: double
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyFinancialSummary2_Dto:
      type: object
      properties:
        companyFinancialSummaryId:
          type: integer
          format: int32
        companyId:
          type: integer
          format: int32
        periodStart:
          type: string
          format: date-time
        periodStartDescription:
          type:
            - 'null'
            - string
          readOnly: true
        periodEndDescription:
          type:
            - 'null'
            - string
          readOnly: true
        periodEnd:
          type: string
          format: date-time
        rs_NetSalesK:
          type:
            - 'null'
            - integer
          format: int32
        rs_OtherOperatingIncomeK:
          type:
            - 'null'
            - integer
          format: int32
        rs_OperatingProfitOrLossK:
          type:
            - 'null'
            - integer
          format: int32
        rs_SumFinancialItemsK:
          type:
            - 'null'
            - integer
          format: int32
        rs_ProfitAfterFinancialItemsK:
          type:
            - 'null'
            - integer
          format: int32
        bs_TotalAssetsK:
          type:
            - 'null'
            - integer
          format: int32
        fn_NumberOfEmployees:
          type:
            - 'null'
            - number
          format: double
        km_OperatingMargin:
          type:
            - 'null'
            - number
          format: double
        km_NetProfitMargin:
          type:
            - 'null'
            - number
          format: double
        km_EquityAssetsRatio:
          type:
            - 'null'
            - number
          format: double
        km_GrossMargin:
          type:
            - 'null'
            - number
          format: double
        km_NetSalesChange:
          type:
            - 'null'
            - number
          format: double
        isAudited:
          type:
            - 'null'
            - boolean
        software:
          type:
            - 'null'
            - string
        lastUpdatedAtUtc:
          type:
            - 'null'
            - string
          format: date-time
      additionalProperties: false
    Ormeo_Web_Lens_Models_Companies_CompanyCategoryTurnoverChart_Dto:
      type: object
      properties:
        rangeSeries:
          type:
            - 'null'
            - array
          items:
            type: array
            items:
              type: integer
              format: int64
        incomeSeries:
          type:
            - 'null'
            - array
          items:
            type:
              - 'null'
              - integer
            format: int64
        labels:
          type:
            - 'null'
            - array
          items:
            type: string
        hasCalenderYearIntelligence:
          type: boolean
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyCategoryGender_Dto:
      type: object
      properties:
        period:
          type:
            - 'null'
            - string
        male:
          type: integer
          format: int32
        female:
          type: integer
          format: int32
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyCategoryEmployees_Dto:
      type: object
      properties:
        period:
          type:
            - 'null'
            - string
        range:
          type:
            - 'null'
            - array
          items:
            type: integer
            format: int64
      additionalProperties: false
    Ormeo_Library_Entities_CompanyDataSourceType:
      enum:
        - bolt
        - dash
        - flux
        - pixel
        - quark
        - spark
        - vector
        - cipher
        - delta
        - omega
        - nova
        - apex
        - zenith
        - pulse
        - nexus
        - helix
        - prism
        - vertex
        - ion
        - codec
        - vortex
        - matrix
        - byte
        - glitch
        - echo
        - rune
        - sync
        - axiom
        - core
        - node
        - nano
        - photon
        - orbit
        - tensor
        - kernel
        - beacon
        - crypto
        - proxy
        - lumen
        - strobe
        - neutron
        - radix
      type: string
    Ormeo_Library_Entities_ExternalOrigin:
      enum:
        - table_Bolagsverket_Notification
        - table_Stage_CompanyPersonHistory
        - table_PRV_Trademark
        - table_System_SwedishCity
        - table_FI_Company
        - table_FI_CompanyPermit
        - table_ICA_Store
        - table_Srf_Company
        - table_FAR_Member
        - table_Bolagsverket_Document
        - table_Bolagsverket_Case
        - table_SalesOrderRow
        - table_SalesOrder
        - table_System_UserValidation
        - table_System_User
        - table_User
        - table_TeamInvitation
        - table_Sweden_CourtDocument
        - table_PRV_TrademarkImage
        - table_Bolagsverket_Order
        - table_SCB_JE
        - table_SCB_AE
        - table_Bolagsverket_BeneficialOwnerNotification
        - table_TeamWatchListTrigger
        - table_SCB_Foretagsnamn
        - table_SCB_ExpImp
        - table_SCB_AstNummer
        - table_SCB_Konskvot
        - table_Company
        - table_Larmtjanst_Object
        - table_Transportstyrelsen_Person
        - table_Forsakringskassan_Claim
        - table_FI_BorsInformationReport
        - table_Skatteverket_FA_INK
        - table_Skatteverket_FA_MOMS_AG
        - table_Skatteverket_KA_PLIGG
        - table_Skatteverket_SKT_AG
        - table_Skatteverket_SKT_INK
        - table_Skatteverket_SKT_MOMS
        - table_Skatteverket_TF_ANST
        - table_SPAR_NotificationRecord
        - table_SPAR_NotificationRecordReference
        - table_Lantmateriet_InskrivningPerson
        - table_CompanyCase
        - table_Bolagsverket_BeneficialOwner
        - table_Bolagsverket_AnnualReport
        - table_SPAR_NotificationRecordRelationship
        - table_Skatteverket_Basinformation
        - table_PersonRelationship
        - table_CompanyImport
        - table_SeaweedFSFile
        - table_Sweden_CompanyAnnualReport
        - table_CompanyFinancialReport
        - table_CompanyAddress
        - table_CompanyStatus
        - table_CompanyPerson
        - table_CompanyRegistration
        - table_CompanyIntelligence
        - table_CompanyFinancialDocument
        - table_CompanyNaming
        - table_CompanyPurpose
        - table_CompanyShareCapital
        - table_CompanyRegisteredOffice
        - table_KFM_OrderToPayCase
        - table_PersonAddress
        - table_PersonName
        - table_CompanyWorkplaceAddress
        - table_Lantmateriet_InskrivningAgandeForandring
        - table_Lantmateriet_InskrivningInteckning
        - file_Bolagsverket
        - table_KFM_DebtorSummaryEntityDebt
        - table_CompanyWorkplaceCompany
        - table_CompanyDocument
        - table_FileImport
        - table_CompanyFinancialReportRegistration
        - table_Folkhalsomyndigheten_ServingPermit
        - table_CompanyFinancialReportFile
        - table_TeamCompanyDocument
        - table_Bolagsverket_RepresentativeHistory
        - table_CompanyPersonTemp
        - table_Lansstyrelsen_Decision
        - table_Kammarkollegiet_Sanktionsavgift
        - table_CompanyFinancialReportSummary
        - table_Lantmateriet_InskrivningAnteckning
        - table_Property
        - table_SwishRequest
        - external_Lantmateriet_RegisterenhetObjektIdentitet
        - table_SwishRefundResponse
        - table_LEI_Order
        - table_Bankgirot_Bankgironumber
        - table_Person
        - external_Navet
        - table_Transportstyrelsen_VehicleSummaryEvent
        - external_Bolagsverket_Case
        - table_Ria_AgentLocation
        - table_PropertyAnnualReportFile
      type: string
    Ormeo_Library_Entities_CompanyNamingType:
      enum:
        - legalName
        - commonName
        - tradingName
        - particularName
        - foreignLanguageName
        - other
        - legalNameSuggested
        - commonNameSuggested
        - tradingNameSuggested
        - particularNameSuggested
        - foreignLanguageNameSuggested
      type: string
    Ormeo_Library_Entities_CompanyStatusType:
      enum:
        - reorganizationOfBusinessCommenced
        - bankruptcyTerminatedWithSurplus
        - dissolvedByCompanyDemerger
        - liquidationTerminated
        - mergerProcedureCommenced
        - acquisitionByCompanyDemerger
        - acquisitionByMerger
        - dissolvedByMergerProcedure
        - liquidationDecided
        - bankruptcyProceedingsCommenced
        - bankruptcyProceedingsTerminated
        - mergerPermitted
        - unused1
        - unused2
        - unused3
        - liquidationContinues
        - struckOffRegisterCrossBorderMerger
        - bankruptcyRepealedByCourt
        - liquidationEnds
        - liquidationRepealedByCourt
        - companyStruckOff
        - reorganizationOfBusinessEnded
        - reorganizationOfBusinessRepealedByCourt
        - resolutionCommenced
        - resolutionTerminated
        - resolutionRepealedByCourt
        - companyStruckOffTradeRegisterAct
        - deregisteredNewHolder
        - deregistered
        - reintroduced
        - companyStruckOffOwnRequest
        - companyStruckOffByRegistrationOffice
        - companyStruckOffReenteredAsJointStock
        - branchStruckOffForeignLiquidationOrBankruptcy
        - branchStruckOffOperationsCeased
        - branchStruckOffMissingCEO
        - branchStruckOffCourtOrder
        - branchStruckOffAnnualReportMissing
        - isActive
        - isNoLongerActive
        - hasNeverBeenActive
        - taxAuthorityStatus
        - companyDemergerCommenced
        - settlementNegotiationsCommenced
        - settlementNegotiationsTerminated
        - settlementNegotiationsRepealedByCourt
        - acquisitionExpired
        - acquisitionTerminated
        - acquisitionByMultipleMergers
        - acquisitionRepealedByCourt
        - mergerExpired
        - mergerRepealedByCourt
        - other
      type: string
    Ormeo_Library_Common_CompanyStatusListType:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/Ormeo_Library_Entities_CompanyStatusType'
        name_EN:
          type:
            - 'null'
            - string
        name_SE:
          type:
            - 'null'
            - string
        bolagsverketCode:
          type:
            - 'null'
            - string
        isCeased:
          type:
            - 'null'
            - boolean
      additionalProperties: false
    Ormeo_Library_Dtos_CompanyStatusColorEnum:
      enum:
        - red
        - yellow
        - green
        - neutral
      type: string
    Ormeo_Library_Entities_CompanyLinkType:
      enum:
        - homepage
        - facebook
        - instagram
        - x_Twitter
        - linkedIn
        - other
      type: string
    Ormeo_Library_Entities_PhoneNumberType:
      enum:
        - fixedLine
        - mobile
      type: string
    Ormeo_Library_Entities_SourceBlockType:
      enum:
        - blockedForMarketing
        - blockedAtNIX
      type: string
    Ormeo_Library_Entities_EmailAddressType:
      enum:
        - general
        - personal
        - other
      type: string
    Ormeo_Library_Entities_CompanyFranchiseOrLicenceType:
      enum:
        - franchise
        - licence
        - membership
        - agent
        - amlRegistered
        - other
      type: string
    Ormeo_Library_Entities_CompanyRegistrationType:
      enum:
        - fTax
        - vat
        - payroll
        - stockCompany
        - antimoneyLaundering
        - other
      type: string
    Ormeo_Library_Entities_CompanyAddressType:
      enum:
        - mailAddress
        - visitingAddress
        - bothMailAndVisitingAddress
        - registeredAddress
      type: string
    Ormeo_Library_Entities_AddressStatusType:
      enum:
        - mailAddressOK
        - mailAddressReturn
      type: string
    Ormeo_Library_Dtos_AddressIntelligence_Dto:
      type: object
      properties:
        addressIntelligenceId:
          type: integer
          format: int32
        addressId:
          type: integer
          format: int32
        addressIntelligenceType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_AddressIntelligenceType'
        addressIntelligenceTypeDescription:
          type:
            - 'null'
            - string
          readOnly: true
        addressIntelligenceSubType:
          type:
            - 'null'
            - string
        addressIntelligenceSubTypeDescription:
          type:
            - 'null'
            - string
          readOnly: true
        addressIntelligencePolicyId:
          type:
            - 'null'
            - integer
          format: int32
        notes:
          type:
            - 'null'
            - string
        notesEn:
          type:
            - 'null'
            - string
        notesSv:
          type:
            - 'null'
            - string
        score:
          type:
            - 'null'
            - integer
          format: int32
        firstSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastSeenAtUtc:
          type:
            - 'null'
            - string
          format: date-time
        lastUpdatedAtUtc:
          type: string
          format: date-time
        externalId:
          type:
            - 'null'
            - integer
          format: int32
        externalOrigin:
          $ref: '#/components/schemas/Ormeo_Library_Entities_ExternalOrigin'
        intelligenceNotesType:
          type:
            - 'null'
            - integer
          format: int32
        notesValue1:
          type:
            - 'null'
            - string
        notesValue2:
          type:
            - 'null'
            - string
        notesValue3:
          type:
            - 'null'
            - string
        notesValue4:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Library_Entities_CompanyIndustryCodeType:
      enum:
        - sni2007
        - sni2025
        - other
      type: string
    Ormeo_Library_Entities_CompanyFlagType:
      enum:
        - privateCompany
        - publicCompany
        - insuranceCompany
        - lifeInsuranceCompany
        - publicNotListed
        - publicOMXLargeCap
        - publicOMXMidCap
        - publicOMXSmallCap
        - publicAktietorget
        - publicFirstNorth
        - unknown
      type: string
    Ormeo_Library_Entities_CompanyCategoryType:
      enum:
        - scb_NumberOfEmployeesInterval
        - scb_OwnershipType
        - scb_VATInterval
        - scb_PrivPublType
        - scb_TurnoverInterval
        - scb_PropertyTaxationInterval
        - scb_Sector
        - scb_GroupVAT
        - scb_TradeAfrica
        - scb_TradeAsia
        - scb_TradeEU
        - scb_TradeExportInterval
        - scb_TradeFarEast
        - scb_TradeImportInterval
        - scb_TradeNorthCentralAmerica
        - scb_TradeNordics
        - scb_TradeSouthAmerica
        - scb_TradeOtherEurope
        - scb_GenderRatioFemale
        - scb_GenderRatioMale
      type: string
    System_Int64System_Int64Tuple:
      type: object
      properties:
        item1:
          type: integer
          format: int64
        item2:
          type: integer
          format: int64
      additionalProperties: false
    Ormeo_Library_Entities_AddressIntelligenceType:
      enum:
        - unknownAddress
        - personsRegistered
        - companyBankruptcies
        - apartments
        - propertyForfeited
        - vulnerableArea
      type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````