User Interface medium complexity frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

Admin web portal page where organization administrators configure accounting system credentials, endpoints, and field mappings. Provides forms for selecting the accounting system type and entering connection details, and surfaces synchronization errors reported by the gateway.

Feature: Accounting API

accounting-config-page

Sources & reasoning

Tied to Fase 3 in §5 ("Regnskapsintegrasjon ... følger derfor Fase 3"), which maps to the Growth & Engagement phase name. Driven by HLF and Blindeforbundet's stated need for direct API integration with their existing accounting systems.

Responsibilities

  • Render forms for accounting system selection and credential entry
  • Validate endpoint URLs and required fields before submission
  • Display field mapping configuration between Meander expense fields and accounting system fields
  • Show synchronization status and error messages from past sync attempts
  • Trigger test-connection requests to verify configuration

Interfaces

loadConfig(orgId): AccountingConfig
saveConfig(orgId, config): SaveResult
testConnection(config): ConnectionTestResult
viewSyncErrors(orgId): SyncErrorList