Upload receipt
Upload a receipt file as a draft in Belege and return what the recognition found.
MCP tool sevdesk_write → upload_receipt
write
Uploads a PDF, PNG or JPG from a URL to Belege as a draft, the same as dragging the file into the overview. sevdesk then tries to fill date, amount, receipt number, supplier and category, and the response shows what it found. The upload stays a draft: nothing is booked and nobody is notified, so it runs without asking first. Check the category and tax rule in sevdesk before you finish it.
Parameters
| Name | Type | Description |
|---|---|---|
| file_url string required | string | Public or signed URL of a PDF, PNG or JPG file. |
| kind enum required | enum | expense (Ausgabe) or income (Einnahme). |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "sevdesk_write",
"arguments": {
"operation": "upload_receipt",
"arguments": {
"file_url": "https://files.example.com/receipts/cloud-hosting-2026-10.pdf",
"kind": "expense"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"voucher_id": "77120418",
"kind": "expense",
"status": "draft",
"recognized": {
"supplier": "Nordhost Cloud GmbH",
"receipt_number": "NH-2026-1012",
"receipt_date": "2026-10-12",
"total_gross": 39,
"currency": "EUR",
"category": null
}
},
"isError": false
}