Skip to main content
Glama

PayPal CSV to DATEV API - EXTF Buchungsstapel (SKR03 / SKR04) with fee bookings

paypal_to_datev
Read-onlyIdempotent

Convert a PayPal activity export (German or English CSV) into a DATEV EXTF v700 Buchungsstapel. Every transaction is booked on the PayPal account against a clearing account, every PayPal fee as its own booking against Nebenkosten des Geldverkehrs. Pending, denied and memo rows are left out and counted. Returns the bookings as JSON, the EXTF file as base64 (Windows-1252) and a reconciliation of gross, fee, net and balance. Up to 500 transactions per call. Deterministic, 0 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.005/call via x402 at https://radarbg.com/x402/paypal-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": {
      "csv": "Date,Name,Type,Status,Currency,Gross,Fee,Net,Transaction ID,Invoice Number\n02/10/2026,Acme GmbH,Website Payment,Completed,EUR,120.00,-3.34,116.66,PP1001,INV-2026-101\n03/10/2026,Bank Transfer,General Withdrawal,Completed,EUR,-116.66,0.00,-116.66,PP1002,\n",
      "chart": "SKR03",
      "dateOrder": "dmy"
    },
    "name": "paypal_to_datev"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNoThe PayPal activity export as CSV text (provide csv or fileContent)
chartNoDATEV chart of accountsSKR03
clientNoNoDATEV Mandantennummer for the file header (optional)
fileNameNoOptional file name, e.g. paypal-2026-10.csv
dateOrderNoHow to read dates like 03/04/2026: auto, day first or month firstauto
feeAccountNoAccount of the PayPal fees (default 4970 SKR03 / 6855 SKR04)
fileContentNoOr the CSV file base64-encoded (UTF-8 or Windows-1252, max 10 MB)
consultantNoNoDATEV Beraternummer for the file header (optional)
paypalAccountNoAccount of the PayPal balance (default 1361 SKR03 / 1461 SKR04)
counterAccountNoCounter account of the gross bookings (default Geldtransit 1360 / 1460)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "chart": "SKR03"
      -  }
      -]New value: +[
      +  {
      +    "chart": "SKR03",
      +    "csv": "Date,Name,Type,Status,Currency,Gross,Fee,Net,Transaction ID,Invoice Number\n02/10/2026,Acme GmbH,Website Payment,Completed,EUR,120.00,-3.34,116.66,PP1001,INV-2026-101\n03/10/2026,Bank Transfer,General Withdrawal,Completed,EUR,-116.66,0.00,-116.66,PP1002,\n",
      +    "dateOrder": "dmy"
      +  }
      +]
    • changedInput schema / properties / csv / description
      Previous value: -"The PayPal activity export as CSV text (empty = built-in sample export)"New value: +"The PayPal activity export as CSV text (provide csv or fileContent)"
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/openWorldHint/idempotentHint annotations: it is deterministic, 0 AI, stores nothing, enforces a 5-calls/day IP cap, and requires either an X-API-Key or an x402 payment. It also discloses output characteristics (Windows-1252 base64 EXTF, JSON bookings, gross/fee/net/balance reconciliation) and the row-filtering behavior. That is unusually complete behavioral disclosure for a read-only tool.

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?

Front-loaded with the core transformation in the first sentence, then booking rules, then limits and access terms; nearly every clause carries operational information. The pricing URL and plan detail push slightly into marketing territory, but they resolve a real authentication/cost question for the agent.

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

Completeness5/5

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

For a 10-parameter, no-output-schema tool, the description compensates by describing return artifacts explicitly (JSON bookings, base64 EXTF, reconciliation of gross/fee/net/balance) and the processing limits. An agent has enough to decide to call it and to interpret the result without a schema.

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% and every parameter already carries a description with defaults (e.g. feeAccount 4970/6855, paypalAccount 1361/1461), so the schema does the heavy lifting. The description only adds that the CSV may be German or English and that output is Windows-1252; it does not elaborate on chart, dateOrder, or the optional header numbers beyond what the schema states.

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

Purpose5/5

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

States a specific verb and resource: converts a PayPal activity export into a DATEV EXTF v700 Buchungsstapel, with the booking model spelled out (PayPal account vs. clearing account, fees as separate bookings). This is specific enough to distinguish it from siblings such as stripe_to_datev or einvoice_to_datev without needing to name them.

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

Usage Guidelines4/5

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

Explains the input accepted (German or English CSV), the exclusion rule (pending, denied and memo rows are left out and counted), the throughput limit (up to 500 transactions per call), and the access conditions (free tier, API key, x402). It gives clear context for when the tool applies, but it doesn't point to an alternative for out-of-scope inputs such as non-PayPal CSV or over-limit files.

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