MEDIUM story-organisation-admin-portal-organization-admin-009 13 pts
13
Story Points
Medium
Priority
Organisation Admin Portal
Feature

User Story

As a Organization Administrator
I want to configure the connection settings, field mappings, and sync schedules for external integrations such as Xledger (accounting), Dynamics (HLF portal), or Bufdir API
So that data flows automatically between the peer mentor app and our existing back-office systems without manual re-entry, reducing errors and saving coordinator time

Acceptance Criteria

  • Given I open the integration dashboard, when I select 'Xledger', then the setup wizard prompts me for API credentials and walks me through field mapping for expense categories
  • Given I enter integration credentials, when I tap 'Test Connection', then the system performs a health check against the external API and confirms connectivity within 10 seconds
  • Given I configure a field mapping that maps an app field to an invalid Xledger account code, then the field mapping validator surfaces a warning before saving
  • Given integration credentials are saved, when I view the credential management form, then credentials are masked and cannot be retrieved in plaintext from the UI
  • Given a scheduled sync run completes with 3 failed records, when I view the integration health monitor, then I see the failure count, the reason for each failure, and a retry option
  • Given I enable a sync schedule for daily exports at 02:00, when the scheduled time passes, then the sync runs automatically and a summary is recorded in the export history

Business Value

Both HLF and Blindeforbundet require automated data flow to their respective accounting systems (Dynamics and Xledger). Without this, expense claims are manually re-entered into accounting systems — a process that introduces errors, delays reimbursements for volunteers by weeks, and requires dedicated staff time. Automated integration also enables the Bufdir API connection that all four organisations need for automated statutory reporting, which is classified as a MUST HAVE requirement in Phase 3 of the roadmap.