Send invoice
ghl_send_invoiceSend an existing invoice to your customer via email or SMS. Select channel, sender, and live/test mode to deliver payment requests directly.
Instructions
Send/deliver an existing invoice to the contact via the configured channel(s). This is outward-facing: it emails/texts the customer.
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": "ghl_send_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Delivery channel. | |
| userId | No | Sending user id (GHL requires one). Defaults to GHL_USER_ID, then the first location user. Use ghl_list_users to find one. | |
| liveMode | No | If false, performs a test send without charging. | |
| invoiceId | Yes | ||
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. |