Case study · 2016 – 2026
vyjadreni.net – a portal for obtaining utility network statements
For a company that obtains statements from utility network operators on behalf of builders and designers, I have been developing a web application in Nette since 2016. It covers the whole journey from an order with the area drawn on a map, through communication with network operators, to invoicing, payment matching and tracking the validity of statements.
Brief
Anyone who wants to build needs, for their project, a statement from every utility network operator in the affected area – and each operator has a different procedure, different deadlines and a different validity period for its statements. The vyjadreni.net service takes this agenda over on the client's behalf. Without a system, that means manually keeping track of many requests for every construction project, digging replies out of e-mails, issuing invoices, checking payments on the account and watching when each statement expires.
The task was to build an application that handles this agenda for many clients at once, with separate roles for customers and staff, and that will keep growing with the service over the long term.
Solution
I designed, and keep extending, an application that covers the whole life cycle of a request:
- Order with a map – the client selects the cadastral area and draws the area of interest on a map; coordinates are converted between WGS84 and S-JTSK (the Czech national coordinate system).
- Requests to network operators – sending out requests and receiving replies, including automatic processing of e-mails with attachments, and merging and stamping PDF documents.
- Client area – an overview of projects and requests, tasks, notes and messages shared with the client, an archive, and export to PDF and spreadsheets.
- Invoicing – advance and final invoices in PDF, payment reminders, sending documents to the accountant, and automatic matching of payments from the bank statement via the Fio bank API by variable symbol (payment reference) and amount.
- Validity tracking – a service that automatically renews statements for 1 or 2 years, and reminders to applicants before validity ends.
- Notifications – e-mails and text messages via an SMS gateway, and company details filled in from ARES, the Czech business register.
For network operators I added a module for recording network elements (routers, antennas, optical fibre) with a map of the routes. For each new request the system itself evaluates whether the drawn area overlaps a recorded network; it can monitor the availability of elements, including response times, and exports network data in the JVF DTM format (the Czech exchange format for the digital technical map).
Most recently I connected a separate order form to the system – orders are received via a REST API and stored before processing, so they are not lost if the import fails.
Technology and architecture
The application is built on the Nette framework with a MySQL database. Maps use the Leaflet library on top of OpenStreetMap base maps, and proj4php handles coordinate conversion to S-JTSK. I generate PDF documents with mPDF and work with existing PDFs via FPDI. Recurring tasks – payment matching, reminders, mail processing, network availability checks – run as scheduled cron jobs. Integrations with external services: the Fio bank API, an SMS gateway, the ARES register and e-mail via IMAP.
Result
The system has been in operation since 2016 and I keep developing it according to operational needs. Manual work that staff used to do – checking payments on the account, sending reminders, tracking the validity of statements and retyping orders from e-mails – is now largely handled by automated tasks. Over ten years the application has gone through a number of extensions, from invoicing to the module for network operators, without ever having to start again.