Upload receipt
Upload a supplier invoice or receipt file for bookkeeping. It lands in "Zu prüfen".
MCP tool lexware_office_write → upload_receipt
write
Uploads one file as a receipt. Lexware Office runs its automatic recognition and saves it with the status Zu prüfen; it is not booked until someone clicks Beleg erfassen. It reaches no one and can be deleted in the app, so it does not ask for your OK. Returns the fields the recognition filled in.
Parameters
| Name | Type | Description |
|---|---|---|
| file_name string required | string | File name with extension, e.g. invoice.pdf. |
| file_url string required | string | HTTPS URL of the PDF or image to upload. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "lexware_office_write",
"arguments": {
"operation": "upload_receipt",
"arguments": {
"file_name": "Hetzner-2026-10.pdf",
"file_url": "https://files.example.com/inbox/Hetzner-2026-10.pdf"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"receipt_id": "r_21b8c0",
"file_name": "Hetzner-2026-10.pdf",
"status": "to_check",
"contact": "Hetzner Online GmbH",
"receipt_number": "R0023981",
"date": "2026-10-01",
"amount_gross": 24.99,
"currency": "EUR"
},
"isError": false
}