sevdesk MCP by usefulapi
v1.48.1Look up contacts, invoices, vouchers, orders and bank transactions, create drafts and send invoices.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sevdesk_get_bookkeeping_system_version Get the bookkeeping system version
Return whether the account runs sevdesk bookkeeping 1.0 or 2.0 (2.0 uses taxRule instead of taxType on invoices). Also a cheap way to confirm the API token works. sevdesk: GET /Tools/bookkeepingSystemVersion.
sevdesk_list_contacts List contacts
List contacts (customers, suppliers, partners, prospects). By default sevdesk returns only organisations; set include_persons to also get individual persons. At most 50 contacts per reply (a larger limit is reduced); fields without a value (null or empty) are left out of each row. sevdesk: GET /Contact.
| Parameter | Type | Description |
|---|---|---|
category_id | integer | Only contacts in this category: 2 Supplier, 3 Customer, 4 Partner, 28 Prospect customer. |
city | string | Only contacts in this city. |
count_all | boolean | If true, the response also carries `total`, the full match count. |
customer_number | string | Only the contact with this customer number. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
include_persons | boolean | If true, return organisations AND persons (sevdesk depth=1). Default: organisations only. |
limit | integer | Max entries to return, 1-1000 (sevdesk suggests 10-100). |
name | string | Only contacts whose name, first name or last name matches. |
offset | integer | Number of entries to skip, for paging. |
parent_id | integer | Only persons belonging to this parent organisation's id. |
zip | string | Only contacts with this ZIP code. |
sevdesk_get_contact Get one contact
Fetch a single contact by id. sevdesk: GET /Contact/{contactId}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | The contact's numeric id. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
sevdesk_list_communication_ways List contact emails, phones and websites
List communication ways (email addresses, phone and mobile numbers, websites), optionally for one contact. At most 100 communication ways per reply (a larger limit is reduced); fields without a value (null or empty) are left out of each row. sevdesk: GET /CommunicationWay.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Only this contact's communication ways. |
count_all | boolean | If true, the response also carries `total`, the full match count. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
limit | integer | Max entries to return, 1-1000 (sevdesk suggests 10-100). |
main_only | boolean | If true, only the main communication way(s). |
offset | integer | Number of entries to skip, for paging. |
type | string | Only this type. |
sevdesk_list_communication_way_keys List communication way keys
List the labels a communication way can carry (1 Privat, 2 Arbeit, 3 Fax, 4 Mobil, 6 Autobox, 7 Newsletter, 8 Rechnungsadresse). Needed for sevdesk_add_communication_way. sevdesk: GET /CommunicationWayKey.
sevdesk_list_invoices List invoices
List invoices, filterable by status, number, date range and contact. Status: 50 deactivated recurring, 100 draft, 200 open/due, 750 partially paid, 1000 paid. At most 15 invoices per reply (a larger limit is reduced); fields without a value (null or empty) are left out of each row. sevdesk: GET /Invoice.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Only invoices for this contact id. |
count_all | boolean | If true, the response also carries `total`, the full match count. |
delinquent | boolean | If true, only overdue (delinquent) invoices. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
end_date | integer | Only invoices dated on or before this, as a Unix timestamp in seconds. |
invoice_number | string | Only the invoice with this number. |
invoice_type | string | Only this type: RE normal, WKR recurring, SR cancellation, MA reminder, TR partial, AR advance, ER final. |
limit | integer | Max entries to return, 1-1000 (sevdesk suggests 10-100). |
offset | integer | Number of entries to skip, for paging. |
start_date | integer | Only invoices dated on or after this, as a Unix timestamp in seconds. |
status | string | Only invoices with this status code. |
sevdesk_get_invoice Get one invoice
Fetch a single invoice by id — totals, status, dates, contact and contact person. sevdesk: GET /Invoice/{invoiceId}.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | The invoice's numeric id. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
sevdesk_get_invoice_positions Get an invoice's line items
List the positions (line items) of one invoice: name, quantity, price, tax rate, sums. sevdesk: GET /Invoice/{invoiceId}/getPositions.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | The invoice's numeric id. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
limit | integer | Max entries to return, 1-1000 (sevdesk suggests 10-100). |
offset | integer | Number of entries to skip, for paging. |
sevdesk_list_vouchers List vouchers (receipts)
List vouchers — receipts and incoming/outgoing bills. Status: 50 draft, 100 unpaid/due, 1000 paid. credit_debit C = credit (revenue), D = debit (expense). At most 25 vouchers per reply (a larger limit is reduced); fields without a value (null or empty) are left out of each row. sevdesk: GET /Voucher.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Only vouchers for this contact id. |
count_all | boolean | If true, the response also carries `total`, the full match count. |
credit_debit | string | C for credit (revenue) or D for debit (expense) vouchers. |
description_like | string | Only vouchers whose description contains this text. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
end_date | integer | Only vouchers dated on or before this, as a Unix timestamp in seconds. |
limit | integer | Max entries to return, 1-1000 (sevdesk suggests 10-100). |
offset | integer | Number of entries to skip, for paging. |
start_date | integer | Only vouchers dated on or after this, as a Unix timestamp in seconds. |
status | string | Only vouchers with this status code. |
sevdesk_get_voucher Get one voucher
Fetch a single voucher (receipt) by id. sevdesk: GET /Voucher/{voucherId}.
| Parameter | Type | Description |
|---|---|---|
voucher_id * | integer | The voucher's numeric id. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
sevdesk_set_draft_voucher_supplier Set the supplier on a draft voucher
Assign an existing sevdesk contact as the supplier on an unlocked draft voucher (status 50). Use sevdesk_list_contacts or sevdesk_get_contact for the contact id. The tool verifies the saved supplier.
| Parameter | Type | Description |
|---|---|---|
supplier_id * | integer | The supplier contact's numeric id. |
voucher_id * | integer | The voucher's numeric id. |
sevdesk_list_credit_notes List credit notes
List credit notes (Gutschriften), filterable by status, number, date range and contact. Status: 100 draft, 200 open/delivered, 750 partially paid, 1000 paid. sevdesk: GET /CreditNote.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Only credit notes for this contact id. |
count_all | boolean | If true, the response also carries `total`, the full match count. |
credit_note_number | string | Only the credit note with this number. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
end_date | integer | Only credit notes dated on or before this, as a Unix timestamp in seconds. |
limit | integer | Max entries to return, 1-1000 (sevdesk suggests 10-100). |
offset | integer | Number of entries to skip, for paging. |
start_date | integer | Only credit notes dated on or after this, as a Unix timestamp in seconds. |
status | string | Only credit notes with this status code. |
sevdesk_list_orders List orders and quotes
List orders — quotes (Angebote), order confirmations and delivery notes — filterable by status, number, date range and contact. Status: 100 draft, 200 delivered, 300 rejected, 500 accepted, 750 partially calculated, 1000 calculated. sevdesk: GET /Order.
| Parameter | Type | Description |
|---|---|---|
contact_id | integer | Only orders for this contact id. |
count_all | boolean | If true, the response also carries `total`, the full match count. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
end_date | integer | Only orders dated on or before this, as a Unix timestamp in seconds. |
limit | integer | Max entries to return, 1-1000 (sevdesk suggests 10-100). |
offset | integer | Number of entries to skip, for paging. |
order_number | string | Only the order with this number. |
start_date | integer | Only orders dated on or after this, as a Unix timestamp in seconds. |
status | string | Only orders with this status code. |
sevdesk_list_parts List parts (products)
List parts — the products and services in the sevdesk inventory, with prices, tax rate and stock. sevdesk: GET /Part.
| Parameter | Type | Description |
|---|---|---|
count_all | boolean | If true, the response also carries `total`, the full match count. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
limit | integer | Max entries to return, 1-1000 (sevdesk suggests 10-100). |
name | string | Only parts with this name. |
offset | integer | Number of entries to skip, for paging. |
part_number | string | Only the part with this part number. |
sevdesk_list_check_accounts List payment accounts
List check accounts — the bank accounts, cash registers and clearing accounts sevdesk tracks payments on, with IBAN, type and sync status. sevdesk: GET /CheckAccount.
| Parameter | Type | Description |
|---|---|---|
count_all | boolean | If true, the response also carries `total`, the full match count. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
limit | integer | Max entries to return, 1-1000 (sevdesk suggests 10-100). |
offset | integer | Number of entries to skip, for paging. |
sevdesk_get_check_account_balance Get a payment account's balance at a date
Balance of one check account as the sum of every transaction sevdesk knows up to and including the given date. May differ from the real bank balance if older transactions were never imported. sevdesk: GET /CheckAccount/{checkAccountId}/getBalanceAtDate.
| Parameter | Type | Description |
|---|---|---|
check_account_id * | integer | The check account's numeric id. |
date * | string | Consider transactions up to this date (YYYY-MM-DD, inclusive to 23:59:59). |
sevdesk_list_transactions List bank transactions
List check-account transactions (bank payments in and out), filterable by account, booking state, date range, payee/payer and purpose. At most 50 transactions per reply (a larger limit is reduced); fields without a value (null or empty) are left out of each row. sevdesk: GET /CheckAccountTransaction.
| Parameter | Type | Description |
|---|---|---|
check_account_id | integer | Only transactions on this check account id. |
count_all | boolean | If true, the response also carries `total`, the full match count. |
embed | string | Comma-separated nested resources to expand inline, e.g. contact,category. |
end_date | string | Only transactions up to this date (ISO 8601). |
is_booked | boolean | If true, only transactions already booked against a document. |
limit | integer | Max entries to return, 1-1000 (sevdesk suggests 10-100). |
offset | integer | Number of entries to skip, for paging. |
only_credit | boolean | If true, only incoming (credit) transactions. |
only_debit | boolean | If true, only outgoing (debit) transactions. |
payee_payer_name | string | Only transactions with this payee / payer name. |
payment_purpose | string | Only transactions with this payment purpose (Verwendungszweck). |
start_date | string | Only transactions from this date on (ISO 8601, e.g. 2026-01-01). |
sevdesk_create_contact Create a contact
Create a contact. Give `name` for an organisation, or `surename`/`familyname` for a person. Addresses and emails are separate (use sevdesk_add_communication_way). sevdesk: POST /Contact.
| Parameter | Type | Description |
|---|---|---|
category_id * | integer | Required category: 2 Supplier, 3 Customer, 4 Partner, 28 Prospect customer. |
customer_number | string | Customer number. Omit to let sevdesk leave it unset. |
default_time_to_pay | integer | Default payment term in days for this contact's invoices. |
description | string | Free-text description. |
familyname | string | Last name of a PERSON. |
name | string | Organisation name. Setting it makes the contact an ORGANISATION — leave empty for a person. |
parent_id | integer | For a person: the id of the organisation they belong to. |
status | 100 Lead, 500 Pending, 1000 Active. | |
surename | string | First name of a PERSON (sevdesk's field is really spelled 'surename'). |
tax_number | string | Tax number (Steuernummer). |
vat_number | string | VAT id (USt-IdNr.). |
sevdesk_update_contact Update a contact
Update fields on an existing contact; only the fields you pass are sent. sevdesk: PUT /Contact/{contactId}.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | The contact's numeric id. |
category_id | integer | Move to category: 2 Supplier, 3 Customer, 4 Partner, 28 Prospect. |
customer_number | string | Customer number. Omit to let sevdesk leave it unset. |
default_time_to_pay | integer | Default payment term in days for this contact's invoices. |
description | string | Free-text description. |
familyname | string | Last name of a PERSON. |
name | string | Organisation name. Setting it makes the contact an ORGANISATION — leave empty for a person. |
parent_id | integer | For a person: the id of the organisation they belong to. |
status | 100 Lead, 500 Pending, 1000 Active. | |
surename | string | First name of a PERSON (sevdesk's field is really spelled 'surename'). |
tax_number | string | Tax number (Steuernummer). |
vat_number | string | VAT id (USt-IdNr.). |
sevdesk_add_communication_way Add an email, phone or website to a contact
Attach an email address, phone/mobile number or website to a contact. key_id labels it (2 Arbeit/work is a good default; see sevdesk_list_communication_way_keys). sevdesk: POST /CommunicationWay.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | The contact's numeric id. |
type * | string | What kind of value this is. |
value * | string | The email address, number or URL. |
key_id | integer | Communication way key id (1 Privat, 2 Arbeit, 3 Fax, 4 Mobil, 8 Rechnungsadresse). Default 2. |
main | boolean | Make this the contact's main communication way of its type. |
sevdesk_create_draft_invoice Create a draft invoice
Create a normal invoice (type RE) with its line items, ALWAYS saved as a DRAFT (status 100): it is not sent, not booked and stays editable in sevdesk. contact_person_id is the sevdesk USER responsible for it — copy contactPerson.id from any existing invoice (sevdesk_get_invoice). Bookkeeping 2.0 accounts use tax_rule_id (1 = taxable sales in Germany, the usual choice); 1.0 accounts pass tax_type instead (check sevdesk_get_bookkeeping_system_version). sevdesk: POST /Invoice/Factory/saveInvoice.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | The contact (customer)'s numeric id. |
contact_person_id * | integer | Id of the sevdesk user (SevUser) acting as contact person — e.g. contactPerson.id of an existing invoice. |
invoice_date * | string | Invoice date as dd.mm.yyyy. |
positions * | array | Line items (at least one). |
address | string | Complete recipient address with line breaks. Omit to use the contact's first address (sevdesk takeDefaultAddress). |
address_country_id | integer | sevdesk StaticCountry id of the billing address (1 = Germany). Default 1. |
currency | string | ISO-4217 currency code. Default EUR. |
customer_internal_note | string | Reference / order number field. |
delivery_date | string | Delivery / service date as dd.mm.yyyy (must not be after invoice_date for a normal invoice). |
e_invoice | boolean | Create it as an e-invoice (ZUGFeRD PDF with embedded XRechnung XML; propertyIsEInvoice). sevdesk then needs your company data (address, IBAN, BIC, e-mail, phone, tax and VAT number), the contact's buy… |
foot_text | string | Text below the line items (some HTML allowed). |
head_text | string | Text above the line items (some HTML allowed). |
header | string | Invoice header/title line. |
payment_method_id | integer | Payment method id (copy paymentMethod.id from an existing invoice with sevdesk_get_invoice); needed for an e-invoice. |
show_net | boolean | If true (default), position prices are net. |
small_settlement | boolean | True if the account uses the small-business scheme (no VAT). |
tax_rule_id | string | Bookkeeping 2.0 VAT rule id. 1 taxable sales (Umsatzsteuerpflichtige Umsätze), 2 exports, 3 intra-EU supplies, 4 tax-free §4 UStG, 5 reverse charge §13b, 11 small business §19 (Kleinunternehmer),… |
tax_text | string | VAT text printed on the invoice. Default 'Umsatzsteuer 19%'. |
tax_type | string | Bookkeeping 1.0 only — leave unset on 2.0 accounts. |
time_to_pay | integer | Payment term in days. |
sevdesk_create_draft_order Create a draft order
WRITE: create an order (estimate / proposal by default) with its line items, ALWAYS saved as a DRAFT (status 100): it is not sent and stays editable in sevdesk. Ask the user before calling this. contact_person_id is the sevdesk USER responsible for it: copy contactPerson.id from an existing order or invoice. Bookkeeping 2.0 accounts use tax_rule_id; 1.0 accounts pass tax_type. sevdesk: POST /Order/Factory/saveOrder.
| Parameter | Type | Description |
|---|---|---|
address_country_id * | integer | sevdesk StaticCountry id of the recipient address, required (1 = Germany). Pass it for every order: a default would send Germany for a foreign address. |
contact_id * | integer | The contact (customer)'s numeric id. |
contact_person_id * | integer | Id of the sevdesk user (SevUser) acting as contact person. |
order_date * | string | Order date as dd.mm.yyyy. |
order_number * | string | Order number, e.g. Angebot-1000. sevdesk requires it. |
positions * | array | Line items (at least one). |
tax_text * | string | VAT text printed on the order and required by sevdesk, matching the VAT rule, e.g. 'Umsatzsteuer 19%' or 'Steuerfrei nach §4 UStG'. |
address | string | Complete recipient address with line breaks. |
currency | string | ISO-4217 currency code. Default EUR. |
customer_internal_note | string | Internal reference note. |
delivery_address_country_id | integer | sevdesk StaticCountry id of the delivery address. Pass it with a One Stop Shop rule (18-20) when the goods go to another country than the address. |
foot_text | string | Text below the line items (some HTML allowed). |
head_text | string | Text above the line items (some HTML allowed). |
header | string | Order header. Default: the order number. |
order_type | string | AN estimate / proposal (default), AB order confirmation, LI delivery note. |
show_net | boolean | If true (default), position prices are net. |
small_settlement | boolean | True if the account uses the small-business scheme (no VAT). |
tax_rule_id | string | Bookkeeping 2.0 VAT rule id, as in sevdesk_create_draft_invoice. Default 1, or 11 when small_settlement is true. |
tax_type | string | Bookkeeping 1.0 only, not 'custom' (that needs a tax set this tool does not take). Leave unset on 2.0 accounts. |
sevdesk_get_invoice_pdf Get an invoice PDF
Return the PDF of an invoice (also a draft) to check it before sending: metadata as text, then the PDF as an embedded file. The request always sets preventSendBy=true, so reading the PDF does not mark the invoice as sent and does not change its status. Up to 10 MB. sevdesk: GET /Invoice/{invoiceId}/getPdf.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | The invoice's numeric id. |
sevdesk_list_document_layouts List document templates and letterpapers
List the document templates (for one document type) and the letterpapers of the account, with id, name and default flag. Use the ids with sevdesk_update_draft_invoice (template_id, letterpaper_id). Page breaks, margins and footer spacing are part of a template and are edited only in the sevdesk app. sevdesk: GET /DocServer/getTemplatesWithThumb and GET /DocServer/getLetterpapersWithThumb.
| Parameter | Type | Description |
|---|---|---|
type | string | Document type of the templates. Default Invoice. |
sevdesk_update_draft_invoice Edit a draft invoice
Change an existing DRAFT invoice (status 100) in place instead of creating a new draft: header fields and texts, dates, payment term, address, line items (change, add, remove) and its template, letterpaper or language. Only the fields you pass change; the tool reads the invoice first and keeps every other value. It refuses an invoice that is not a draft. It never sends, books or finalises the invoice. After saving, it reads the invoice again and reports the result, including any requested change that sevdesk did not apply. Check the result with sevdesk_get_invoice_pdf. Page breaks and margins…
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | The draft invoice's numeric id. |
add_positions | array | New line items, added after the existing ones. |
address | string | New complete recipient address with line breaks. |
address_country_id | integer | sevdesk StaticCountry id of the address (1 = Germany); pass it when the country changes. |
customer_internal_note | string | New reference / order number field. |
delete_position_ids | array | Ids of line items to remove from the draft. |
delivery_date | string | New delivery / service date, dd.mm.yyyy. |
e_invoice | boolean | Turn the e-invoice flag on or off (propertyIsEInvoice; see sevdesk_create_draft_invoice for the data sevdesk needs). |
foot_text | string | New text below the line items (some HTML allowed); an empty string clears it. |
head_text | string | New text above the line items (some HTML allowed); an empty string clears it. |
header | string | New header/title line. |
invoice_date | string | New invoice date, dd.mm.yyyy. |
language | string | Document language (sevdesk's codes; id_IT is sevdesk's code for Italian). |
letterpaper_id | string | Letterpaper id (sevdesk_list_document_layouts). |
payment_method_id | integer | Payment method id (paymentMethod.id of an existing invoice). |
template_id | string | Document template id (sevdesk_list_document_layouts). |
time_to_pay | integer | New payment term in days. |
update_positions | array | Line items to change; only the fields you pass change. |
sevdesk_get_invoice_xml Get the e-invoice XML
Return the XML (XRechnung) of an e-invoice: metadata as text, then the XML as an embedded file. It is the same XML that is embedded in the ZUGFeRD PDF. Reading it changes nothing. sevdesk: GET /Invoice/{invoiceId}/getXml.
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | The invoice's numeric id. |
sevdesk_render_invoice Render an invoice and show its layout values
Render the invoice PDF (without forcing a re-render) and return its document id and current layout parameters (template, letterpaper, language, ...) with the allowed values. It never re-renders an invoice that was already sent. Get the PDF itself with sevdesk_get_invoice_pdf. sevdesk: POST /Invoice/{invoiceId}/render (forceReload false).
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | The invoice's numeric id. |
sevdesk_send_invoice_email Send a draft invoice by e-mail
E-mail a DRAFT invoice to the customer through sevdesk (PDF, or with send_xml the e-invoice XML). Sending finalises it: sevdesk marks it as sent and it cannot be changed afterwards. Without confirm_token it only returns a preview (invoice, totals, recipient, copy, attachment, and whether the address is one of the contact's e-mails) with a confirm_token, and sends nothing. Show the preview to the user; after they agree, call again with the same arguments and that confirm_token. Send once (not in parallel). An invoice that was already sent is refused. sevdesk: POST /Invoice/{invoiceId}/sendViaEm…
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | The draft invoice's numeric id. |
subject * | string | E-mail subject. |
text * | string | E-mail text (HTML allowed). |
to_email * | string | Recipient e-mail address (one). |
confirm_token | string | The confirm_token from the preview, only after the user approved it. Without it nothing is sent; any change of the invoice or of these arguments after the preview needs a new preview. |
copy | boolean | Also send a copy to yourself. |
send_xml | boolean | Attach the e-invoice XML instead of the PDF (e-invoices only). |
sevdesk_mark_invoice_sent Mark a draft invoice as sent
Record that a DRAFT invoice was sent outside sevdesk's e-mail (print, post, e-mail from elsewhere, downloaded PDF). This finalises it: the status changes from draft and sevdesk creates its report bookings. Nothing is delivered to anyone. Without confirm_token it only returns a preview with a confirm_token; call again with it after the user agrees. An invoice already sent is refused. sevdesk: PUT /Invoice/{invoiceId}/sendBy (sendDraft false).
| Parameter | Type | Description |
|---|---|---|
invoice_id * | integer | The draft invoice's numeric id. |
send_type * | string | How it was sent: VPR print, VP post, VM e-mail, VPDF downloaded PDF. |
confirm_token | string | The confirm_token from the preview, only after the user approved. Without it nothing changes. |