merit_create_customer
Create a new customer in Merit Aktiva by providing a unique name, two-letter country code, and customer type. Required for adding physical persons or foreign companies.
Instructions
Create a Merit Aktiva customer (POST /api/v2/sendcustomer). Name must be unique (max 150). notTDCustomer is required (true for physical persons / foreign companies in EE). countryCode is required (2 chars). Returns { Id, Name }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Required in EE when countryCode is not EE | |
| name | Yes | Unique customer name (required) | |
| No | |||
| regNo | No | Registration number | |
| county | No | ||
| address | No | ||
| contact | No | ||
| phoneNo | No | ||
| vatRegNo | No | VAT registration number | |
| postalCode | No | ||
| bankAccount | No | ||
| countryCode | Yes | ISO country code, 2 chars (required) | |
| currencyCode | No | Currency code (e.g. EUR) | |
| salesInvLang | No | Invoice language (ET, EN, RU, FI) | |
| notTDCustomer | Yes | True for physical persons / foreign companies (EE) | |
| overDueCharge | No | Overdue charge percent | |
| paymentDeadLine | No | Payment deadline in days |