DueBuddy Exports API

The exports API from DueBuddy — 5 operation(s) for exports.

Operations 5

POST /api/v1/exports/datev Export Datev #
GET /api/v1/parse/{job_id}/export/datev Export One Datev #
POST /api/v1/exports/1c Export 1C #
GET /api/v1/parse/{job_id}/export/1c Export One 1C #
GET /api/v1/parse/{job_id}/export/csv Export One Csv #

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/duebuddy-work:duebuddy-work-exports-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

duebuddy-work-exports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DueBuddy Exports API
  version: 0.3.0
tags:
- name: Exports
paths:
  /api/v1/exports/datev:
    post:
      tags:
      - Exports
      summary: Export Datev
      description: Один файл DATEV по выбранным разборам (для передачи бухгалтеру).
      operationId: export_datev_api_v1_exports_datev_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatevExportIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/parse/{job_id}/export/datev:
    get:
      tags:
      - Exports
      summary: Export One Datev
      description: Выгрузка одного разобранного счёта в файл DATEV.
      operationId: export_one_datev_api_v1_parse__job_id__export_datev_get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: integer
          title: Job Id
      - name: account
        in: query
        required: false
        schema:
          type: string
          default: '3400'
          title: Account
      - name: contra_account
        in: query
        required: false
        schema:
          type: string
          default: '70000'
          title: Contra Account
      - name: bu_key
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Bu Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/exports/1c:
    post:
      tags:
      - Exports
      summary: Export 1C
      description: Отдать таблицу разобранных счетов в формате 1С (CSV, UTF-8 с BOM).
      operationId: export_1c_api_v1_exports_1c_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DatevExportIn'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/parse/{job_id}/export/1c:
    get:
      tags:
      - Exports
      summary: Export One 1C
      description: 'Выгрузка одного разбора для 1С.


        Владельцу нужен файл под свою бухгалтерию сразу из карточки: раньше в карточке была

        только DATEV (немецкий формат и немецкие счета), что для российского счёта бессмысленно

        (живой случай 13.10.2026).'
      operationId: export_one_1c_api_v1_parse__job_id__export_1c_get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: integer
          title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/parse/{job_id}/export/csv:
    get:
      tags:
      - Exports
      summary: Export One Csv
      description: 'Разобранные поля одного счёта таблицей: UTF-8 с BOM, «;», десятичная запятая.'
      operationId: export_one_csv_api_v1_parse__job_id__export_csv_get
      parameters:
      - name: job_id
        in: path
        required: true
        schema:
          type: integer
          title: Job Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DatevExportIn:
      properties:
        job_ids:
          items:
            type: integer
          type: array
          maxItems: 500
          title: Job Ids
        consultant_no:
          type: string
          maxLength: 20
          title: Consultant No
          default: ''
        client_no:
          type: string
          maxLength: 20
          title: Client No
          default: ''
        account:
          type: string
          maxLength: 10
          title: Account
          default: '1200'
        contra_account:
          type: string
          maxLength: 10
          title: Contra Account
          default: '8400'
        bu_key:
          type: string
          maxLength: 10
          title: Bu Key
          default: ''
      type: object
      title: DatevExportIn
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError