Get relation

One relation with address, contacts, email addresses, VAT number, IBAN and payment term.

MCP tool e_boekhouden_read → get_relation

read

Returns the full record of one relation: primary and secondary address, phone, the invoice email address, VAT number, company registration number, IBAN, payment term and whether it is inactive. Use it before invoicing to see where the invoice will go.

Parameters

Parameters: get_relation
NameTypeDescription
relation_id integer required integer Relation ID from list_relations.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "e_boekhouden_read",
    "arguments": {
      "operation": "get_relation",
      "arguments": {
        "relation_id": 1
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "relation_id": 1042,
    "code": "STN001",
    "type": "B",
    "name": "Studio Noord BV",
    "contact": "Eva de Boer",
    "address": "Voorbeeldstraat 12",
    "postal_code": "3511 AB",
    "city": "Utrecht",
    "country": "NL",
    "email": "admin@studionoord.example",
    "email_invoice": "facturen@studionoord.example",
    "vat_number": "NL000000000B01",
    "iban": "NL00BANK0123456789",
    "term_of_payment": 14,
    "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.