Sync drafts from company
sync_drafts_from_companyCopies the filled fields of the company card to all open documents (invoice drafts and open proformas) the user may edit. A field removed from the card stays on the documents. Issued documents are not changed.
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": {
"company_id": "<company_id>"
},
"name": "sync_drafts_from_company"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | The id of the company, from list_companies. |