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

# List

> Lists the expense types.

> [!WARNING]
>
> This endpoint is in preview: it may change without notice until it becomes part of a stable version.


## OpenAPI

````yaml preview post /api/expenses/expense-types.list
openapi: 3.1.0
info:
  title: tipee
  version: preview
servers: []
security:
  - basicAuth: []
tags:
  - name: Activity
    description: Activity
  - name: Balances
    description: Balances
  - name: Directory
    description: Directory
  - name: Expenses
    description: Expenses
  - name: Schedule
    description: Schedule
  - name: Security
    description: Security
  - name: Timeclock
    description: Timeclock
paths:
  /api/expenses/expense-types.list:
    post:
      tags:
        - Expenses
      summary: List
      description: Lists the expense types.
      operationId: post_app_ui_api_expenses_expensetypequery_listby
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListExpenseTypesQuery'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExpenseTypeView'
components:
  schemas:
    ListExpenseTypesQuery:
      properties:
        ids:
          type: array
          items:
            $ref: '#/components/schemas/Snowflake'
        enabled:
          description: >-
            If left undefined, disabled types are listed too, as existing
            expenses may still carry them.
          type: boolean
      type: object
      additionalProperties: false
    ExpenseTypeView:
      required:
        - id
        - label
        - accounting_code
        - enabled
        - is_monetary
      properties:
        id:
          $ref: '#/components/schemas/Snowflake'
        label:
          $ref: '#/components/schemas/TranslatedString'
        accounting_code:
          type: string
        enabled:
          type: boolean
        is_monetary:
          type: boolean
        flat_rate:
          $ref: '#/components/schemas/ExpenseTypeFlatRateView'
          description: Omitted for a monetary expense type.
      type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'
    TranslatedString:
      properties:
        fr:
          type: string
        en:
          type: string
        de:
          type: string
      type: object
      example:
        en: Hello
        fr: Bonjour
        de: Guten Tag
      additionalProperties: false
    ExpenseTypeFlatRateView:
      required:
        - unit
        - rate
        - currency_id
      properties:
        unit:
          type: string
        rate:
          type: number
          format: float
        currency_id:
          oneOf:
            - $ref: '#/components/schemas/Snowflake'
            - type: 'null'
      type: object

````

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