Reimbursement Aggregation Service
Component Detail
Service Layer
medium complexity
backend
0
Dependencies
0
Dependents
4
Entities
0
Integrations
Description
Backend service that computes aggregated reimbursement metrics from approved, rejected, and pending claims. Provides grouped totals and time-series data to power the overview page and its drill-down queries.
reimbursement-aggregation-service
Sources & reasoning
The source repeatedly emphasizes reimbursement handling as a Phase 2 deliverable; an aggregated admin view is the natural counterpart to per-expense approval and the precursor to Phase 3 accounting export. target_release Core Product matches §5 Fase 2.
-
docs/source/likeperson.md · line 40-45Begge organisasjoner har behov for registrering av kilometergodtgjørelse, bompenger, parkering og kollektivt.
-
docs/source/likeperson.md · line 311Reiserefusjon
Responsibilities
- Aggregate reimbursement totals across time periods (month, quarter, year)
- Compute breakdowns by expense type, claimant, local association, and approval status
- Generate time-series datasets for trend chart rendering
- Resolve drill-down queries returning underlying claim records for any aggregate cell
- Expose accounting integration pipeline status when the module is enabled
Interfaces
getOverview(period, filters): OverviewAggregate
getBreakdown(dimension, period): BreakdownResult
getTrendSeries(metric, period): TimeSeries
getDrillDownClaims(aggregateKey): Claim[]
getAccountingPipelineStatus(): PipelineStatus
Related Data Entities (4)
Data entities managed by this component