Skip to main content

Setting Up a Company

Setting Up a Company and Restoring from Backup via REST API

Written by Lenka Haringerová

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=Firma

Name of the newly created company

?use-demo=true

The newly created company should be populated with demo data (only for the combination of CZ and PODNIKATELE+PU)

?country=CZ

Legislation of the newly created company (see below)

?org-type=PODNIKATELE+PU

Organization type of the newly created company (see below)

?ic=123

Company registration number (IČO) to be used for basic setup (VAT payer status, registered address, file reference, …)

?vatid=CZ456

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:

?country=

CZ

Czech Republic

SK

Slovak Republic

For country=CZ:

?org-type=

PODNIKATELE+PU

Entrepreneurs – double-entry accounting

PODNIKATELE+DE

Entrepreneurs – tax records

NEZISKOVE

Non-profit organizations

ROZPOCTOVE

Contributory organizations

For country=SK:

?org-type=

PODNIKATELIA+PU

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.

Did this answer your question?