Send Customer Invoice
send_customer_invoice[publish] Send an invoice (invoice_id or invoice_uuid) to the customer. platform = email | wp | ig | fb | tw. email: to (defaults to the customer's billing e-mail, then
customer e-mail), email_account_id (a connected mail account), optional cc (comma separated) and subject (defaults to the invoice number); the rendered invoice is the mail body below message.
Chat platforms: chat_id = _chat_id from list_chats (or chat_uuid); the invoice number and total are added to message. Delivered to the real customer.
A DRAFT invoice becomes SENT.
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": {
"platform": "<platform>",
"message": "<message>"
},
"name": "send_customer_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | ||
| to | No | ||
| chat_id | No | ||
| message | Yes | ||
| subject | No | ||
| platform | Yes | ||
| chat_uuid | No | ||
| invoice_id | No | ||
| invoice_uuid | No | ||
| email_account_id | No |