Create customer
Add a customer to the customer register with name, email and organisation number.
MCP tool fortnox_write → create_customer
write
Adds one customer to the Fortnox customer register and returns its customer number. Run list_customers first so you do not create a duplicate. create_customer runs without asking first: it sends nothing to anyone and the customer can be edited in Fortnox afterwards.
Parameters
| Name | Type | Description |
|---|---|---|
| name string required | string | Customer name. |
| email string | string | Email address for invoices. |
| organisation_number string | string | Swedish organisation number or foreign tax ID. |
| delivery_method enum | enum | email, e_invoice or print_service. Default: email. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "fortnox_write",
"arguments": {
"operation": "create_customer",
"arguments": {
"name": "Jane Doe"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"customer_number": "1043",
"name": "Fjord Studio AB",
"organisation_number": "556987-6543",
"email": "faktura@fjord.example",
"delivery_method": "email"
},
"isError": false
}