A rules engine. Every figure that changes from year to year lives in one rates file, and none is written into the code. When the file loads it is checked: a malformed entry is rejected by name, and the published figures are recomputed. Money is kept as exact decimals and rounded per component, never on a sum. Every amount is marked as an estimate until an amount from a rješenje, the Tax Administration’s decision, replaces it.
On top of it sit three things. A public web demo, with a calculator and a walkthrough of the app, which stores nothing: no database, no cookies, no trackers. It says on every page that its amounts are estimates from published rates, not tax advice, and that a rješenje always takes precedence. An iPhone and Mac app, Što dugujem (“what do I owe”). And “Money in”, a command line that imports bank statements: an inflow becomes a receipt only when it matches exactly one open invoice, or when I decide, and everything else waits for review.