send_invoice
Send an existing draft invoice to the debtor via email or mail, using the invoice code. Optionally specify the send method or use the debtor's default.
Instructions
Send an existing draft invoice to the debtor.
Args: invoice_code: e.g. '[concept]0001' for a draft. send_method: optional, e.g. 'email' or 'mail'. Omit for the debtor's default.
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": {
"invoice_code": "<invoice_code>"
},
"name": "send_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| send_method | No | ||
| invoice_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |