Doktally — Invoicing, time billing and VAT for small businesses

Summary

My own multi-tenant SaaS for freelancers, contractors and small companies in Bulgaria: time tracking, contracts, billing, invoices, bank statements, purchases and VAT reporting in one place. Six Spring Boot services behind a gateway and an Angular client, shipped as versioned releases to a production Docker stack. I design, build and run all of it.

Request a demo - it's free :)

Description

Doktally covers the commercial life of a small company: clients and their contracts, the time worked for them, what that time is worth, the invoices that bill it, the bank payments that settle them, purchases and supplier subscriptions, and the VAT that follows. Every number on an invoice can be traced back to the hours, the rate and the contract it came from.

It is built for the Bulgarian setting: it imports the VAT ledgers and declarations filed with the National Revenue Agency (НАП) and checks them against each other, checks VAT numbers in VIES, recognises Bulgarian banks from the IBAN, uses BNB exchange rates, keeps amounts in several currencies and handled the 2026 switch from leva to euro. Documents are issued in the client's language.

I started it in March 2024 and it reached version 1.0 in spring 2026. Since then it has grown a full billing engine (contracts, fixed fees, retainers, recurring charges), bank-statement matching and a secure invoice link for clients, and since October 2026 every deployment is a tested release of independently versioned services.

Role

Founder / Product Engineer

Domain

Invoicing, VAT, bookkeeping, time tracking

Problem

Small Bulgarian companies usually split their admin across an invoicing tool, spreadsheets for VAT, a separate time tracker, a folder of contracts and the accountant's inbox. The same numbers are typed in several places and rarely agree.

The hard part is not printing the invoice. It is knowing which hours are billable, at which rate on which day, under which contract, and making sure nothing is billed twice or forgotten. Off-the-shelf tools either stop at issuing the invoice or are full ERP systems that are too heavy for a company of one to ten people.

Solution

One application with separate services for each area, sharing identity, licensing and a common gateway.

This includes:

Outcome

Version 1.0 in spring 2026, then a billing engine, bank matching and client-facing invoice links on top: six services, a production Docker Compose stack with automatic HTTPS, backups and monitoring, and a demo with fictional companies for showing it to new users.

Key metrics

Technologies

Java 25, Spring Boot 4, Spring Cloud Gateway, Angular 22, PrimeNG, ECharts, MongoDB, RabbitMQ, Keycloak, Docker, Caddy, Prometheus

Timeline

2024-03 – Present

Use cases