Expense Type Config Page
Component Detail
User Interface
medium complexity
frontend
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Admin portal page that allows organisation administrators to manage their expense type catalogue, configure mutual-exclusivity groups, set per-type documentation requirements, and define approval thresholds. Provides a structured form-based interface with live validation feedback, and supports seeding from the platform default catalogue during initial onboarding.
expense-type-config-page
Responsibilities
- List all expense types configured for the organisation
- Allow adding, editing, and deactivating expense types
- Configure mutual-exclusivity rule groups between types
- Set required-documentation flags and approval amount thresholds per type
- Trigger seed from default catalogue
Interfaces
loadExpenseTypes(orgId: string)
addExpenseType(type: ExpenseTypeConfig)
editExpenseType(typeId: string, updates: Partial<ExpenseTypeConfig>)
deactivateExpenseType(typeId: string)
saveExclusivityGroup(group: ExclusivityGroup)
setDocumentationRequirement(typeId: string, required: boolean)
setApprovalThreshold(typeId: string, amountNok: number)
seedDefaultCatalogue()
previewMobileRenderResult()