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

# List monthly PTO

> List what each user earned and used in a month. Every PTO value is in hours. The full set is returned, ordered by name.

> [!NOTE]
>
> Replace `{your-subdomain}` with your workspace's subdomain. \
> Learn how to find your subdomain in [Workspace subdomain](/api/workspace-subdomain.md).


## OpenAPI

````yaml bundled/monthly-ptos.yaml GET /monthly-ptos
openapi: 3.0.3
info:
  title: NeetoInvoice APIs
  version: 2.0.0
servers:
  - description: NeetoInvoice APIs
    url: https://{your-subdomain}.neetoinvoice.com/api/external/v2
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/api/workspace-subdomain).
security: []
paths:
  /monthly-ptos:
    get:
      tags:
        - Monthly PTO
      summary: List monthly PTO
      description: >-
        List what each user earned and used in a month. Every PTO value is in
        hours. The full set is returned, ordered by name.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - in: query
          name: month
          description: Month number, 1 to 12.
          required: true
          schema:
            type: integer
            minimum: 1
            maximum: 12
          example: 10
        - in: query
          name: year
          description: Year, for example 2026.
          required: true
          schema:
            type: integer
          example: 2026
        - in: query
          name: email
          description: Only this user's record.
          required: false
          schema:
            type: string
            format: email
          example: oliver@example.com
      responses:
        '200':
          description: OK - Request succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/monthly_ptos_response'
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/api/authentication) for more information.
      required: true
      schema:
        type: string
        default: your-api-key
  schemas:
    monthly_ptos_response:
      type: object
      properties:
        month:
          type: integer
          example: 10
        year:
          type: integer
          example: 2026
        monthly_ptos:
          type: array
          items:
            type: object
            description: Every PTO value is in hours.
            properties:
              user_email:
                type: string
                format: email
                example: oliver@example.com
              user_name:
                type: string
                example: Oliver Smith
              expected_hours:
                type: number
                format: float
                example: 168
              hours_worked:
                type: number
                format: float
                example: 120
              pto_earned:
                type: number
                format: float
                example: 12
              pto_used:
                type: number
                format: float
                example: 0
              previous_month_pto:
                type: number
                format: float
                example: 4
              net_pto:
                type: number
                format: float
                example: 16
              salary_deduction:
                type: number
                format: float
                example: 0
              locked:
                type: boolean
                example: false

````

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