invoices_publish
Publishes a draft invoice, converting it into a normal invoice; requires draft invoices enabled, and cannot publish refund drafts.
Instructions
Publish a draft invoice so it becomes a normal invoice. Needs draft invoices turned on for the account (404 otherwise). Refunds cannot be drafts, so Syncro refuses to publish them.
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": {
"id": "<id>"
},
"name": "invoices_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Draft invoice ID |