Create client
Add a client to your Fakturownia client list.
MCP tool fakturownia_write → create_client
write
Creates a client record. Only name is required. A private person needs company set to false and a last name. Nothing is sent to anyone and the client can be edited or deleted in the app, so create_client runs without asking first.
Parameters
| Name | Type | Description |
|---|---|---|
| name string required | string | Client name. |
| tax_no string | string | Tax number (NIP). |
| email string | string | Email address for sending invoices. |
| street string | string | Street and number. |
| post_code string | string | Postal code. |
| city string | string | City. |
| country string | string | Country code. |
| company boolean | boolean | false for a private person. Default: true. |
| last_name string | string | Needed when company is false. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "fakturownia_write",
"arguments": {
"operation": "create_client",
"arguments": {
"name": "Jane Doe"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"id": 4832,
"name": "Harbor Print Ltd",
"tax_no": "7654321098",
"email": "office@harborprint.example",
"company": true
},
"isError": false
}