Honorarium Log Repository
Component Detail
Data Layer
low complexity
backend
0
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Append-only repository that records every threshold-crossing event for a peer mentor, including the threshold crossed, the timestamp, and the applicable honorarium rate. Provides the auditable trail required by internal finance controls and supports export to accounting systems.
honorarium-log-repository
Responsibilities
- Append a new honorarium log entry when a threshold crossing is detected
- Query log entries by peer mentor, organisation, or reporting period
- Support export queries for accounting and Bufdir reporting
Interfaces
void logThresholdCrossing(HonorariumLogEntry entry)
List<HonorariumLogEntry> getEntriesByUser(String userId, DateRange range)
List<HonorariumLogEntry> getEntriesByOrg(String orgId, DateRange range)