Invoice payload for a work order
work_order_invoice_payloadBuild an invoice_create-ready payload from the lines, with VAT at the shared profile rate. Writes nothing and marks nothing: raise the invoice in the invoice server, then set this order invoiced. Pro.
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": {
"work_order": "<work_order>"
},
"name": "work_order_invoice_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tax_rate | No | VAT percent per line, overriding the shared business profile's default rate | |
| issue_date | No | The invoice issue date, YYYY-MM-DD. Default today | |
| work_order | Yes | The work order id, e.g. WO-2026-0001, or the client name when only one job is theirs |