Fudo Expense Categories API

The Expense Categories API from Fudo — 2 operation(s) for expense categories.

Operations 5

GET /expense-categories Get expense categories #
POST /expense-categories Create expense category #
GET /expense-categories/{id} Get expense category #
PATCH /expense-categories/{id} Update expense category #
DELETE /expense-categories/{id} Delete expense category #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fudo:fudo-expense-categories-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fudo-expense-categories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: v1alpha1
  title: Fudo Expense Categories API
  description: '# Overview


    ## Introduction

    This document describes how to make use of the Fudo API.'
servers:
- url: https://api.fu.do/v1alpha1
  description: Production
security:
- bearerAuth: []
tags:
- name: Expense Categories
paths:
  /expense-categories:
    get:
      summary: Get expense categories
      tags:
      - Expense Categories
      parameters:
      - name: fields
        in: query
        description: Object in the form of fields[column]=value.
        schema:
          type: object
          additionalProperties: false
          properties:
            expenseCategory:
              type: string
              pattern: ^((active|financialCategory|name|parentCategory)(,(?!$))?)*$
              example: name
      - name: page
        in: query
        description: Page number and size.
        schema:
          type: object
          additionalProperties: false
          properties:
            number:
              type: string
              pattern: ^\d+$
            size:
              type: string
              pattern: ^\d+$
      - name: sort
        in: query
        description: Comma-separated list. See pattern for possible values.
        schema:
          type: string
          pattern: ^((-?id|-?name)(,(?!$))?)+$
          example:
          - id
          - -id
          - name
          - -name
      responses:
        '200':
          description: A list of resources
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          pattern: ^\d{1,10}$
                          example: '1'
                        type:
                          type: string
                          enum:
                          - ExpenseCategory
                          example: ExpenseCategory
                        attributes:
                          type: object
                          properties:
                            active:
                              type: boolean
                              example: true
                            name:
                              type: string
                              minLength: 5
                              maxLength: 90
                              example: Main
                            financialCategory:
                              type: string
                              enum:
                              - OPERATIONAL-EXPENSES
                              - GOODS-PURCHASES
                              - ADMINISTRATIVE-EXPENSES
                        relationships:
                          type: object
                          properties:
                            parentCategory:
                              type: object
                              required:
                              - data
                              properties:
                                data:
                                  type: object
                                  required:
                                  - id
                                  - type
                                  properties:
                                    id:
                                      type: string
                                      pattern: ^\d{1,10}$
                                    type:
                                      type: string
                                      enum:
                                      - ExpenseCategory
      operationId: getExpenseCategories
      x-operation-id-source: derived
    post:
      summary: Create expense category
      tags:
      - Expense Categories
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - data
              properties:
                data:
                  type: object
                  additionalProperties: false
                  required:
                  - type
                  - attributes
                  properties:
                    type:
                      type: string
                      enum:
                      - ExpenseCategory
                      example: ExpenseCategory
                    attributes:
                      type: object
                      additionalProperties: false
                      required:
                      - name
                      properties:
                        active:
                          type: boolean
                          example: true
                        name:
                          type: string
                          minLength: 1
                          maxLength: 90
                          example: Drinks
                        financialCategory:
                          type: string
                          enum:
                          - ADMINISTRATIVE-EXPENSES
                          - GOODS-PURCHASES
                          - OPERATIONAL-EXPENSES
                    relationships:
                      type: object
                      additionalProperties: false
                      properties:
                        parentCategory:
                          type: object
                          additionalProperties: false
                          required:
                          - data
                          properties:
                            data:
                              type: object
                              additionalProperties: false
                              required:
                              - id
                              - type
                              properties:
                                id:
                                  type: string
                                  pattern: ^\d{1,10}$
                                  example: '1'
                                type:
                                  type: string
                                  enum:
                                  - ExpenseCategory
                                  example: ExpenseCategory
      responses:
        '201':
          description: The created resource
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        pattern: ^\d{1,10}$
                        example: '1'
                      type:
                        type: string
                        enum:
                        - ExpenseCategory
                        example: ExpenseCategory
                      attributes:
                        type: object
                        properties:
                          active:
                            type: boolean
                            example: true
                          name:
                            type: string
                            minLength: 5
                            maxLength: 90
                            example: Main
                          financialCategory:
                            type: string
                            enum:
                            - OPERATIONAL-EXPENSES
                            - GOODS-PURCHASES
                            - ADMINISTRATIVE-EXPENSES
                      relationships:
                        type: object
                        properties:
                          parentCategory:
                            type: object
                            required:
                            - data
                            properties:
                              data:
                                type: object
                                required:
                                - id
                                - type
                                properties:
                                  id:
                                    type: string
                                    pattern: ^\d{1,10}$
                                  type:
                                    type: string
                                    enum:
                                    - ExpenseCategory
      operationId: postExpenseCategories
      x-operation-id-source: derived
  /expense-categories/{id}:
    get:
      summary: Get expense category
      tags:
      - Expense Categories
      parameters:
      - name: fields
        in: query
        description: Object in the form of fields[column]=value.
        schema:
          type: object
          additionalProperties: false
          properties:
            expenseCategory:
              type: string
              pattern: ^((active|financialCategory|name|parentCategory)(,(?!$))?)*$
              example: name
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: \d{1,10}
          example: '1'
      responses:
        '200':
          description: A single resource
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        pattern: ^\d{1,10}$
                        example: '1'
                      type:
                        type: string
                        enum:
                        - ExpenseCategory
                        example: ExpenseCategory
                      attributes:
                        type: object
                        properties:
                          active:
                            type: boolean
                            example: true
                          name:
                            type: string
                            minLength: 5
                            maxLength: 90
                            example: Main
                          financialCategory:
                            type: string
                            enum:
                            - OPERATIONAL-EXPENSES
                            - GOODS-PURCHASES
                            - ADMINISTRATIVE-EXPENSES
                      relationships:
                        type: object
                        properties:
                          parentCategory:
                            type: object
                            required:
                            - data
                            properties:
                              data:
                                type: object
                                required:
                                - id
                                - type
                                properties:
                                  id:
                                    type: string
                                    pattern: ^\d{1,10}$
                                  type:
                                    type: string
                                    enum:
                                    - ExpenseCategory
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        status:
                          type: string
                          example: '404'
                        title:
                          type: string
                          example: Not Found
      operationId: getExpenseCategoriesById
      x-operation-id-source: derived
    patch:
      summary: Update expense category
      tags:
      - Expense Categories
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: \d{1,10}
          example: '1'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
              - data
              properties:
                data:
                  type: object
                  additionalProperties: false
                  required:
                  - id
                  - type
                  - attributes
                  properties:
                    id:
                      type: string
                      pattern: \d{1,10}
                      example: '1'
                    type:
                      type: string
                      enum:
                      - ExpenseCategory
                      example: ExpenseCategory
                    attributes:
                      type: object
                      additionalProperties: false
                      properties:
                        active:
                          type: boolean
                          example: true
                        name:
                          type: string
                          minLength: 1
                          maxLength: 90
                          example: Drinks
                        financialCategory:
                          type:
                          - string
                          - 'null'
                          enum:
                          - ADMINISTRATIVE-EXPENSES
                          - GOODS-PURCHASES
                          - OPERATIONAL-EXPENSES
                          - null
                    relationships:
                      type: object
                      additionalProperties: false
                      properties:
                        parentCategory:
                          type: object
                          additionalProperties: false
                          required:
                          - data
                          properties:
                            data:
                              type:
                              - object
                              - 'null'
                              additionalProperties: false
                              required:
                              - id
                              - type
                              properties:
                                id:
                                  type: string
                                  pattern: ^\d{1,10}$
                                  example: '1'
                                type:
                                  type: string
                                  enum:
                                  - ExpenseCategory
                                  example: ExpenseCategory
      responses:
        '200':
          description: The updated resource
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        pattern: ^\d{1,10}$
                        example: '1'
                      type:
                        type: string
                        enum:
                        - ExpenseCategory
                        example: ExpenseCategory
                      attributes:
                        type: object
                        properties:
                          active:
                            type: boolean
                            example: true
                          name:
                            type: string
                            minLength: 5
                            maxLength: 90
                            example: Main
                          financialCategory:
                            type: string
                            enum:
                            - OPERATIONAL-EXPENSES
                            - GOODS-PURCHASES
                            - ADMINISTRATIVE-EXPENSES
                      relationships:
                        type: object
                        properties:
                          parentCategory:
                            type: object
                            required:
                            - data
                            properties:
                              data:
                                type: object
                                required:
                                - id
                                - type
                                properties:
                                  id:
                                    type: string
                                    pattern: ^\d{1,10}$
                                  type:
                                    type: string
                                    enum:
                                    - ExpenseCategory
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        status:
                          type: string
                          example: '404'
                        title:
                          type: string
                          example: Not Found
      operationId: patchExpenseCategoriesById
      x-operation-id-source: derived
    delete:
      summary: Delete expense category
      tags:
      - Expense Categories
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: \d{1,10}
          example: '1'
      responses:
        '200':
          description: The deleted resource
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        pattern: ^\d{1,10}$
                        example: '1'
                      type:
                        type: string
                        enum:
                        - ExpenseCategory
                        example: ExpenseCategory
                      attributes:
                        type: object
                        properties:
                          active:
                            type: boolean
                            example: true
                          name:
                            type: string
                            minLength: 5
                            maxLength: 90
                            example: Main
                          financialCategory:
                            type: string
                            enum:
                            - OPERATIONAL-EXPENSES
                            - GOODS-PURCHASES
                            - ADMINISTRATIVE-EXPENSES
                      relationships:
                        type: object
                        properties:
                          parentCategory:
                            type: object
                            required:
                            - data
                            properties:
                              data:
                                type: object
                                required:
                                - id
                                - type
                                properties:
                                  id:
                                    type: string
                                    pattern: ^\d{1,10}$
                                  type:
                                    type: string
                                    enum:
                                    - ExpenseCategory
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        status:
                          type: string
                          example: '404'
                        title:
                          type: string
                          example: Not Found
      operationId: deleteExpenseCategoriesById
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'From here you can assign a value to the authorization header to be able

        to perform tests from this interface. The value to assign must be the

        token obtained from the authentication endpoint, as explained above.


        ###

        '