openapi: 3.0.3 info: title: bexio Accounting Items 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: Items paths: /article: get: operationId: listArticles tags: - Items summary: List items / products (Artikel) parameters: - $ref: '#/components/parameters/Limit' - $ref: '#/components/parameters/Offset' responses: '200': description: A list of items. post: operationId: createArticle tags: - Items summary: Create an item / product requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/Article' responses: '201': description: The created item. 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 schemas: Article: type: object properties: id: type: integer intern_name: type: string intern_code: type: string sale_price: type: string purchase_price: type: string currency_id: type: integer 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.'