# sevdesk-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/joosthel/sevdesk-mcp  
**GitHub Stars:** 10  
**npm Downloads (last month):** 1004  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sevdesk-mcp

## Description
Complete sevDesk MCP server: all API endpoints, guarded writes, built-in bookkeeping audits.

## Tools
Capabilities this server exposes over MCP:

- **sevdesk_ping** — Verify the API token, report server mode, bookkeeping generation (1.0 taxType / 2.0 taxRule). Run this first.
- **sevdesk_list_vouchers** — List incoming/outgoing vouchers with the fields that matter for bookkeeping: date, supplier, gross/net/tax, status and the decoded VAT treatment. Read-only.
- **sevdesk_get_voucher** — Fetch a single voucher including its line items, with the VAT treatment and per-position tax rates decoded. Read-only.
- **sevdesk_list_invoices** — List invoices you issued, with number, customer, sums, status and dates. Read-only.
- **sevdesk_summarize** — Aggregate invoices or vouchers over a date range WITHOUT returning rows: counts plus net/tax/gross sums, grouped by month, status, contact or nothing. Use this for totals ('revenue in Q2', 'expenses by supplier') instead of the list tools — the response stays small however large the ledger is. Read-only.
- **sevdesk_list_contacts** — List customers and suppliers. Read-only.
- **sevdesk_list_transactions** — List bank transactions, optionally for one account and period. Read-only.
- **sevdesk_upload_voucher_file** — Upload a local PDF/image/XML e-invoice to sevDesk's temporary voucher storage and return the filename token you pass to sevdesk_create_voucher. WRITE operation — refused under SEVDESK_READ_ONLY. ⚠️ This tool can change data in sevDesk.
- **sevdesk_create_voucher** — Create a voucher via /Voucher/Factory/saveVoucher. Defaults to status 50 (Entwurf) so nothing is booked without you reviewing it in sevDesk. Check sevdesk_receipt_guidance for the account's allowed tax rules first — expense-side reverse charge is 12/13/14, not 5. WRITE operation. For anything this wrapper does not cover, use sevdesk_call with operationId 'voucherFactorySaveVoucher'. ⚠️ This tool can change data in sevDesk.
- **sevdesk_receipt_guidance** — sevDesk's own booking guidance: which DATEV/SKR accounts exist for expenses or revenue and which tax rules and rates each of them allows — the table sevDesk validates against when a voucher is booked. Filter by text, account number or tax rule; output is capped, never the full account dump. Read-only.
- **sevdesk_set_tax_rule** — Rebook a voucher onto a different VAT rule (e.g. from 'Vorsteuerabziehbare Aufwendungen' onto Reverse Charge §13b, taxRule 12) with guardrails: refuses enshrined vouchers and rules from the wrong side of the books, verifies the result afterwards, and previews the request with dryRun. The voucher's positions keep their rates. Only works on draft vouchers — the sevDesk API refuses updates on booked/paid ones, and resetting a paid foreign-currency voucher via the API recalculates its EUR amounts at today's rate. Correct paid vouchers in the sevDesk UI instead. ⚠️ This tool can change data in sevDesk.
- **sevdesk_create_invoice** — Create an outgoing invoice as a draft (status 50) — always a draft, so nothing reaches a customer without review in sevDesk. Positions carry name, quantity, price and tax rate; the contact's address is filled in automatically. Honors SEVDESK_DRY_RUN. ⚠️ This tool can change data in sevDesk.
- **sevdesk_get_invoice_pdf** — Fetch the rendered PDF of an invoice and save it into a directory from the SEVDESK_RECEIPT_DIRS allowlist. Never changes the invoice's send state (preventSendBy). Read-only towards sevDesk.
- **sevdesk_mark_invoice_sent** — Mark an invoice as sent without emailing anything (send types: PDF download, print, postal — deliberately no email). Refuses enshrined invoices and verifies the result. Honors SEVDESK_DRY_RUN. ⚠️ This tool can change data in sevDesk.
- **sevdesk_audit_vat** — Sweep vouchers (Belege) and flag VAT problems: foreign suppliers booked as plain domestic expenses (taxRule 9/10) instead of Reverse Charge §13b (taxRule 12/13/14), revenue rules sitting on expense vouchers, tax rates that contradict the chosen rule, sums that do not add up, and the same supplier booked inconsistently across vouchers. Read-only.
- **sevdesk_reverse_charge_report** — Total the reverse-charge (§13b) tax base for a period, split by meaning: expense vouchers with input-tax deduction (taxRule 12/14, nets to zero), without deduction (taxRule 13, VAT actually payable), and your own §13b revenue (taxRule 5). Separately lists vouchers that look like they belong in the report but are not booked that way. Read-only.
- **sevdesk_find_duplicates** — Detect vouchers booked twice (same document number, or same supplier + amount within a few days) and vouchers left in Entwurf/offen status. Read-only.
- **sevdesk_subscription_gaps** — Detect suppliers that bill on a monthly cadence and report months with no voucher. A subscription that appears in March, April and June but not May almost always means a receipt was never entered. Read-only.
- **sevdesk_diff_receipt_folder** — Compare a local folder of receipt PDFs against the vouchers booked in sevDesk and report both directions: files that appear to have no voucher, and vouchers with no matching file. Matching uses the #reference in the filename first, then date + amount. Filenames are expected to look like '260626_Acme-Cloud_#INV-2043.pdf' or '2026-06-26_AcmeCloud_45.60.pdf'. Reads the filesystem but never writes; sevDesk access is read-only.
- **sevdesk_reconcile_transactions** — Match bank transactions against vouchers by amount and date proximity, in both directions: payments with no plausible voucher (missing receipts) and non-draft vouchers no payment covers. Matching is a heuristic — treat the result as a checklist, not a verdict. Read-only.
- **sevdesk_invoice_aging** — Who owes you money and for how long: open and partially paid invoices bucketed by days overdue (invoice date + payment terms), the outstanding remainder per invoice, drafts that were never sent, and open invoices missing a send mark. Read-only.
- **sevdesk_list_operations** — Search the sevDesk API catalogue (151 operations, API 2.0.0) for the operationId of anything not covered by a dedicated tool. Available tags: AccountingContact, Basics, CheckAccount, CheckAccountTransaction, CommunicationWay, Contact, ContactAddress, ContactField, CreditNote, CreditNotePos, Export, Invoice, InvoicePos, Layout, Order, OrderPos, Part, Report, Tag, Voucher, VoucherPos.
- **sevdesk_describe_operation** — Show the full parameter list, request-body shape and an example call for one operationId. Always do this before sevdesk_call on an operation you have not used before.
- **sevdesk_call** — Execute any operation from the catalogue. Path parameters are taken from `params` by name; remaining `params` entries become query parameters. Nested objects are encoded in sevDesk's bracket syntax (a[b]=c). Mutating operations are refused when the server runs with SEVDESK_READ_ONLY=true, and are only described (not sent) when SEVDESK_DRY_RUN=true or `dryRun` is passed. Operations with a `preventSendBy` query parameter (the *GetPdf reads) default it to true so a read does not mark the document as sent. GETs that change state (sendByWithRender, enshrine flags, preventSendBy=false) count as writes. Can call DELETE operations, which are irreversible. ⚠️ This tool can change data in sevDesk.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "sevdesk-mcp": {
    "command": "npx",
    "args": ["-y","sevdesk-mcp"],
    "env": {
      "SEVDESK_API_TOKEN": "",
      "SEVDESK_READ_ONLY": "",
      "SEVDESK_DRY_RUN": "",
      "SEVDESK_RECEIPT_DIRS": "",
      "SEVDESK_ALLOW_BOOKING": ""
    }
  }
}
```

**Requires environment variables:** `SEVDESK_API_TOKEN`, `SEVDESK_READ_ONLY`, `SEVDESK_DRY_RUN`, `SEVDESK_RECEIPT_DIRS`, `SEVDESK_ALLOW_BOOKING` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What sevdesk-mcp does

sevdesk-mcp gives an MCP client access to a sevDesk account through a combination of focused bookkeeping tools and a searchable API catalogue. It can retrieve vouchers, invoices, contacts, bank transactions, receipt guidance, and rendered invoice PDFs. It also provides server-side summaries that return counts and net, tax, and gross totals grouped by date, status, contact, or no grouping, which is useful for large ledgers.

The audit layer checks bookkeeping conditions rather than only returning raw API records. Available checks include VAT-rule mismatches, reverse-charge classifications, duplicate vouchers, missing subscription months, receipt-folder differences, unreconciled bank transactions, and overdue or unsent invoices. A reverse-charge report separates expense bases with input-tax deduction, expense bases without deduction, and the business's own section 13b revenue.

## How it works

The server uses sevDesk's API through stdio transport. Configure an MCP client to launch `npx -y sevdesk-mcp`, then provide a sevDesk API token through the environment. The token has the same authority as the associated sevDesk login, so read-only mode is the recommended starting point. Run `sevdesk_ping` first to confirm the token and identify whether the account uses bookkeeping generation 1.0 or 2.0.

For API coverage beyond the curated tools, search the operation catalogue with `sevdesk_list_operations`, inspect a method using `sevdesk_describe_operation`, and then call it with `sevdesk_call`. The generic caller maps path parameters from `params`, encodes remaining values as query parameters, and supports sevDesk's bracket notation for nested objects.

## Setup and configuration

The minimum setup requires Node.js 22 or newer, a sevDesk account, an API token, and an MCP client. The token is obtained from the sevDesk user settings under the API section. A source checkout can be installed with npm and built before launching `node dist/index.js`.

Relevant environment variables include:

- `SEVDESK_API_TOKEN` — sevDesk authentication token.
- `SEVDESK_READ_ONLY` — refuses mutating operations when set to `true`.
- `SEVDESK_DRY_RUN` — describes write requests without sending them.
- `SEVDESK_RECEIPT_DIRS` — allowlisted local directories for receipt comparison and invoice PDF output.
- `SEVDESK_ALLOW_BOOKING` — enables booking-specific operations such as linking transactions or finalizing certain vouchers.

## Tools and capabilities

Dedicated tools cover voucher and invoice listing, voucher creation, invoice drafting, file upload, invoice sending marks, tax-rule changes, PDF retrieval, contact and transaction queries, and receipt guidance. Created invoices default to draft status, while created vouchers also default to a reviewable draft unless additional booking permissions are enabled.

Audit tools can identify inconsistent VAT treatment, invalid account and tax-rule combinations, duplicate or incomplete records, missing receipts, payment mismatches, and invoice aging. Local receipt comparison reads the filesystem and matches filenames by reference first, then by date and amount.

## Limitations and notes

Write access can change sevDesk data, and the generic caller can execute DELETE operations. Dry-run and read-only settings reduce this risk, but API tokens should be handled like passwords. Tax-rule changes apply only to draft vouchers; paid or enshrined objects require care, and resetting a paid foreign-currency voucher through the API can recalculate euro amounts using the day's exchange rate.

Bank reconciliation is heuristic and should be treated as a checklist. Receipt-folder comparison requires an allowlisted directory, and the upload tool accepts local PDF, image, or XML files for temporary voucher storage. The generic catalogue should be used only after inspecting an unfamiliar operation's parameters and request body.

_Full upstream README: https://allmcps.com/mcp/sevdesk-mcp/readme_

