send_document
Sends a Holded document by email to selected recipients, so you can share invoices, estimates, orders, and other supported records directly.
Instructions
Send a document by email (Holded API v2). Supported docTypes: invoice, salesreceipt, creditnote, receiptnote, estimate, proform, salesorder, waybill, purchaseorder. purchase and purchaserefund are not supported in v2.
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": {
"docType": "<docType>",
"documentId": "<documentId>"
},
"name": "send_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | No | Array of email addresses to send to | |
| docType | Yes | Type of document | |
| message | No | Email message body | |
| subject | No | Email subject | |
| documentId | Yes | Document ID |