Invoice billable work
invoice_billable_workPut chosen unbilled work on ONE new invoice for that customer, posted to the books. Call list_billable_work for the customer first and use its ids; a time entry with no rate needs one in rates. Usually queued for the account holder to approve (read staged). It creates and posts the invoice; it does NOT send it to the customer, and no money moves.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "invoice_billable_work"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | ||
| rates | No | Hourly rate by time entry id, e.g. {"4412": 95}. Required for a time entry with no rate on file. | |
| due_date | No | ISO date. | |
| time_ids | No | ||
| entity_id | No | Another entity in the same books (ids from `list_entities`). Leave out to use the entity the person is working in. | |
| tax_total | No | ||
| group_time | No | One invoice line per time entry (default), or one per job. | |
| customer_id | No | ||
| expense_ids | No | ||
| customer_ref | No | For a job's customer who is not in the books yet (list_billable_work's customer_ref) — they are added as a customer. | |
| invoice_date | No | ISO date. Default today. | |
| bill_line_ids | No | ||
| customer_email | No | Older form of customer_ref; prefer customer_ref. | |
| markup_percent | No | Override the markup on expenses and bill lines. |
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. |