Update relation
Change fields of a relation, or set it inactive.
MCP tool e_boekhouden_write → update_relation
write
Changes only the fields you pass and leaves the rest. Set inactive to true to retire a relation. It reaches nobody and the old values can be put back with another call, so it does not wait for your OK. Invoices already created keep their data.
Parameters
| Name | Type | Description |
|---|---|---|
| relation_id integer required | integer | Relation ID from list_relations. |
| name string | string | New name. |
| address string | string | Primary address. |
| postal_code string | string | Primary postal code. |
| city string | string | Primary city. |
| email string | string | Email address. |
| email_invoice string | string | Email address for invoices. |
| vat_number string | string | VAT number. |
| iban string | string | IBAN. |
| term_of_payment integer | integer | Default payment term in days. |
| inactive boolean | boolean | true to retire the relation. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "e_boekhouden_write",
"arguments": {
"operation": "update_relation",
"arguments": {
"relation_id": 1
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"relation_id": 1071,
"name": "Kraan Tuinen VOF",
"email_invoice": "boekhouding@kraantuinen.example",
"inactive": false
},
"isError": false
}