Audience: an engineer joining the Payroll area. This is the ramp path — read in this order and you'll be productive in about a week without drowning in a 15k-line service.
Companion: technical.md is your deep reference; this is the guided path into it.
C# does not do the payroll math. T-SQL does. PayrollService.cs (15,266 lines) and AdminPayrollsService.cs (7,978 lines) orchestrate: validate input, manage workflow, call a stored procedure, read results back. The actual calculation — pro-ration, tax, statutory, gross-up — lives in stored procedures and SQL functions inside per-tenant migration files. If you go looking for "where tax is calculated" in C#, you'll never find it. See rfds/001-sql-computation.md.
ProcedureExecutionContainerRepository.cs and see the Exec("spName", …) wrappers — this is how C# reaches SQL.-2 busy, -3 no eligible employees.spPrepareRegularPayroll / spSubmitRegularPayroll end-to-end.POST Admin/Payrolls/Prepare → AdminPayrollsService → PreparePayroll → spPreparePayroll → spPrepareRegularPayroll. Understand Temp→live commit on Submit.PayrollMonitor lock (and the classic stuck-monitor incident in runbook §1).