Skip to main content
Glama

Bank Statement to DATEV EXTF API - SKR03/SKR04

bank_statement_to_datev
Read-onlyIdempotent

Convert ISO 20022 CAMT.053 XML, SWIFT MT940, or bank CSV statements into German DATEV EXTF v700 Buchungsstapel CSV with automatic SKR03/SKR04 contra-account and BU tax-key suggestions, Soll/Haben flags, and credit/debit totals. Deterministic pure Python, zero AI, nothing stored. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.01/call via x402 at https://radarbg.com/x402/bank-statement-to-datev.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chart": "SKR03",
      "limit": 50,
      "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:camt.053.001.08\">\n  <BkToCstmrStmt>\n    <Stmt>\n      <Id>STMT-2026-11</Id>\n      <Ntry>\n        <Amt Ccy=\"EUR\">2380.00</Amt>\n        <CdtDbtInd>CRDT</CdtDbtInd>\n        <BookgDt><Dt>2026-11-05</Dt></BookgDt>\n        <AcctSvcrRef>RE-2026-101</AcctSvcrRef>\n        <NtryDtls><TxDtls><RltdPties><Dbtr><Nm>Mueller Maschinenbau GmbH</Nm></Dbtr></RltdPties><RmtInf><Ustrd>Rechnung RE-2026-101 Beratung</Ustrd></RmtInf></TxDtls></NtryDtls>\n      </Ntry>\n      <Ntry>\n        <Amt Ccy=\"EUR\">119.00</Amt>\n        <CdtDbtInd>DBIT</CdtDbtInd>\n        <BookgDt><Dt>2026-11-08</Dt></BookgDt>\n        <AcctSvcrRef>HTZ-88412</AcctSvcrRef>\n        <NtryDtls><TxDtls><RltdPties><Cdtr><Nm>Hetzner Online GmbH</Nm></Cdtr></RltdPties><RmtInf><Ustrd>Cloud Hosting Server November</Ustrd></RmtInf></TxDtls></NtryDtls>\n      </Ntry>\n      <Ntry>\n        <Amt Ccy=\"EUR\">950.00</Amt>\n        <CdtDbtInd>DBIT</CdtDbtInd>\n        <BookgDt><Dt>2026-11-10</Dt></BookgDt>\n        <AcctSvcrRef>MIETE-11</AcctSvcrRef>\n        <NtryDtls><TxDtls><RltdPties><Cdtr><Nm>Berlin Office Immobilien KG</Nm></Cdtr></RltdPties><RmtInf><Ustrd>Bueromiete November 2026</Ustrd></RmtInf></TxDtls></NtryDtls>\n      </Ntry>\n    </Stmt>\n  </BkToCstmrStmt>\n</Document>\n"
    },
    "name": "bank_statement_to_datev"
  }
}

Input Schema

NameRequiredDescriptionDefault
chartNoGerman DATEV chart of accounts: SKR03 or SKR04.SKR03
limitNoMaximum booking rows returned in JSON (1-2000).
contentNoRaw CAMT.053 XML, SWIFT MT940, or bank statement CSV text. Provide content or fileBase64.
encodingNoDATEV EXTF CSV output encoding: cp1252 (classic DATEV) or utf-8-sig.cp1252
fileNameNoOptional original filename (helps auto-detect format).
fileBase64NoBase64-encoded CAMT.053, MT940, or CSV bank statement file (max 15 MB).
includeExtfCsvNoWhen true, include the complete DATEV EXTF CSV text in the response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnly/idempotent annotations, the description discloses determinism ('pure Python, zero AI'), statelessness ('nothing stored'), concrete rate limits (5 calls/day per IP), and the two auth/payment paths (X-API-Key or x402 per-call). These are exactly the operational facts an agent needs before invoking a paid, rate-limited endpoint. Nothing in the description conflicts with the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the first sentence, with capabilities and then access terms following in a logical order. The two pricing URLs and payment mechanics are dense but relevant. It is slightly over-stuffed for a single block of prose, though no sentence is truly wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter conversion tool with no output schema, the description covers accepted inputs, produced output, enrichment behavior, safety profile, and access constraints. It stops short of describing the response envelope (e.g. what the JSON contains besides the EXTF text, how detection failures are reported), which is the main remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every one of the 7 parameters is already documented, including the content-vs-fileBase64 choice and the encoding enum. The description adds no format syntax or defaulting guidance beyond that baseline. A 3 is the correct resting point when the schema carries the parameter burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a precise verb and resource chain: convert CAMT.053/MT940/bank CSV into DATEV EXTF v700 Buchungsstapel CSV, with named enrichments (SKR03/SKR04 contra-accounts, BU tax keys, Soll/Haben flags). That is far more specific than a generic 'converter'. It does not, however, distinguish itself from the sibling bank_statement_converter, so an agent must infer the split from the target format alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the input/output formats rather than stated: an agent can infer 'use this when you have a bank statement and need DATEV EXTF output'. There is no explicit when-not clause and no named alternative among the many *_to_datev siblings. The access-path detail (free tier, API key, x402) is helpful context but is about access, not about selecting this tool over another.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources