A payroll portal for a multi-subsidiary pay cycle
A worked design for one payroll portal that takes time data from spreadsheets, a legacy app and a SaaS tool, reconciles it on ingest and keeps an audit trail.
- Designed for
- industrial-services group with several subsidiaries
- Typical build
- 10 weeks
- Published
- 2026-01-15
- Stack
- ReactTypeScriptAWS LambdaDynamoDBCognitoEventBridgeS3QuickBooks APIADP Workforce Now
Concept study
A concept: one payroll portal, assembled.
Six layers between a clock-out and an approved pay batch. Scroll to take the design apart.
Layer 1 of 6 · Time sources
Three systems, three formats, one pay cycle.
A desktop application from a decade ago, spreadsheets emailed to a shared inbox, and a SaaS tool whose API support has quietly lapsed.
Layer 2 of 6 · Ingest adapter
Every source is normalised once, at ingest.
One adapter per source writes the same canonical time-entry record: a strict CSV upload validator, a polled API, a subscribed webhook. Anything that can't be normalised stops with a clear error.
Layer 3 of 6 · Canonical record
Past ingest, nothing knows where a record came from.
Each record shows its source, when it last changed and a diff against the previous import. A reconciliation job flags likely duplicates, gaps and out-of-range values.
Layer 4 of 6 · Accounting and payroll
Exports carry idempotency keys, so a retry never double-pays.
Finance sees each subsidiary's batch with its reconciliation status and an export to the accounting and payroll systems. The bank transfer stays inside the payroll provider, with a signed manifest.
Layer 5 of 6 · Supervisor approval
Supervisors approve batches, not rows, unless something is flagged.
The supervisor view is the only place time entries are reviewed, approved or flagged. Employee corrections go to this queue, never straight into a batch.
Layer 6 of 6 · Audit table
Every state change writes to a write-only audit table.
Encrypted at rest and separate from the application. Finance can query it read-only, which is how an auditor's question gets answered.
The design, assembled
That is the design. Here is how we would measure it.
A concept study: there is no client, quote or result behind it, only the design and what it would be judged on.
How we'd measure it
Read the full write-up
The problem
Picture a group that runs payroll across several operating subsidiaries, each with its own time tracking: a desktop application from a decade ago, spreadsheets emailed to a shared inbox, and a SaaS tool whose API support has quietly lapsed. Every pay cycle, a rotating group of finance and HR staff reconciles it all by hand.
The literal ask is "consolidate the time-tracking inputs into one approval queue." The real one is to stop spending most of finance's week on reconciliation.
The constraint
None of the sources has a clean data model. The SaaS export has optional columns the docs don't explain; the spreadsheets carry years of one-off formatting; the desktop app emits fixed-width text. They don't even agree on what a pay period is.
The rule that makes this tractable: no schema transformations at runtime. Every source is normalised exactly once, at ingest, into a canonical record type. Anything that can't be normalised stops at the supervisor with a clear error before it becomes a payroll problem.
The design
One adapter per source writes the same canonical time-entry record: a strict CSV upload validator for sources without an API, scheduled polling for the undocumented one, a subscription to the SaaS tool's webhook. A reconciliation job then matches entries across subsidiaries and flags likely duplicates, gaps and out-of-range values.
Supervisor view is the only place time entries are reviewed, approved or flagged. Each record shows its source, when it last changed and a diff against the previous import. Supervisors approve batches, not rows, unless something is flagged.
Finance view shows each subsidiary's batch with reconciliation status (matched, unmatched, exception), a running total against the prior period and an export to the accounting and payroll systems. Exports carry idempotency keys, so a retry never double-pays.
Employee self-service opens a short correction window after each cycle. Corrections go to the supervisor queue, never straight into a batch. Every state change writes to a separate, write-only audit table encrypted at rest, which finance can query read-only.
The bank transfer stays inside the payroll provider: the portal produces a signed manifest that the payroll officer uploads there. The portal owns data integrity; money movement stays in the provider's audited environment.
Why a concept study
This is a worked design for a common problem, not a client engagement: there is no client, quote or result behind it. If your pay cycle looks like this, we'll scope it against your systems after a discovery call.
How we'd measure it
Agreed with you during discovery and reported monthly after launch.
- Time from clock-out to an approved pay batch
- Reconciliation errors per cycle
- Manual hours spent per pay period
- Time to answer an auditor's question
Talk to us about a similar project.
A 1–2 week Discovery Sprint. A working prototype and a fixed-price quote before we build.
Related: Portals & internal tools · forward deployed engineer
Start a project