Skip to content
/ rzp Public

Helper code for integrating Trade Licensing Register of the Czech Republic

Notifications You must be signed in to change notification settings

f4z4on/rzp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RŽP

RŽP stands for “Registr živnostenského podnikání” (officially translated to English as the Trade Licensing Register). It is a partially public database of business entities in the Czech Republic operated by the Ministry of Industry and Trade. The system was originally developed by ICZ a.s. for the government.

Fun fact is that an official name of the system is actually “Živnostenský rejstřík” which is one of those bizarre moments when you just don’t get what the hell are those people paid by you doing. Not to mention there are four major systems operated by different branches of the Czech government providing public information about business entities in the country.

There is a documentation describing public API to RŽP. But it is only in Czech and there are more than 30 pages of XML Schema code in PDF which can’t be just copied and pasted elsewhere. So, here we are, fixing government’s and major vendor’s incompetency.

There’s a simple HTML form which serves as a way to submit XML requests (yeah, this is the API). There are example XML requests for general query and subject’s details info. Finally, there are XML Schema sources which can help you validate your requests and responses from the system.

Your request can be validated with xmllint or similar tool, for example:

xmllint --schema request.xsd YOUR_XML_REQ

The schemas are copied as-is from the official documentation. I will provide English comments later (hopefully). The API is versioned and this repo covers only the version 2.8 which is in use since 30 September 2017 and which is the only available version since 1 January 2018. The API version 2.8 was changed without any notice on 1 January 2023 by enforcing HTTP over TLS (HTTPS).

License

There is no license mentioned in the documentation created by ICZ so it falls back to the Czech IP laws which means I am relatively sure you and I can copy as we like for our own purposes. If anything, it is my fault for publishing these files here without asking ICZ first—you are safe unless you are publishing them too. I will clear this issue later (hopefully).

You can use this code for whatever you like, I don’t care.

About

Helper code for integrating Trade Licensing Register of the Czech Republic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages