Set document contact
set_document_contactAttach a contact to a document — a client for money-in documents, a supplier for money-out documents.
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>",
"client": "<client>"
},
"name": "set_document_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id to attach the contact to (invoice, quote, bill, etc.). | |
| client | Yes | Contact id to attach — a client for money-in documents, a supplier for money-out documents (see list_clients / list_suppliers). |