Beleg per E-Mail senden
send_documentAusgestellten Beleg als PDF per E-Mail senden; bei Schweizer Konten liegt der QR-Zahlteil als zweiter Anhang bei (payment_slip). Ohne eigenes SMTP über brandbill (Reply-To: Rechnungs-E-Mail); sonst Absenderkonto bzw. Standardkonto.
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": {
"id": "<id>",
"to": "<to>",
"subject": "<subject>",
"body": "<body>"
},
"name": "send_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| id | Yes | Beleg-ID | |
| to | Yes | ||
| body | Yes | ||
| subject | Yes | ||
| payment_slip | No | Schweiz: QR-Zahlteil mitgeben (true) oder weglassen (false). Ohne Angabe gilt die Vorgabe des Belegs (hide_payment_qr) | |
| mail_account_id | No |