Skip to main content

Payroll API Documentation

Summary

Payroll Service exposes 54 verified HTTP operations across native direct/shadow, compatibility, and internal/foundation surfaces. Payment execution is outside this API.

Audience

Frontend/backend developers, QA and support engineers, architects, security reviewers, and implementation partners.

Overview

API scope and ownership

The API covers Payroll runs and calculation, reversible freeze, periods and projections, advance/overtime compatibility inputs, payslips and exports, reports, audit/timeline evidence, salary components, diagnostics, and monolith-compatible Salary/Payroll contracts.

  • Direct / Shadow: 16 operations.
  • Compatibility: 31 operations.
  • Internal / Foundation: 7 operations.
  • Primary: no separate Primary-only contract is implemented.

Business operations expect bearer and tenant context through the gateway. Complete service-local authentication, role authorization, and uniform missing-tenant behavior Require confirmation. Gateway ownership remains Transitional between the monolith and Payroll Service.

Verified exclusive endpoint inventory

Documentation familyUnique operations
Payroll Runs API3
Payroll Calculation API1
Payroll Freeze and Unfreeze API2
Payroll Periods API1
Payroll Workforce API1
Payroll Input Projection APIs2
Advance and Recovery Compatibility API4
Payroll Overtime Compatibility API2
Structured Payslip API1
Payslip PDF API1
Payroll Run CSV Export API1
Bank Export API2
Payroll Timeline and Audit API2
Payroll Reports API7
Payroll Diagnostics API3
Compatibility Payroll and Salary API15
Compatibility Payslip APIs2
Compatibility Salary Components API4
Total54

Capability counts can overlap exclusive families: 3 calculation triggers, 6 freeze/unfreeze commands, 2 period/lock queries, 1 workforce query, 4 salary-component operations, 0 standalone adjustment operations, 4 advance operations, 3 structured/compatibility payslip operations, 2 PDF-capable operations, 2 bank-export operations, 3 audit/timeline operations, 3 diagnostics, 31 compatibility operations, and 7 internal/foundation operations.

Documentation map

Current limitations

No standalone Payroll-adjustment API, run delete operation, period mutation API, API version, committed OpenAPI artifact, payment execution/reconciliation API, accounting API, Document Service storage API, payslip history API, or formal Payroll .NET test project is confirmed. Native and compatibility lifecycle/error behavior differs.

Source References

  • microservices/src/payroll-service/Program.cs
  • microservices/src/payroll-service/Api/PayrollRunEndpoints.cs
  • microservices/src/payroll-service/Api/PayrollOutputEndpoints.cs
  • microservices/src/payroll-service/Api/PayrollFoundationEndpoints.cs
  • microservices/src/payroll-service/Api/PayrollCompatEndpoints.cs
  • microservices/src/gateway-api/Program.cs

See Also

Keywords

  • Payroll API
  • Payroll API Documentation

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-15
  • Review cycle: Quarterly