Summarize sevDesk records
sevdesk_records_summarizeCalculate counts and exact net, tax, and gross sums for sevDesk invoices, credit notes, vouchers, or bank transactions, with optional grouping by month, quarter, status, contact, or account.
Instructions
Auswertung: counts and exact sums of invoices (Rechnungen), credit notes (Gutschriften), vouchers (Belege) or bank transactions (Umsätze): net/tax/gross per currency (incoming/outgoing for transactions), optionally grouped by month, quarter, status, contact (Kunde/Lieferant) or account. Prefer it over paging list tools for totals such as revenue per month (Umsatz), expenses per supplier or amounts per status. Filters: from/to, status, contactId, kind (vouchers: expense/revenue), invoiceType, checkAccountId (transactions). Templates (recurring RV/WKR) and reminders (MA) are left out unless invoiceType asks for them. Reads up to 10,000 rows; truncated says if more existed. Computed by this server from sevDesk records, not a sevDesk report.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subject": "<subject>"
},
"name": "sevdesk_records_summarize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day to include, YYYY-MM-DD (Berlin time). | |
| from | No | First day to include, YYYY-MM-DD (Berlin time). | |
| kind | No | Vouchers only: expense (Ausgabe) or revenue (Einnahme). | |
| status | No | Invoices/credit notes: draft, open, partially_paid, paid. Vouchers: draft, open, transferred, partially_paid, paid. Transactions: created, linked, private, auto_booked, booked. | |
| groupBy | No | none, month, quarter, status, contact (customer/supplier; not for transactions) or account (transactions only). | none |
| subject | Yes | invoices, credit_notes, vouchers or transactions (bank transactions). | |
| contactId | No | Customer (invoices, credit notes) or supplier (vouchers) contact id. | |
| maxGroups | No | Most groups to return; the rest are counted in groupsOmitted. | |
| invoiceType | No | Invoices only: invoice (RE), advance (AR), partial (TR), final (ER), cancellation (SR), reminder (MA) or recurring (WKR template); reminders and templates count only when asked for here. | |
| checkAccountId | No | Transactions only: payment account (Zahlungskonto) id. |