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

# V0 - Report Counters (externalId)

> Returns counts of expense reports in the given organization, grouped by lifecycle status. Use this to populate dashboard summaries — e.g. "X reports pending approval,
         Y awaiting payment". The `counterStatuses` query parameter selects which counts to compute.



## OpenAPI

````yaml openapi/findity-admin-api-1.json GET /organizations/externalid/{externalId}/reportcounters/
openapi: 3.0.3
info:
  title: Findity Admin API
  description: ''
  version: 1.0.0
  contact:
    name: Findity Support
    email: support@findity.com
servers:
  - url: https://stage-expense.findity.com/api/admin
    description: Stage environment
  - url: https://expense.findity.com/api/admin
    description: Production environment
security:
  - bearerAuth: []
paths:
  /organizations/externalid/{externalId}/reportcounters/:
    get:
      tags:
        - Organizations
      summary: V0 - Report Counters (externalId)
      description: >-
        Returns counts of expense reports in the given organization, grouped by
        lifecycle status. Use this to populate dashboard summaries — e.g. "X
        reports pending approval,
                 Y awaiting payment". The `counterStatuses` query parameter selects which counts to compute.
      operationId: 391b0ade-2a8f-4e51-ab3f-c085510f3ab2
      parameters:
        - $ref: '#/components/parameters/externalId'
        - name: fromDate
          in: query
          schema:
            type: string
            default: ''
            description: >-
              Lower bound for report creation date (inclusive), ISO-8601. Omit
              to count from the start of time.
        - name: toDate
          in: query
          schema:
            type: string
            default: ''
            description: >-
              Upper bound for report creation date (inclusive), ISO-8601. Omit
              to count up to "now".
        - name: Content-Type
          in: header
          schema:
            type: string
            default: application/json
            description: Standard `application/json` content type.
        - name: X-Findity-ApiVersion
          in: header
          schema:
            type: string
            default: '3'
            description: Findity API version. Use `3` for the current admin API.
      responses:
        '200':
          description: OK
          content:
            application/json:
              example:
                counters:
                  NEW: 4
                  NORMAL: 7
                  SEND: 0
                  SENT: 12
                  APPROVAL: 3
                  APPROVED: 9
                  REJECTED: 1
                  PAID: 26
                  TRANSFER: 0
                  TRANSFER_TO_RECIPIENT: 0
                  ERROR: 0
                  READY_TO_SEND: 2
        '404':
          description: Not found
          content:
            application/json:
              example:
                result: error
                description: organization not found
components:
  parameters:
    externalId:
      in: path
      name: externalId
      required: true
      description: The external source id of the organization
      schema:
        type: string
      example: 6aeb86c4fb154c46b2b5a1977245ac67
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````