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

# Person - Time Accounts



## OpenAPI

````yaml GET /api/v1/persons/{personId}/time-accounts
openapi: 3.1.0
info:
  title: VEDA API
  description: >-
    The VEDA API is a unified API that provides access to various components of
    the VEDA HR Cloud. It simplifies the integration process by offering a
    single entry point for all API requests.
  contact:
    name: Tim Augustin
    email: tim.augustin@veda.net
  version: v1
servers: []
security: []
paths:
  /api/v1/persons/{personId}/time-accounts:
    get:
      tags:
        - time-controller
      operationId: getTimeAccounts
      parameters:
        - name: personId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TimeAccounts'
components:
  schemas:
    TimeAccounts:
      type: object
      description: Entitlement-based time accounts for a person
      properties:
        personId:
          type: string
          format: uuid
        accounts:
          type: array
          description: >-
            Currently only vacation time is exposed. Additional accounts will
            follow later
          items:
            $ref: '#/components/schemas/TimeAccount'
          minItems: 1
          uniqueItems: true
    TimeAccount:
      type: object
      properties:
        id:
          type: string
          enum:
            - vacation
        balance:
          type: number
          format: double
          description: >-
            Current time balance recorded for the employee. (Formerly
            timeBalance)
        used:
          type: number
          format: double
          description: Amount of time used by the employee. (Formerly taken)
        planned:
          type: number
          format: double
          description: Amount of time scheduled in the future, not yet deducted.
        total:
          type: number
          format: double
          description: >-
            Complete amount of time the employee is entitled to. (Formerly
            entitlement)
        unit:
          type: string
          description: Unit of balance values (Formerly timeUnit)
          enum:
            - HOURS
            - DAYS

````