Create a customer
Add a company or individual customer to your Pennylane customer list.
MCP tool pennylane_write → create_customer
write Confirm
Creates a customer and returns its customer_id for create_customer_invoice. Search with list_customers first, because this call does not check for a customer with the same name. It reaches nobody: the customer is not told. It changes your accounting data, so it asks for your OK. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| name string required | string | Company name, or the full name of an individual. |
| type enum | enum | company or individual. Default: company. |
| email string | string | Email address the invoice is sent to. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "pennylane_write",
"arguments": {
"operation": "create_customer",
"arguments": {
"name": "Jane Doe"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"customer_id": 4058,
"name": "Bureau Nord",
"type": "company",
"email": "compta@bureau-nord.example"
},
"isError": false
}