Create partner

Add a customer, supplier or person to the register.

MCP tool procountor_write → create_partner

write Confirm

Adds a partner with name, type and optional business ID, email and address. Default products, accounts and dimensions are not set; add them in Registers when needed. It reaches no one, but the partner stays in the register until you edit it there. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_partner
NameTypeDescription
name string required string Partner name.
type string required string customer, supplier or person.
business_id string string Business ID, for example 1234567-8.
email string string Contact email for invoices.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "procountor_write",
    "arguments": {
      "operation": "create_partner",
      "arguments": {
        "name": "Jane Doe",
        "type": "type"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "partner_id": "bp_20418",
    "name": "Studio Kivi",
    "type": "customer",
    "created": true
  },
  "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.