Case Studies

Digity Hub — Swiss Consulting & Payroll Management Platform

Built entirely in-house by Digity, Digity Hub runs the full lifecycle of Swiss IT consulting and payroll services (portage salarial): mandates, timesheets, Swiss QR-bills, and statutory Swiss salary calculations.


Measured and Verified Quality

Engineered to the highest reliability standards, the platform is continuously audited and tested:

Test Coverage (JaCoCo)
97.9% instructions · 98.3% lines
218/219 classes covered — zero regressions across updates.
Automated Tests
1,191 tests, 0 failures
Full suite runs in ~47 seconds.
Mutation Testing (PIT)
99% threshold
Proof the tests actually catch regressions — not just that they run.
Dependency Injection
100% constructor-based
Zero field-level @Autowired anywhere in the codebase.
E2E Tests (Playwright)
32 scenarios, 10 journeys
Full flows tested under near-real conditions: complete payroll runs, payslip imports, privacy filtering, anonymous simulator.

Under the Hood

  1. 86 immutable Java records
    DTOs and value objects modeled with no mutable state — an entire class of bugs designed out from the start.

  2. Iterative convergence for Swiss payroll math
    Gross salary depends on employer social charges, which themselves depend on gross salary (statutory caps included). Digity resolves this circular dependency with an iterative convergence algorithm — an exact calculation, not an approximation.

  3. Token-quota anti-scraping
    The public wage simulator is protected against automated abuse by a token-bucket quota system.


Core Capabilities

  1. High-Precision Swiss Payroll Engine
    Reconciles employer and employee charges across fixed-salary and portage salarial regimes (with or without advance), cantonal withholding tax tables included. Generates official PDF payslips.

  2. Invoicing & Swiss QR-Bill
    Customer billing in the official Swiss banking QR format, automated settlement tracking.

  3. Timesheets & Mandate Management
    Monthly time entry with automatic Swiss cantonal public-holiday awareness.

  4. Public Wage Simulator
    Instant net Swiss income estimate from a daily rate, open to anyone.


Try the Online Simulator

Launch the Digity Hub Salary Simulator