Create relation

Add a customer or supplier with name, address, email, VAT number and IBAN.

MCP tool e_boekhouden_write → create_relation

write

Creates one relation. Only name is required; type defaults to business (B) and the code is generated if you leave it out. It reaches nobody and is undone in one call with update_relation (set inactive), so it does not wait for your OK. Check list_relations first so you do not create a duplicate.

Parameters

Parameters: create_relation
NameTypeDescription
name string required string Company or person name.
type enum enum B (business) or P (private). Default: B.
address string string Primary address.
postal_code string string Primary postal code.
city string string Primary city.
country string string Primary country.
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.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "e_boekhouden_write",
    "arguments": {
      "operation": "create_relation",
      "arguments": {
        "name": "Jane Doe"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "relation_id": 1071,
    "code": "KRT001",
    "type": "B",
    "name": "Kraan Tuinen VOF",
    "inactive": false
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.