Skip to content
All work

LiveSaaS · Payroll & HR · Accounting offices

ZEUS Finance

Payroll and HR software for small, medium and large businesses and groups in Cyprus and Greece, and for the accounting offices and accountants who run their payroll. Built from an empty repository and running in production.

Who uses it
Small businesses (up to 50 employees), medium businesses (up to 800), large businesses and groups of companies (800+), and accounting offices and accountants running payroll for their clients.
Built with
  • Next.js16
  • React19
  • TypeScript6
  • PostgreSQL18
  • Prisma7
  • Zod4
  • Tailwind CSS4
  • decimal.js10
  • Argon2id
  • WebAuthn
  • pdf-lib1
  • Recharts3
  • Nodemailer10
  • Vercel Blob
  • Vitest5
  • Playwright1
  • Vercel
  • GitHub Actions
lines of code
289,454lines of code
automated tests
1,741automated tests
database models
136database models
scheduled jobs
22scheduled jobs

Screens

One Next.js application and one PostgreSQL database. Hours and days go in once; contributions, tax, payslips, the SEPA file for the bank, leave balances and the official files for each country come out of the same system.

CompanyA company's home: employees, the month's cost and what waits
PayrollA payroll run with contributions, tax and net pay, checked before approval
LeaveLeave requests and balances
ShiftsThe shift rota, with uncovered shifts from approved leave
File & documentsAn employee's file and documents with their expiry dates
Documents & filesEvery company file by month and for the year, in PDF, Excel, CSV and XML, or in one ZIP
Team & rolesTeam members, roles and approvals
Employee's own pageAn employee's own page: the company's announcements with “I have read it”, the clock to start and finish work, and their expenses to be repaid
Payroll filesAn approved payroll with its totals and its files: payslips (PDF), the payroll in Excel and CSV, the accounting entry, the Social Insurance statement, SISnet, Tax For All and the bank's SEPA file
Deadlines & filingsA company's payment and filing deadlines for the next 12 months, with the amount to pay and the official source of each date
EmployeesA company's employees in one list, with search as you type: job, department, number, salary, start date and status
Shifts: the monthThe rota's month per employee: days on shift, hours, night hours, Sunday and holiday hours, days of leave and attendance hours, with a download for Excel
Office: the monthThe accounting office's month on one page: every client's payroll prepared at once, the checks before approval, all the month's files in one ZIP and each client's month close

Videos

Real screens of the app, from a demo company with invented people. Each video plays by itself while it is on screen, one at a time.

ZEUS Finance Business in 70 secondsLength 1:10Payroll, leave, shifts, the personnel file and the team, as they look in the app.

Payroll

  • PayrollLength 1:04Start it in one click; every payroll shows its status.
  • Documents & filesLength 0:47Every company file by month and for the year: payslips, the payroll, SEPA, contributions, the accounting entry and the official files, or all of them in one ZIP.

People & shifts

  • People & documentsLength 0:53Type a name, job or department and the list filters at once.
  • Shift rotaLength 0:47Every shift in its type's colour; add one with +.

01The problem

Employers in Cyprus and Greece need payroll that is right to the cent and produces the official files each authority asks for, not just a payslip. Accounting offices need every client's month in one place. Both handle the most sensitive data a company has, so the system has to be correct and safe by default.

02What I built

I designed and built ZEUS Finance from an empty repository, and I own all rights to it. It is a Next.js 16 and TypeScript application on PostgreSQL 18 with Prisma 7, deployed on Vercel in Frankfurt.

Payroll follows each country's own rules and official rates. In Cyprus: Social Insurance, GESY, the Social Cohesion, Redundancy and holiday funds, HRDA, the 13th and 14th salary, and the files for SISnet, the monthly PAYE return (TF7) and the annual IR7 for Tax For All. In Greece: e-EFKA contributions, income tax, the Christmas and Easter bonuses and holiday allowance, the monthly ΑΠΔ file and the staff list for ERGANI.

Around payroll sits the HR side: employees and personnel files, documents that expire, leave in days or hours, overtime with gross and net per kind, advances, departments and managers, attendance, announcements, employee accounts, and a team with roles and approvals. Payslips carry the company's logo and go out by email; a SEPA file pays everyone at once.

Packages scale from one company with a few employees to groups of up to 50 companies and 2,000 employees, with custom terms above that. Accounting offices get their own workspace: every client's month on one page, checks before approval and all the files in one ZIP. Accountants are verified against the AADE and ΓΕΜΗ registries in Greece and the ICPAC registers in Cyprus.

Payments run through Worldline (wallee): the checkout, renewal and payment links, refunds, payments on hold and chargebacks, with invoices, credit notes and EU VAT numbers checked live against VIES. The interface is in English and Greek.

03Approach

Every figure comes from what the company entered or imported, or is calculated from it. Nothing is guessed: if the data cannot answer something an official file needs, the file stops and says why. Security is enforced in three places: identity comes only from the session, every service checks roles, permissions and package limits, and the database itself refuses to link one company's data to another's.

04Everything it does

  • Small businesses

    Up to 50 employees

  • Medium businesses

    Up to 800 employees

  • Large businesses and groups

    800+ employees, up to 50 companies

  • Accounting offices and accountants

    Every client's payroll in one place

Payroll for Cyprus and Greece

  • Contributions, tax and net pay with each country's official rates, checked every day against the government sources; Cyprus' carry into each new year by themselves, with the Social Insurance ceiling taken from the authority's own table.
  • Cyprus: Social Insurance, GESY, Social Cohesion and Redundancy funds, HRDA, provident and holiday funds, the 13th salary.
  • Greece: e-EFKA contributions with the year's ceiling, income tax with children and the under-30 rules, Christmas and Easter bonuses, leave allowance.
  • Monthly, daily-paid and hourly-paid staff, overtime per kind with gross and net, advances repaid in instalments, final settlement for leavers; a draft payroll recalculated after any change in the month comes out as a new one would.
  • Checks before approval: missing IBAN or tax number, pay below the minimum wage, a big change from last month, expired documents.
  • Payslips with the company's logo in Greek or English, sent by e-mail, and one SEPA file to pay everyone at once.
  • Bonuses, commissions, cash allowances and benefits in kind entered on the employee, once or every month, paid by the month's payroll on their own payslip line: a bonus taxed as a one-off payment, a benefit in kind taxed and taken back from the net, each in its box of the Cyprus IR7.

Shift rota and attendance

  • A weekly rota for salaried, daily-paid, hourly-paid and temporary staff, with shift types, colours and quick fill.
  • Working-time rules checked on every shift: 11 hours of rest, 48 hours a week, six days in a row, holidays and contract ends.
  • Leave over shifts: before approving, the manager picks which free colleague covers each shift.
  • The payroll pays the rota: daily-paid days, hourly-paid hours and Saturday, Sunday or holiday premiums come straight from the shifts, and the overtime they show fills in with one click.
  • Employees see only the published rota, on their page and by e-mail; attendance by clock or entry.

People and HR

  • Personnel files with every document, its issue and expiry date, and reminders before ID, residence or work permits expire.
  • Leave in days or hours with balances, a team calendar and one-click approval.
  • Departments and managers, announcements to the company or chosen departments with read receipts.
  • Employee expenses repaid through payroll, equipment, joining and leaving checklists, training and certificates.
  • People-only companies: keep HR, shifts and leave in ZEUS Finance while payroll stays in another program.

Employee self-service and requests

  • Each company chooses what employees can do: view only, or ask for leave, changes, forms and expenses with approval.
  • Employment certificates, income confirmations and earnings statements issued with a QR code anyone can verify.
  • Every request reaches the right manager by e-mail, and in the app for whoever switches it on.

Official files for the accountant

  • Cyprus: the monthly SISnet file, the Tax For All PAYE return and the annual IR7, as XML checked against each portal's schema.
  • Greece: the monthly ΑΠΔ for e-EFKA's portal, the supplementary ΑΠΔ and the ERGANI staff list.
  • Year-end earnings certificates, the month's accounting entry and a yearly report, with Excel downloads in Greek and English.
  • Deadlines for contributions, tax and bonuses with the official source and a reminder a week before.
  • The files are prepared for the accountant to check and submit; nothing is sent to the authorities automatically.
  • Documents & files: every file of a company by month and for the year (payslips, payrolls in Excel and CSV, contributions, bank and official files, certificates, IR7, the rota, all its data), each month or the whole year in one ZIP, each role seeing only what it may download.

Accounting offices

  • An accountant's desk with every client company in one list, the month's checks and all the files in one ZIP.
  • Month-end close per client, and clients who send their changes from their own page.
  • Packages for accounting offices, with accountants verified against the AADE and ΓΕΜΗ registries in Greece and the ICPAC registers in Cyprus.

Team, roles and approvals

  • Roles for accountant, HR Manager, HR and department managers, each seeing only what concerns them.
  • Second-person approval for salary changes, payslip edits and deletions, with a full change history.
  • Several companies per account, from one company up to groups of 50 companies and 2,000 employees.

Getting started

  • A public demo with two complete sample companies, no sign-up needed.
  • A free trial of a business or accountant package, once per account and without a card: the customer chooses card or bank transfer at the start, nothing is charged automatically, a period paid during the trial starts when it ends, and when it ends unpaid the account goes back to Free with its data kept and readable.
  • Moving from another payroll program with CSV or JSON, checked first without saving anything.
  • A free employer cost calculator and the full payroll calculation rules, published with their sources.
  • A written proposal for each business with a page of its own: accepted online, the date, time and name kept on record, then paid by card.
  • A new customer's account and package opened in four steps, kept as a draft while it is typed, with the VAT number checked in VIES (without VAT, by reverse charge, for businesses elsewhere in the EU), paid by card link or by bank transfer, with the invoice issued once the payment is in.
  • Signing up asks who is signing up, a business or an accounting office, and starts each in the right place; a short welcome then asks the size and offers a call to set up the payroll, which reaches the team at once as a request.
  • Renewals by payment link, without VAT by reverse charge for businesses elsewhere in the EU whose VAT number VIES confirms when the link is sent.
  • Prices shown before VAT with the total below, payment by card or by bank transfer from the billing page, and founding customers who keep their first list price for good.
  • Prices changed from the admin in one place: typed before VAT, checked so a bigger package never costs less, every price at once by a percentage with a preview, and a history that puts any change back.

Security and reliability

  • Passkeys, authenticator apps and e-mailed codes; companies can require a second step before payroll opens.
  • Account protection set in one place: accounts paused after repeated wrong passwords, sessions that end after a set time and when left idle, e-mails about sign-ins from a new device, an emergency sign-out of every session, and administrative work that can be limited to passkeys or authenticator apps and to approved locations.
  • Ranked administration: staff act only on accounts below their own rank, and deleting an account or changing another person's sign-in details is reserved to super administrators.
  • New passwords checked against known data breaches, sending only five characters of their hash.
  • IBANs, tax and social insurance numbers and personnel files encrypted at rest with AES-256-GCM.
  • The database itself refuses to link one company's data to another's, and the audit log cannot be edited.
  • Servers in the EU (Frankfurt), no ads and no selling of data.
  • A self-check at most every 10 minutes while the platform is in use, and a full check every night and after every release.
  • An “I'm not a robot” check (Google reCAPTCHA) on every public form, from sign-up and sign-in to contact and the newsletter, verified again on the server.
  • Card payments through Worldline (wallee) for the checkout, renewal links, Custom offers, accepted proposals and new customers' links: a payment counts only when Worldline's own API confirms it for exactly what was sold, and signed webhooks are verified.
  • Refunds, payments on hold and chargebacks from the admin: all of a payment or part of it back to the card through Worldline with a credit note, a customer's packages frozen at once for suspected fraud or a chargeback Worldline reports, then released, ended or refunded by the administrator.
  • Payment keys checked with Worldline before they are used and stored encrypted, and every earlier payment still checked and refunded through the Worldline account it was made in, even after the payment setup changes.
  • A customer who has not confirmed their e-mail can do nothing until they do; two automatic reminders with a new link follow, on the 2nd and the 7th day, then none, and the administrator can send one from the customer's card.
  • Every e-mail to a customer opens from their history as they received it, with one-time codes and sign-in links hidden and the copy kept encrypted; all of them are listed on one admin page, next to every e-mail template as it looks.
  • A wrong invoice is cancelled the lawful way: a credit note for its whole amount, no money moving, its number kept for good and a corrected invoice under the next one.
  • A weekly backup restore test: the database's own backup is restored into a separate copy, compared table by table with the live database and deleted, with the result in the admin's diagnostics.
  • Who visited the website, without cookies: date and 24-hour time, the address stored encrypted, place, device, source, the account when signed in and every page, one visitor a day per browser and address, the team's own visits left out; a PDF per day or period, e-mailed daily, weekly, monthly or on a date at 08:00 unless changed, and the details erased after at most 12 months.
  • Hidden Resources files cannot be opened from their address: presentations, decks and videos open only through the app's own checks, by a link that expires, checked every night.

05Recently shipped

  1. Every Resources video open to everyone and played like the home page's spot, and six more app screens for nsiou.dev and meet.zeusfinance.com.cy
  2. A bank transfer starts the package the day the money arrives, free trials an administrator opens with no end date, and Documents & files on the home page, in the decks and in a video
  3. Rota e-mails through a queue so a company of thousands publishes at once, a bonus in its own record of Greece's ΑΠΔ (type 010), and a link to another of one's companies that opens it
  4. Texts that name the current year move on by themselves on 1 January, and a lighter first screen: logos sent at the size they are shown and the promo video's poster as WebP
  5. Bonuses, commissions and benefits paid by payroll, a documents page with every company file by month and year in one ZIP, and the employee number in every export
  6. A free one-month trial with card or bank transfer chosen at the start, prices before VAT, founding customers and prices changed from the admin in one place
  7. Hourly pay from the rota, Saturday premiums for salaried staff and overtime filled in from the shifts; a recalculated draft payroll follows every change of its month
  8. Hidden Resources files can no longer be opened from their address: presentations, decks and videos open only through the app's own checks

06Architecture

  • →Modular monolith: Next.js App Router with Server Components and Server Actions, and a single PostgreSQL 18 database.
  • →Strict layers, enforced by ESLint and server-only imports: pure domain logic (contributions, tax, leave, overtime), platform services, application services, then thin pages, actions and REST handlers.
  • →The /api/v1 REST API and the web interface call the same services, so validation and permissions cannot drift apart.
  • →Amounts are stored as integer cents with a currency; rates use decimal arithmetic. A lint rule forbids parseFloat in calculation and server code.
  • →Official files are built against the authorities' own XML schemas, and the full test suite validates them against those schemas every night when something changed.
  • →Scheduled jobs on Vercel Cron, among them payslip emails, notifications, maintenance and a daily check of the official payroll sources for rate changes.
  • →One Prisma schema with versioned migrations. CI fails on any drift between the two.

07The codebase

289,454 lines of code in 1,545 files. A big number says little on its own, so here is how it is counted, how much of it is the product, how it stays maintainable and what the tests check. Every number on this page comes live from zeusfinance.com.cy, counted at its last release on 10 Nov 2026, 21:05.

How are the lines counted?

A script inside ZEUS Finance counts them at every release, from the same files that go live. Only lines that do something count: blank lines and comments do not. Only the website counts: the libraries it uses, generated code, images and other public files are left out.

  • TypeScript199,209 · 68.8%
  • TSX (React)60,071 · 20.8%
  • JavaScript23,200 · 8.0%
  • SQL3,646 · 1.3%
  • Prisma schema3,080 · 1.1%
  • CSS248 · 0.1%

How much of it is the product itself?

165,504 lines (57.2%) run the product: the server, the screens and the calculations. The rest is the texts in two languages, the tests and the tooling, and the last two never reach the browser.

  • Server, data and security82,069 · 28.4%

    Services, permissions, the database schema and its migrations, e-mails and files.

  • Interface67,220 · 23.2%

    Every screen of the app and of the website.

  • Calculations and payroll rules16,215 · 5.6%

    Contributions, tax, leave, overtime and money, kept apart from the database and the screens.

  • Texts in Greek and English48,472 · 16.7%

    Every word of the interface, the in-app guide and the website, in both languages.

  • Tests47,877 · 16.5%

    Never sent to the browser.

  • Tooling27,601 · 9.5%

    Scripts that make the manuals, presentations and checks. Never sent to the browser.

How easy is it to maintain?

  • Small files: half of them are 81 lines or fewer, and 85.8% are 300 lines or fewer.
  • Strict TypeScript everywhere, including checked access to arrays and objects.
  • Lint with zero warnings allowed, and every file's formatting checked.
  • Lint rules stop interface components from importing server modules, and forbid parseFloat in calculation and server code.
  • 25 production dependencies, each one a deliberate choice.
  • About one line of tests for every 4 lines of application code.
  • 149 versioned database migrations, checked against the schema for drift.

Are the tests automated, and what do they check?

Yes, all of them. 1,741 test cases in 354 files. The secret scan, the type check and the unit tests run on every push; everything else runs every night when something changed, and by hand before a release with a database change. I run them locally before every commit, too.

Unit tests

767

cases in 140 files

The calculations and rules on their own: contributions, tax, net pay, leave, overtime, dates, money and formats.

Integration tests

921

cases in 177 files

The services on a real PostgreSQL database: permissions, each company's data kept apart, the official XML files against the authorities' schemas, billing and imports.

Browser tests

53

cases in 37 files

Real journeys on the built site: signing up and running a Cypriot payroll to the SEPA file, the public demo, a passkey sign-in, requests, inviting a team member, Greek forms and phone layouts.

What they cover

  • Payroll, calculations and official files501 cases · 97 files
  • Packages and billing233 cases · 46 files
  • Website, demo and both languages223 cases · 57 files
  • People, leave, shifts and requests142 cases · 27 files
  • Sign-in, security and permissions134 cases · 23 files
  • Administration and monitoring119 cases · 28 files
  • Companies, accounts and settings118 cases · 20 files
  • Accounting offices61 cases · 9 files
  • Imports, exports and spreadsheets22 cases · 7 files
  • Everything else188 cases · 40 files
Files
1,545
Database models
136
Migrations
149
Scheduled jobs
22

08Stack and versions

TechnologyUsed for
Next.js16App Router, Server Components and Server Actions
React19Interface
TypeScript6Strict mode, end to end
PostgreSQL18Database, with triggers and constraints for isolation
Prisma7Schema, migrations and queries
Zod4Validation of every input
Tailwind CSS4Styling
decimal.js10Exact rates; money is kept in integer cents
Argon2idPassword hashing
WebAuthnPasskeys
pdf-lib1Payslips, certificates and reports as PDF
Recharts3Charts
Nodemailer10E-mail delivery
Vercel BlobDocument storage
Vitest5Unit and integration tests on a real PostgreSQL
Playwright1End-to-end tests in a browser
VercelHosting in Frankfurt, scheduled jobs and deployments
GitHub ActionsCI: audit, secret scan, schema and XML checks, every test

09Integrations

  • →Worldline (wallee) for card payments. Webhooks must carry a valid signature, and every payment is read back from Worldline before anything is granted.
  • →EU VIES for VAT numbers and intra-EU reverse charge.
  • →AADE and ΓΕΜΗ (Greece) and ICPAC registers (Cyprus) to verify accountants.
  • →Upload-ready files for SISnet, Tax For All, e-EFKA and ERGANI. ZEUS Finance prepares them; the employer or accountant submits.
  • →Cloudflare Turnstile or reCAPTCHA on sign-up, Vercel Blob for files.

10Sign-in and security

  • →Argon2id password hashing with transparent re-hashing and a common-password blocklist.
  • →Passkeys (Face ID, Touch ID, Windows Hello, security keys), authenticator apps, emailed codes and recovery codes. Companies can require a second step before payroll opens.
  • →Session tokens are random and only their SHA-256 is stored. Sessions expire, idle out and are revoked on password change.
  • →IBANs, tax and social insurance numbers and personnel files encrypted at rest with AES-256-GCM, each bound to the account that owns it.
  • →Composite foreign keys on every owned table: a bug in application code still cannot link one company's data to another's.
  • →Strict Content Security Policy with per-request nonces, HSTS preload and origin checks on every mutation.
  • →Rate limits stored in PostgreSQL so they hold across all serverless instances.
  • →Append-only audit log. Updates and deletes are rejected by database triggers.

11Administration

  • →Roles mapped to permissions, checked inside every admin service. Denied attempts are audited.
  • →Packages for small, medium and large businesses and for accounting offices, each listing exactly what the app enforces.
  • →Offers, refunds, invoices, credit notes and accountant verification from one admin panel.

12Notes

  • →Screens on this page come from the public demo at zeusfinance.com.cy/demo, which uses two sample companies with invented data. They are refreshed whenever the product changes and load from zeusfinance.com.cy, so they always show the current version.
  • →CI runs a dependency audit, a secret scan, the migration drift check, typecheck, lint, the XML schema checks, and the unit, integration and end-to-end tests against a real PostgreSQL.