Invoice an estimate
invoice_estimateTurn an estimate (or percent of it — progress billing) into an invoice. On a CONTRACTING business's books it makes a DRAFT in Invoices & tax, with the sales tax worked out for the job site, that a person issues there; on other books it makes an open invoice posted to the books. A deposit already invoiced is taken off once. It is NOT emailed to anybody and no money moves. An estimate whose customer has not chosen an option, or that is held for approval, is refused. Usually queued for the account holder to approve (read staged).
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": {
"estimate_id": "<estimate_id>"
},
"name": "invoice_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| percent | No | Share of the estimate to bill. Default 100. | |
| entity_id | No | Another entity in the same books (ids from `list_entities`). Leave out to use the entity the person is working in. | |
| estimate_id | Yes | From `list_estimates`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The created or updated record's id, when the write was applied rather than staged. | |
| note | No | Why the result was truncated, when it was. | |
| staged | No | TRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done. | |
| draft_id | No | The staged proposal's id, when it was queued rather than performed. | |
| truncated | No | Present and true when the result was too large to return in full. Treat it as a partial answer. | |
| total_available | No | How many rows existed before truncation. |