Enable or Disable Accounting Connector for an Organization
Each organization's accounting integration has an enabled/disabled feature flag stored in the integration config repository. When disabled, the accounting sync orchestrator skips the organization when routing post-approval sync jobs, ensuring no unintended data is sent to the accounting system during setup or maintenance. Organization administrators can toggle their own organization's connector on or off. Global administrators can toggle connectors for any organization, which is essential during the onboarding process when provisioning a new member organization. Toggling the flag is logged in the sync log for audit purposes.
User Story
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.