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

# List client spend categories

> The client's own custom spend categories — excludes Dolfin system defaults, includes archived rows. These cascade to every organisation under the client.



## OpenAPI

````yaml /api-reference/openapi.json get /clients/{clientId}/spend-categories
openapi: 3.1.1
info:
  title: Dolfin API
  description: >-
    Dolfin API for AR & AP. Authenticate using the `x-dolfin-api-key` header
    with the API key distributed to your organisation.
  version: v1
servers:
  - url: https://api.dolfinai.co
    description: Production
security:
  - {}
tags:
  - name: Webhooks
  - name: Users
  - name: TaxRates
  - name: Suppliers
  - name: Supplier Credit Notes
  - name: Bills
  - name: SpendCategories
  - name: Payables
  - name: RecurringInvoices
  - name: Receivables
  - name: Purchase Orders
  - name: Products
  - name: Payments
  - name: Invoices
  - name: Organisations
  - name: Members
  - name: MCP
  - name: Matching
  - name: Invoice Reminders
  - name: Industries
  - name: Gmail
  - name: Delivery Notes
  - name: Customers
  - name: Currencies
  - name: Credit Notes
  - name: Clients
  - name: ClientInvites
  - name: BankPayments
  - name: Bank details
  - name: Auth
  - name: ApprovalPolicies
  - name: ApiKeys
  - name: Agent
paths:
  /clients/{clientId}/spend-categories:
    get:
      tags:
        - SpendCategories
      summary: List client spend categories
      description: >-
        The client's own custom spend categories — excludes Dolfin system
        defaults, includes archived rows. These cascade to every organisation
        under the client.
      parameters:
        - name: clientId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SpendCategoryResponse'
components:
  schemas:
    SpendCategoryResponse:
      required:
        - id
        - key
        - displayName
        - defaultSpendClass
        - glAccountCode
        - isArchived
        - createdAt
      type: object
      properties:
        id:
          type: string
          format: uuid
        key:
          type: string
        displayName:
          type: string
        defaultSpendClass:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/SpendClass'
        glAccountCode:
          type:
            - 'null'
            - string
        isArchived:
          type: boolean
        createdAt:
          type: string
          format: date-time
    SpendClass:
      enum:
        - Fixed
        - Variable
        - null

````