openapi: 3.0.3
info:
title: bexio Accounting Payroll 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: Payroll
paths:
/payroll/employees:
get:
operationId: listEmployees
tags:
- Payroll
summary: List payroll employees
responses:
'200':
description: A list of employees.
/payroll/absences:
get:
operationId: listAbsences
tags:
- Payroll
summary: List payroll absences
responses:
'200':
description: A list of absences.
components:
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.'