Skip to main content

Expense Payroll Dependency Operations

Summary

Payroll participates in two distinct paths: compatibility approval checks whether the claim period is frozen, while lifecycle events update the Payroll-owned approved-expense projection.

Approval guard success does not prove event delivery or projection freshness. Diagnose the claim outcome, Expense outbox status, Payroll processed-event evidence, projection occurrence/status, and calculation eligibility separately.

Frozen runs cannot be recalculated. Later projection changes do not rewrite an already-frozen run through the consumer.

Requires confirmation

Reimbursement-period governance, projection reconciliation ownership, late-event handling, corrections, and frozen-period exception policy require confirmation.

Source References

  • microservices/src/expense-service/Application/Compatibility/ExpenseCompatService.cs
  • microservices/src/expense-service/Infrastructure/PayrollFrozenGuard.cs
  • microservices/src/payroll-service/Messaging/PayrollReadModelConsumer.cs
  • microservices/src/payroll-service/Application/PayrollCalculationService.cs

See Also

Keywords

  • Expense operations
  • Payroll Dependency

Revision Information

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