HIGH story-accounting-system-integration-organization-administrator-006 3 pts
3
Story Points
High
Priority
Accounting System Integration
Feature

User Story

As a user
I want to enable or disable the accounting system integration for an organization using a feature flag, so that sync only activates when the connector is fully configured and the organization is ready
So that So that organizations can complete integration setup and testing before live financial data flows into their accounting system, and can temporarily disable sync during maintenance or credential rotation

Acceptance Criteria

  • Given an organization administrator on the integration settings screen, when they view the connector status, then a toggle control clearly shows whether the Xledger or Dynamics connector is currently enabled or disabled
  • Given the connector is disabled, when a reimbursement is approved for that organization, then the accounting sync orchestrator does not attempt to sync the record and it is queued as pending
  • Given the connector is enabled after being disabled, when the administrator enables it, then all queued pending records from the disabled period are synced in the next scheduled or manual sync
  • Given a global administrator, when they view the integration management screen, then they can see and toggle the connector enabled/disabled status for any organization
  • Given any toggle action, when the change is saved, then the sync log records the change with the acting user's ID, organization, connector type, and new state
  • Given the connector is disabled, when the administrator attempts to trigger a manual sync, then a clear message explains that the connector is disabled and no sync is performed

Business Value

Feature flag control prevents premature or accidental data transmission to accounting systems during setup, credential changes, or maintenance windows. This is critical for HLF and Blindeforbundet's finance teams, who cannot accept uncontrolled or duplicate entries in their ERP systems. It also supports the incremental rollout model where organizations onboard at their own pace without disrupting live financial workflows.