create_customer
Add a new Fakturia customer using an email address and optional contact, billing, and payment details; returns the created customer object with its assigned customer number.
Instructions
Create a new customer in Fakturia. At minimum an email address should be provided. Returns the newly created customer object including the assigned customer number.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email": "<email>"
},
"name": "create_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Primary email address of the customer. Required for creating a new customer. | ||
| locale | No | Locale for the customer (e.g. "de_DE", "en_US"). Controls language of invoices and communications. | |
| mobile | No | Mobile phone number. | |
| phone1 | No | Primary phone number. | |
| phone2 | No | Secondary phone number. | |
| dueUnit | No | Payment due period unit (e.g. "days", "months"). | |
| euTaxId | No | EU VAT identification number (e.g. "DE123456789"). | |
| telefax | No | Fax number. | |
| lastName | No | Last name of the customer. | |
| noteText | No | Internal note or comment about the customer. Not visible to the customer. | |
| birthdate | No | Date of birth in ISO 8601 format (YYYY-MM-DD). | |
| duePeriod | No | Payment due period value (combined with dueUnit, e.g. 14 days). | |
| firstName | No | First name of the customer. | |
| taxNumber | No | Tax number (national tax ID). | |
| taxRegion | No | Tax region for the customer (determines tax rates applied). | |
| salutation | No | Salutation / title (e.g. "Herr", "Frau", "Mr.", "Ms."). | |
| websiteUri | No | Website URL of the customer. | |
| companyName | No | Company name, if the customer is a business. | |
| orderNumber | No | Customer-side order or reference number to include on invoices. | |
| customFields | No | Custom fields as key-value pairs for storing additional metadata on the customer. | |
| emailInvoice | No | Whether invoices should be sent via email. | |
| paymentMethod | No | Default payment method for the customer (e.g. "invoice", "sepa_debit"). | |
| postalAddress | No | Postal / mailing address of the customer. | |
| bankAccountBic | No | BIC / SWIFT code of the customer bank account. | |
| billingAddress | No | Billing address of the customer. If not set, the postal address is used for billing. | |
| bankAccountIban | No | IBAN of the customer bank account. | |
| dunningDisabled | No | Whether dunning (payment reminder) processing is disabled for this customer. | |
| bankAccountOwner | No | Name of the bank account owner. |