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 上安装 DATEVClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 DATEV Online APIs。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
配置 DATEV Online APIs
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
Important — this connector is NOT plug-and-play. DATEV's Online APIs require:
- 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. - A subscription to each API product you want to use — currently
accounting-clients v2.0andaccounting-documents v2.0. Both are Already subscribed checks on the product page. - 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). - 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:
- Set
DATEV_CLIENT_IDandDATEV_CLIENT_SECRET(from the DATEV portal). - Import this adapter — defaults to production auth URLs.
- 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. - From now on every call sends
Authorization: Bearer <token>AND the mandatoryX-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 requiremultipart/form-datawith a binary file part. The REST engine currently serializes form-data field values viaString(v), which corrupts binary PDFs/images. These upload tools land once the engine acceptsBuffer/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_nextsecurity option (next-gensignin.datev.de/datevam/...IdP) is defined in the spec but not yet exposed here.