It is also possible to create companies or restore from a backup via the REST API.
PUT /admin/zalozeni-firmy
The following parameters can be specified when creating a company:
| Name of the newly created company |
| The newly created company should be populated with demo data (only for the combination of |
| Legislation of the newly created company (see below) |
| Organization type of the newly created company (see below) |
| Company registration number (IČO) to be used for basic setup (VAT payer status, registered address, file reference, …) |
| Tax identification number of the company |
The only mandatory field is name. If the default values are not suitable, country and org-type must also be provided. If ic is also specified, some additional details will be retrieved from ARES during company creation.
The possible parameter values are:
|
| Czech Republic |
| Slovak Republic | |
For | ||
|
| Entrepreneurs – double-entry accounting |
| Entrepreneurs – tax records | |
| Non-profit organizations | |
| Contributory organizations | |
For | ||
|
| Entrepreneurs – double-entry accounting |
As usual, please note that values must be properly URL-encoded. The response for a successfully created company is 201, with the company URL in the Location header.
