Phasio Manufacturer Document Controller API

API for generating and downloading various document types

Operations 10

GET /api/manufacturer/v1/document/{orderId}/traveller-sheet Generate traveller sheet PDF #
GET /api/manufacturer/v1/document/{orderId}/shipments/{shipmentId}/invoice Generate shipment invoice document #
GET /api/manufacturer/v1/document/{orderId}/order-traveller Generate order traveller PDF #
GET /api/manufacturer/v1/document/{orderId}/invoice Generate invoice PDF #
GET /api/manufacturer/v1/document/{orderId}/invoice-document Generate invoice document #
GET /api/manufacturer/v1/document/{orderId}/estimate Generate estimate PDF #
GET /api/manufacturer/v1/document/{orderId}/custom Generate custom template document #
GET /api/manufacturer/v1/document/{orderId}/consignment-label Generate consignment label PDF #
GET /api/manufacturer/v1/document/{orderId}/confirmation Generate confirmation PDF #
GET /api/manufacturer/v1/document/invoice Generate invoice Excel file #

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:phasio-manufacturer-document-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 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

phasio-manufacturer-document-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phasio Manufacturer Document 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 Document Controller
  description: API for generating and downloading various document types
paths:
  /api/manufacturer/v1/document/{orderId}/traveller-sheet:
    get:
      tags:
      - Manufacturer Document Controller
      summary: Generate traveller sheet PDF
      description: Generates a traveller sheet PDF document for the specified order
      operationId: getTravellerSheetForOperator
      parameters:
      - name: orderId
        in: path
        description: ID of the order to generate traveller sheet for
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      responses:
        '200':
          description: PDF generated successfully
          content:
            application/pdf: {}
        '401':
          description: Unauthorized - missing operator context
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Order not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Document generation failed - error code DOCUMENT_GENERATION_FAILED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/manufacturer/v1/document/{orderId}/shipments/{shipmentId}/invoice:
    get:
      tags:
      - Manufacturer Document Controller
      summary: Generate shipment invoice document
      description: Generates a PDF document using an invoice template for the parts allocated to a shipment
      operationId: generateShipmentInvoiceDocument
      parameters:
      - name: orderId
        in: path
        description: ID of the order
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      - name: shipmentId
        in: path
        description: ID of the shipment
        required: true
        schema:
          type: string
          format: uuid
      - name: templateId
        in: query
        description: ID of the invoice template
        required: true
        schema:
          type: integer
          format: int64
        example: 42
      responses:
        '200':
          description: PDF generated successfully
          content:
            application/pdf: {}
        '401':
          description: Unauthorized - missing operator context
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Order, shipment, template, or quote not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Document generation failed - error code DOCUMENT_GENERATION_FAILED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/manufacturer/v1/document/{orderId}/order-traveller:
    get:
      tags:
      - Manufacturer Document Controller
      summary: Generate order traveller PDF
      description: Generates an order-level traveller PDF for the specified order, optionally using a custom named template
      operationId: getOrderTraveller
      parameters:
      - name: orderId
        in: path
        description: ID of the order
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      - name: templateName
        in: query
        description: Name of the ORDER_LEVEL_TRAVELLER custom template to use (optional)
        required: false
        schema:
          type: string
      responses:
        '200':
          description: PDF generated successfully
          content:
            application/pdf: {}
        '401':
          description: Unauthorized - missing operator context
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Order not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Document generation failed - error code DOCUMENT_GENERATION_FAILED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/manufacturer/v1/document/{orderId}/invoice:
    get:
      tags:
      - Manufacturer Document Controller
      summary: Generate invoice PDF
      description: Generates an invoice PDF document for the specified order
      operationId: getInvoicePdf
      parameters:
      - name: orderId
        in: path
        description: ID of the order to generate invoice for
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      responses:
        '200':
          description: PDF generated successfully
          content:
            application/pdf: {}
        '401':
          description: Unauthorized - missing operator context
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Invoice downloads are disabled for this operator - error code INVOICE_DOWNLOAD_DISABLED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Order or quote not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Document generation failed - error code DOCUMENT_GENERATION_FAILED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/manufacturer/v1/document/{orderId}/invoice-document:
    get:
      tags:
      - Manufacturer Document Controller
      summary: Generate invoice document
      description: Generates a PDF document using an invoice template for the specified order
      operationId: generateInvoiceDocument
      parameters:
      - name: orderId
        in: path
        description: ID of the order
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      - name: templateId
        in: query
        description: ID of the invoice template
        required: true
        schema:
          type: integer
          format: int64
        example: 42
      responses:
        '200':
          description: PDF generated successfully
          content:
            application/pdf: {}
        '401':
          description: Unauthorized - missing operator context
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Order, template, or quote not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Document generation failed - error code DOCUMENT_GENERATION_FAILED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/manufacturer/v1/document/{orderId}/estimate:
    get:
      tags:
      - Manufacturer Document Controller
      summary: Generate estimate PDF
      description: Generates an estimate PDF document for the specified order
      operationId: getEstimate
      parameters:
      - name: orderId
        in: path
        description: ID of the order to generate estimate for
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      responses:
        '200':
          description: PDF generated successfully
          content:
            application/pdf: {}
        '401':
          description: Unauthorized - missing operator context
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Order or quote not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Document generation failed - error code DOCUMENT_GENERATION_FAILED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/manufacturer/v1/document/{orderId}/custom:
    get:
      tags:
      - Manufacturer Document Controller
      summary: Generate custom template document
      description: Generates a PDF document using a custom template for the specified order
      operationId: generateCustomDocument
      parameters:
      - name: orderId
        in: path
        description: ID of the order
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      - name: templateId
        in: query
        description: ID of the custom template
        required: true
        schema:
          type: integer
          format: int64
        example: 42
      responses:
        '200':
          description: PDF generated successfully
          content:
            application/pdf: {}
        '401':
          description: Unauthorized - missing operator context
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Order, template, or quote not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Document generation failed - error code DOCUMENT_GENERATION_FAILED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/manufacturer/v1/document/{orderId}/consignment-label:
    get:
      tags:
      - Manufacturer Document Controller
      summary: Generate consignment label PDF
      description: Generates a consignment label PDF document for the specified order
      operationId: getConsignmentLabelPdf
      parameters:
      - name: orderId
        in: path
        description: ID of the order to generate consignment label for
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      responses:
        '200':
          description: PDF generated successfully
          content:
            application/pdf: {}
        '401':
          description: Unauthorized - missing operator context
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Order not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Document generation failed - error code DOCUMENT_GENERATION_FAILED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/manufacturer/v1/document/{orderId}/confirmation:
    get:
      tags:
      - Manufacturer Document Controller
      summary: Generate confirmation PDF
      description: Generates an order confirmation PDF document for the specified order
      operationId: getConfirmation
      parameters:
      - name: orderId
        in: path
        description: ID of the order to generate confirmation for
        required: true
        schema:
          type: integer
          format: int64
        example: 1
      responses:
        '200':
          description: PDF generated successfully
          content:
            application/pdf: {}
        '401':
          description: Unauthorized - missing operator context
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Order not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Document generation failed - error code DOCUMENT_GENERATION_FAILED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/manufacturer/v1/document/invoice:
    get:
      tags:
      - Manufacturer Document Controller
      summary: Generate invoice Excel file
      description: Generates an Excel spreadsheet with invoice data for the specified operator
      operationId: getInvoiceExcel
      parameters:
      - name: isArchived
        in: query
        description: Whether to include archived orders
        required: false
        schema:
          type: boolean
          default: false
        example: false
      responses:
        '200':
          description: Excel file generated successfully
          content:
            application/octet-stream: {}
        '403':
          description: Invoice downloads are disabled for this operator - error code INVOICE_DOWNLOAD_DISABLED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Document generation failed - error code DOCUMENT_GENERATION_FAILED
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    ApiError:
      type: object
      additionalProperties: true
      description: Stable error contract. `error` is a SCREAMING_SNAKE code that clients match on; `message` is a human-readable sentence. Some errors add extra string fields (for example organisationId).
      properties:
        error:
          type: string
          example: ORDER_NOT_FOUND
        message:
          type: string
          example: Order not found
      required:
      - error
      - message
  securitySchemes:
    Phasio_API_Bearer_Token:
      type: http
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT