company_create
Provision a new AbraFlexi accounting unit at the server level; supply the company name and optional registration details to set it up.
Instructions
Create a brand-new AbraFlexi company (accounting unit) at the server root.
Unlike every other *_create tool, this does NOT operate on the company configured via ABRAFLEXI_COMPANY - it calls the server-level "/admin/zalozeni-firmy" endpoint, which requires a REST user with server-admin/license-level rights (not just rights on one company).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ic | No | Company registration number (ICO) - auto-fills VAT payer status, registered seat and other fields from the ARES registry. | |
| name | Yes | Display name of the new company. The company identifier (dbNazev, used as {company} in later /c/{company}/... calls) is derived from this automatically. | |
| vatid | No | VAT ID (DIC), if not auto-filled via ic. | |
| country | No | Legislation - "CZ" or "SK". | CZ |
| org_type | No | Organization type, e.g. "PODNIKATELE+PU" (double-entry bookkeeping), "PODNIKATELE+DE" (tax records), "NEZISKOVE", "ROZPOCTOVE" for CZ; "PODNIKATELIA+PU" for SK. | |
| use_demo | No | Seed the new company with demo data (CZ + PODNIKATELE+PU only). | |
| extra_fields | No | Any additional query parameters to pass through. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |