invoices_send
Send an invoice (or the next part of it) and get a single-use pay link. Who may send is shops.sendPermissions: the owner always may, office for any job, a lead for jobs on their crew, and a field worker for jobs assigned to them, until the owner turns that off. Lines an agent drafted stay unsent until a person who may send invoices sends them. An agent token cannot send those lines. Earlier pay links stop working. Refused with conflict on a Doing Work deposit invoice whose booking ended (shop cancel or no-show). payments_ready false means the shop has no active payments account yet (after a hand-off, connect one with payments.connectLink); the link shows payment isn't available until it does.
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_id": "<invoice_id>"
},
"name": "invoices_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| percent | No | Progress billing: ask for this percent of the invoice total now (capped at the balance). Use instead of amount_minor. | |
| invoice_id | Yes | ||
| amount_minor | No | Amount to ask for now. Defaults to the deposit on the first send, then the balance. | |
| email_customer | No | Also email the customer a branded email with their own pay link, from the shop. Default false: you share pay_url yourself. |