Get invoice email draft
get_invoice_email_draftShows the email that would go to the client for a draft or sent document: the address, the subject and the text, with the personal message and the language if given; a reminder reads differently for a sent invoice with a balance. Sends nothing and changes nothing; says whether this server can send email at all.
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": {
"invoiceId": "<invoiceId>"
},
"name": "get_invoice_email_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Another address than the one on the document. | |
| locale | No | Language of the email. Default: the user's. | |
| message | No | A few personal lines at the top, up to 2000 characters. | |
| reminder | No | A reminder for a sent invoice with a balance. | |
| invoiceId | Yes | The invoice or estimate. |