DATEV Online APIs

DATEV Online APIs

Read accounting Mandanten (clients), document types and DATEV Unternehmen online (DUO) version metadata from DATEV's official Online APIs. OAuth2 Authorization Code + PKCE bound to a real DATEV-Konto. Required by virtually every German tax consultant (Steuerberater).

7 天免费 · 无需信用卡 · EU 托管

问 DATEV 任何事

通过 AnythingMCP 对 DATEV Online APIs 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 DATEV
DATEV Online APIs · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 DATEV Online APIs。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 DATEV Online APIs

DATEV 指南

面向主流 AI 客户端的逐步设置。

配置 DATEV Online APIs

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

Important — this connector is NOT plug-and-play. DATEV's Online APIs require:

  1. A registered app on the DATEV-Entwicklerportal (https://developer.datev.de) → Confidential client + OpenID Connect Authorization Code Flow. Set the redirect URI to <your-server>/api/mcp-oauth/callback.
  2. A subscription to each API product you want to use — currently accounting-clients v2.0 and accounting-documents v2.0. Both are Already subscribed checks on the product page.
  3. A real DATEV-Konto user with SmartLogin or SmartCard/mIDentity. DATEV does NOT expose client_credentials — every call is on-behalf-of a human accountant. Confidential clients get 2-year rolling refresh tokens (the engine refreshes proactively).
  4. For *.api.datev.de (production) you must complete DATEV's production-approval review. Until then, point the connector at the sandbox (see below).

Authentication endpoints (canonical, from https://login.datev.de/openid/.well-known/openid-configuration):

  • Production: authorize=https://login.datev.de/openid/authorize, token=https://api.datev.de/token
  • Sandbox: authorize=https://login.datev.de/openidsandbox/authorize, token=https://sandbox-api.datev.de/token

Setup:

  1. Set DATEV_CLIENT_ID and DATEV_CLIENT_SECRET (from the DATEV portal).
  2. Import this adapter — defaults to production auth URLs.
  3. Run the one-time OAuth flow: POST /api/connectors/{id}/oauth/authorize → open the returned URL → log in with your DATEV-Konto → the platform stores an encrypted refresh token automatically.
  4. From now on every call sends Authorization: Bearer <token> AND the mandatory X-DATEV-Client-Id: <DATEV_CLIENT_ID> header automatically.

Testing first? Every DATEV app runs in the sandbox until DATEV grants production approval. For sandbox testing use the dedicated DATEV Online APIs (Sandbox) connector (pre-configured for the sandbox endpoints) rather than editing this one — then switch to this production connector once approved, using the same credentials.

Scopes requested: datev:accounting:clients accounting:clients:read accounting:documents. These cover both API products in one consent screen. Note: the current DATEV datev_openid flow does NOT include openid in its scope list (it's the issuer name, not a requested scope) — confirmed in the OpenAPI security schemes.

Mandant scoping: every per-client tool takes a clientId parameter — that's the Mandant UUID (RFC4122 8-4-4-4-12), returned by datev_list_clients. Distinct from DATEV_CLIENT_ID (the OAuth app identifier, sent in the header).

Not exposed here (engine limitation):

  • POST /clients/{id}/documents, PUT /clients/{id}/documents/{guid}, PUT /clients/{id}/documents/stapled: all require multipart/form-data with a binary file part. The REST engine currently serializes form-data field values via String(v), which corrupts binary PDFs/images. These upload tools land once the engine accepts Buffer/base64 in form-data values.
  • accounting:dataexchange, accounting:dxso-jobs, accounting:extf-files, HR / Lohn, DMS, addressee: separate adapters per product line.
  • The datev_idp_next security option (next-gen signin.datev.de/datevam/... IdP) is defined in the spec but not yet exposed here.

你的 AI 距离 DATEV Online APIs 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。