Skip to main content

Expense Receipt Events

Summary

Receipt events are Not implemented. Expense integrates with Document Service synchronously and persists only receipt references.

Confirmed boundary

Receipt content ownership remains with Document Service. Upload stores content through the HTTP gateway and then adds an Expense-owned reference. Download uses the stored document identifier. Deletion removes only the Expense reference; it does not request deletion of document content.

Audit and timeline entries for receipt upload and reference removal are not domain or integration events.

Not implemented

  • ReceiptUploadedEvent
  • ReceiptRemovedEvent
  • DocumentStored consumer in Expense
  • DocumentDeleted publisher or consumer
  • Event-driven receipt lifecycle synchronization

Requires confirmation

Document content retention, orphan-reference reconciliation, content-deletion ownership, and any future receipt event contract require confirmation.

Source References

  • microservices/src/expense-service/Application/Commands/ReceiptCommands.cs
  • microservices/src/expense-service/Infrastructure/DocumentReceiptGateway.cs
  • microservices/src/expense-service/Domain/Expense/ExpenseClaim.cs

See Also

Keywords

  • Expense events
  • Receipt Events
  • Integration contracts

Revision Information

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