Phasio Manufacturer Expense Controller API

API for managing order expenses

Operations 4

POST /api/manufacturer/v1/expense Create a new expense for an order #
GET /api/manufacturer/v1/expense/{expenseId} Get an expense by ID #
DELETE /api/manufacturer/v1/expense/{expenseId} Delete an expense #
GET /api/manufacturer/v1/expense/order/{orderId} Get all expenses for an order #

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/phasio-manufacturer-expense-controller-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 email required.

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

OpenAPI Specification

phasio-manufacturer-expense-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phasio Activity Internal Manufacturer Expense Controller API
  description: This is the API documentation for the Phasio application.
  version: '1.0'
servers:
- url: https://m-api.eu.phas.io
  description: Generated server url
security:
- Phasio API Bearer Token: []
tags:
- name: Manufacturer Expense Controller
  description: API for managing order expenses
paths:
  /api/manufacturer/v1/expense:
    post:
      tags:
      - Manufacturer Expense Controller
      summary: Create a new expense for an order
      operationId: create_13
      parameters:
      - name: orderId
        in: query
        description: ID of the order to associate the expense with
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      requestBody:
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/CreateFixedExpenseDto'
              - $ref: '#/components/schemas/CreateHourlyExpenseDto'
        required: true
      responses:
        '200':
          description: Expense created successfully
          content:
            application/json:
              schema:
                type: integer
                format: int64
        '400':
          description: Invalid request data
        '401':
          description: Unauthorized - missing operator context
  /api/manufacturer/v1/expense/{expenseId}:
    get:
      tags:
      - Manufacturer Expense Controller
      summary: Get an expense by ID
      operationId: get_23
      parameters:
      - name: expenseId
        in: path
        description: ID of the expense to retrieve
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      responses:
        '200':
          description: Expense retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpenseDto'
        '401':
          description: Unauthorized - missing operator context
        '404':
          description: Expense not found
    delete:
      tags:
      - Manufacturer Expense Controller
      summary: Delete an expense
      operationId: delete_13
      parameters:
      - name: expenseId
        in: path
        description: ID of the expense to delete
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      responses:
        '204':
          description: Expense deleted successfully
        '400':
          description: Invalid expense ID or expense cannot be deleted
        '401':
          description: Unauthorized - missing operator context
  /api/manufacturer/v1/expense/order/{orderId}:
    get:
      tags:
      - Manufacturer Expense Controller
      summary: Get all expenses for an order
      operationId: getByOrder_2
      parameters:
      - name: orderId
        in: path
        description: ID of the order to get expenses for
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      responses:
        '200':
          description: Expenses retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpenseDto'
        '401':
          description: Unauthorized - missing operator context
components:
  schemas:
    CreateFixedExpenseDto:
      allOf:
      - $ref: '#/components/schemas/CreateExpenseDto'
      - type: object
        properties:
          quantity:
            type: number
          unitPrice:
            type: number
          costForOperator:
            type: number
      required:
      - costForOperator
      - name
      - quantity
      - type
      - unitPrice
    ExpenseDto:
      type: object
      properties:
        expenseId:
          type: integer
          format: int64
        name:
          type: string
        description:
          type: string
        type:
          type: string
      required:
      - expenseId
      - name
      - type
    CreateHourlyExpenseDto:
      allOf:
      - $ref: '#/components/schemas/CreateExpenseDto'
      - type: object
        properties:
          hours:
            type: number
          rate:
            type: number
      required:
      - hours
      - name
      - rate
      - type
    CreateExpenseDto:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        type:
          type: string
      required:
      - name
      - type
  securitySchemes:
    Phasio_API_Bearer_Token:
      type: http
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT