> ## 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 companies on a property as PDF

> The companies registered at the property's addresses as a PDF report, with the filter and sort of the AG Grid request; at most 1 000 rows.

<Badge color="yellow" size="sm">Enterprise+ tier</Badge>

The data of [Companies](/api-lens/properties/list-companies-registered-on-a-property-ag-grid) as a PDF report, laid out the way the view shows it in TIC LENS.

Send the same `filterModel` and `sortModel` as to the grid endpoint to get the rows the grid shows; `startRow` and `endRow` are ignored, and an empty body means no filter and the default order. The report holds the first 1,000 rows and says so when the result has more.

See [PDF reports](/api-lens/pdf-reports) for the language, the file name and the row limit.


## OpenAPI

````yaml post /properties/se/{externalId}/companies/pdf
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: CompanyReports
  - name: Documents
  - name: FlightImages
  - name: Free
  - name: Orders
  - name: OrdersExports
  - name: PaymentControl
  - name: PaymentControlImport
  - name: Persons
  - name: Properties
  - name: PublicSearch
  - name: Screening
  - name: SearchAutocomplete
  - name: Sentinel
  - name: ServingPermits
  - name: Team
  - name: Teams
  - name: Vehicles
  - name: WatchList
paths:
  /properties/se/{externalId}/companies/pdf:
    post:
      tags:
        - Properties
      summary: Get companies on a property as PDF
      description: >-
        The companies registered at the property's addresses as a PDF report,
        with the filter and sort of the AG Grid request; at most 1 000 rows.
      operationId: GetPropertyCompaniesPdf
      parameters:
        - name: externalId
          in: path
          description: Lantmäteriet fastighet UUID
          required: true
          schema:
            type: string
            format: uuid
        - name: lang
          in: query
          description: Report language, `sv` or `en`. Defaults to the caller's locale.
          schema:
            type: string
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Ormeo_Web_Lens_Models_AGGrid_AGGridRequest'
          application/json:
            schema:
              $ref: '#/components/schemas/Ormeo_Web_Lens_Models_AGGrid_AGGridRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/Ormeo_Web_Lens_Models_AGGrid_AGGridRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Ormeo_Web_Lens_Models_AGGrid_AGGridRequest'
      responses:
        '200':
          description: PDF report
          content:
            application/pdf:
              schema:
                type: string
                format: binary
        '404':
          description: Property not found
components:
  schemas:
    Ormeo_Web_Lens_Models_AGGrid_AGGridRequest:
      type: object
      properties:
        startRow:
          type: integer
          format: int32
        endRow:
          type: integer
          format: int32
        rowGroupCols:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Web_Lens_Models_AGGrid_RowGroupModel'
        groupKeys:
          type:
            - 'null'
            - array
          items:
            type: string
        filterModel:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Web_Lens_Models_AGGrid_FilterModel'
        sortModel:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Web_Lens_Models_AGGrid_SortModel'
      additionalProperties: false
    Ormeo_Web_Lens_Models_AGGrid_RowGroupModel:
      type: object
      properties:
        id:
          type:
            - 'null'
            - string
        displayName:
          type:
            - 'null'
            - string
        field:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Web_Lens_Models_AGGrid_FilterModel:
      type: object
      properties:
        columnName:
          type:
            - 'null'
            - string
        columnNameWithAlias:
          type:
            - 'null'
            - string
          readOnly: true
        filterType:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Web_Lens_Models_AGGrid_SortModel:
      type: object
      properties:
        sort:
          $ref: '#/components/schemas/Ormeo_Web_Lens_Models_AGGrid_SortOrder'
        colId:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Web_Lens_Models_AGGrid_SortOrder:
      enum:
        - asc
        - desc
      type: string
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.