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:

Codebase Size
339 files · 9,437 lines of code
Swiss payroll engine, invoicing, PDF generation, security, i18n. Every metric below is measured on this codebase.
Test Coverage (JaCoCo)
99.7% instructions
99.6% lines
99.6% branches
325/326 classes covered — zero regressions across updates.
Automated Tests
1,921 tests, 0 failures
Full suite runs in ~80 seconds.
Mutation Testing (PIT)
99% threshold
Proof the tests actually catch regressions — not just that they run: PIT injects hundreds of bugs into the code, and the suite catches virtually all of them.
Dependency Injection
100% constructor-based
Zero field-level @Autowired anywhere in the codebase.
E2E Tests (Playwright)
56 scenarios · 3 screen sizes
Full flows tested under near-real conditions (complete payroll runs, payslip imports, privacy filtering, anonymous simulator), with layout checked on desktop, phone and tablet. 0 failures.

Under the Hood

  1. 142 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


AI Development — Model Integration in Your Projects

Digity uses artificial intelligence to accelerate development and reduce delivery costs — with no compromise on quality: the same test coverage, the same architectural rigour apply. AI tooling adapts to client requirements.

Depending on project requirements:

  • Swiss-hosted models — LPD-compliant cloud providers, for projects requiring data sovereignty without dedicated infrastructure.
  • Local models, on Digity's machines — no external connection, zero data leakage, for projects with strict confidentiality requirements.

Models used are open source and auditable (Llama, Mistral, Qwen and similar) — integrated via an OpenAI-compatible API into your existing stack, with no rewrite required.