bexio Sales Orders API

The Sales Orders API from bexio — 5 operation(s) for sales orders.

Operations 8

GET /kb_offer List quotes (Offerten) #
POST /kb_offer Create a quote (Offerte) #
GET /kb_order List orders (Auftraege) #
POST /kb_order Create an order (Auftrag) #
GET /kb_invoice List invoices (Rechnungen) #
POST /kb_invoice Create an invoice (Rechnung) #
GET /kb_invoice/{id} Fetch an invoice #
GET /kb_invoice/{id}/pdf Download an invoice PDF (QR-bill) #

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/bexio-sales-orders-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

bexio-sales-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: bexio Accounting Sales Orders API
  description: REST API for bexio, the Swiss cloud business-management platform (accounting, invoicing, contacts, projects, payroll). All endpoints are served over HTTPS under https://api.bexio.com/2.0. JSON is the data-interchange format. Authentication is OAuth 2.0 Authorization Code (OpenID Connect) or a Personal Access Token (PAT); both are presented as a Bearer token. This document is modeled from the public documentation, not a first-party spec.
  termsOfService: https://www.bexio.com/en-CH/gtc
  contact:
    name: bexio Developer Support
    url: https://developer.bexio.com/
  version: '2.0'
servers:
- url: https://api.bexio.com/2.0
  description: bexio API v2.0 (Switzerland)
security:
- bearerAuth: []
tags:
- name: Sales Orders
paths:
  /kb_offer:
    get:
      operationId: listOffers
      tags:
      - Sales Orders
      summary: List quotes (Offerten)
      description: Sales quotes / offers. Local term Offerte (EN gloss quote).
      parameters:
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: A list of quotes.
    post:
      operationId: createOffer
      tags:
      - Sales Orders
      summary: Create a quote (Offerte)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SalesDocument'
      responses:
        '201':
          description: The created quote.
  /kb_order:
    get:
      operationId: listOrders
      tags:
      - Sales Orders
      summary: List orders (Auftraege)
      responses:
        '200':
          description: A list of orders.
    post:
      operationId: createOrder
      tags:
      - Sales Orders
      summary: Create an order (Auftrag)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SalesDocument'
      responses:
        '201':
          description: The created order.
  /kb_invoice:
    get:
      operationId: listInvoices
      tags:
      - Sales Orders
      summary: List invoices (Rechnungen)
      parameters:
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Offset'
      responses:
        '200':
          description: A list of invoices.
    post:
      operationId: createInvoice
      tags:
      - Sales Orders
      summary: Create an invoice (Rechnung)
      description: Creates a customer invoice. bexio can render the invoice as a Swiss QR-bill (QR-Rechnung) PDF with an embedded Swiss QR code for payment.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SalesDocument'
      responses:
        '201':
          description: The created invoice.
  /kb_invoice/{id}:
    parameters:
    - $ref: '#/components/parameters/Id'
    get:
      operationId: getInvoice
      tags:
      - Sales Orders
      summary: Fetch an invoice
      responses:
        '200':
          description: A single invoice.
  /kb_invoice/{id}/pdf:
    parameters:
    - $ref: '#/components/parameters/Id'
    get:
      operationId: getInvoicePdf
      tags:
      - Sales Orders
      summary: Download an invoice PDF (QR-bill)
      responses:
        '200':
          description: The invoice document, base64-encoded PDF.
components:
  parameters:
    Offset:
      name: offset
      in: query
      required: false
      schema:
        type: integer
        default: 0
    Limit:
      name: limit
      in: query
      required: false
      description: Page size. Default 500, maximum 2000.
      schema:
        type: integer
        default: 500
        maximum: 2000
    Id:
      name: id
      in: path
      required: true
      schema:
        type: integer
  schemas:
    SalesDocument:
      type: object
      properties:
        id:
          type: integer
        document_nr:
          type: string
        title:
          type: string
        contact_id:
          type: integer
        currency_id:
          type: integer
        total:
          type: string
        total_gross:
          type: string
        mwst_type:
          type: integer
          description: VAT (MWST) handling mode.
        positions:
          type: array
          items:
            type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'OAuth 2.0 Authorization Code (OpenID Connect, issuer https://auth.bexio.com/realms/bexio) access token, or a Personal Access Token (PAT), presented as an Authorization: Bearer header.'