Skip to main content

Attendance Payroll Integration

Summary

Payroll reads approved attendance outputs, can capture an attendance snapshot, and supplies lock state used by reopen approval.

Audience

Backend developers, payroll integrators, architects, QA engineers, and support engineers.

Integration graph

Approved attendance exposes status, work hours, paid units, overtime, and shortfall concepts. Payroll snapshot capture stores period attendance totals without owning salary calculation. Reopen approval reads Payroll lock state before mutation. Broker publication is asynchronous and not part of Payroll snapshot or lock transactions.

The integration-service configuration identifies high-level Payroll and notification consumers for selected Attendance event types, but consumer idempotency and end-to-end processing are consumer responsibilities. Snapshot replacement semantics, eventual-consistency objectives, reconciliation, and correction after Payroll finalization require confirmation. Payroll formulas are intentionally excluded.

Source References

  • microservices/src/attendance-service/Application/Services/AttendanceQueries.cs
  • microservices/src/attendance-service/Application/Services/PayrollSnapshotService.cs
  • microservices/src/attendance-service/Domain/Attendance/PayrollApprovedSnapshot.cs
  • microservices/src/attendance-service/Application/IPayrollLockClient.cs
  • microservices/src/attendance-service/Infrastructure/AttendanceDbContext.cs

See Also

Keywords

  • Attendance Service
  • Attendance Payroll Integration

Revision Information

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