Skip to main content

Payroll Events Documentation

Summary

Payroll publishes four shared integration contracts and consumes 11 upstream projection events. No Payroll domain events are implemented, and end-to-end delivery remains Transitional.

Audience

Payroll and integration developers, QA and support engineers, solution and security architects, and implementation partners.

Overview

This section documents confirmed contracts, mappings, producers, consumers, transactional boundaries, idempotency, ordering, retry, versioning, and integration tests without exposing broker topology or sensitive payloads.

Confirmed inventory

  • Domain events: zero; Not implemented.
  • Outbound integration contracts: four, all schema version 1.
  • Inbound Payroll projection subscriptions: 11.
  • Confirmed downstream consumer services: Document, Notification, Platform.
  • Outbox mapping: shared JSON serializer to Payroll outbox.
  • Exactly-once delivery: not claimed.

Documentation map

Status

The outbox store and processor foundation are present, but an active Payroll-hosted relay invocation, Payroll-specific dead-letter flow, formal partition ordering, and tenant-context propagation require confirmation.

Source References

  • microservices/src/contracts/Events/IntegrationEvent.cs
  • microservices/src/contracts/Events/PayrollCalculatedEvent.cs
  • microservices/src/contracts/Events/PayslipGeneratedEvent.cs
  • microservices/src/payroll-service/Application/PayrollCalculationService.cs
  • microservices/src/payroll-service/Application/PayrollOutputsService.cs
  • microservices/src/shared-kernel/Outbox/IntegrationEventJsonSerializer.cs
  • microservices/src/shared-kernel/Outbox/OutboxMessage.cs
  • microservices/src/shared-kernel/Messaging/OutboxProcessor.cs
  • microservices/src/payroll-service/Infrastructure/Persistence.cs
  • microservices/src/payroll-service/Program.cs
  • microservices/src/payroll-service/Messaging/PayrollReadModelConsumer.cs
  • microservices/src/payroll-service/Domain/PayrollEntities.cs
  • microservices/src/document-service/Messaging/DocumentReadModelConsumer.cs
  • microservices/src/notification-service/Application/EventNotificationResolver.cs
  • microservices/src/notification-service/Messaging/NotificationEventConsumer.cs
  • microservices/src/platform-service/Messaging/PlatformEventConsumer.cs
  • microservices/src/integration-service/Domain/IntegrationEntities.cs

See Also

Keywords

  • Payroll events
  • Integration contracts
  • Transactional outbox

Revision Information

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