Via the REST API, it is also possible to create companies or restore from a backup.
PUT /admin/zalozeni-firmy
When creating a company, the following parameters can be specified:
| 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 specified. If ic is also provided, some additional details will be filled in from ARES when the company is created.
The possible parameter values are:
|
| Czech Republic |
| Slovak Republic | |
For | ||
|
| Businesses – double-entry accounting |
| Businesses – tax records | |
| Non-profit organizations | |
| Subsidized organizations | |
For | ||
|
| Businesses – double-entry accounting |
As usual, please note that values must be correctly URL-encoded. The response for a successfully created company is 201, with the company URL in the Location header.
