Skip to main content

Setting Up a Company

Setting Up a Company and Restoring from a Backup via REST API

Written by Lenka Haringerová

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

?country=

CZ

Czech Republic

SK

Slovak Republic

For country=CZ:

?org-type=

PODNIKATELE+PU

Businesses – double-entry accounting

PODNIKATELE+DE

Businesses – tax records

NEZISKOVE

Non-profit organizations

ROZPOCTOVE

Subsidized organizations

For country=SK:

?org-type=

PODNIKATELIA+PU

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.

Did this answer your question?