Send an invoice
send_invoiceCreate one invoice per currency for a client's sessions (by id or by calendar month) and email it. Returns a preview first and only acts when confirm=true. No money moves through the assistant. The invoice only sends a request the client pays on Appty.
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": {
"client_id": "<client_id>"
},
"name": "send_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Calendar month YYYY-MM in the provider's time zone. Uninvoiced sessions in that month. | |
| confirm | No | Set true only after the caller has seen a preview and wants it done. Anything else, including the string "true", is a preview and changes nothing. | |
| client_id | Yes | ||
| booking_ids | No | Sessions to put on the invoice. Pass this or period. |