Send document
Email a finalised invoice or quote to the customer with its PDF attached.
MCP tool lexware_office_write → send_document
write Confirm
Sends the finalised document from your own sender address with your email text template, to the email address saved on the contact or the one you pass. A draft cannot be sent. The customer receives it at once. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| document_id string required | string | Document ID from list_documents or create_invoice. |
| to string | string | Recipient email. Default: the email saved on the contact. |
| message string | string | Email text. Default: your saved email text template. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "lexware_office_write",
"arguments": {
"operation": "send_document",
"arguments": {
"document_id": "document_8c41d2"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"document_id": "d_c44e19",
"number": "RE1043",
"sent_to": "buchhaltung@nordlicht.example",
"sent_at": "2026-10-14T09:12:00+02:00"
},
"isError": false
}