View Accounting Integration Sync Status Dashboard
The integration status screen provides a real-time overview of the accounting sync pipeline. It displays the connector type (Xledger or Dynamics), the timestamp of the last successful sync, the number of records pending synchronization, the number of records that failed in the last sync attempt, and a color-coded health indicator (green/amber/red). Organization administrators see data for their own organization only. Global administrators see an aggregated view across all organizations with the ability to drill into individual organizations. The sync log repository backs this view with queryable history.
User Story
Acceptance Criteria
- Given an organization administrator viewing the integration status screen, when the page loads, then it displays the active connector type, last sync timestamp, pending record count, and error count for their organization
- Given a global administrator viewing the integration status screen, when the page loads, then it displays a summary across all organizations with per-organization rows showing connector type and health status
- Given the last sync completed without errors, when the status is displayed, then the health indicator is green and error count is zero
- Given one or more records failed in the last sync batch, when the status is displayed, then the health indicator is amber and the error count reflects the number of failed records with a link to error details
- Given no sync has occurred in the last 24 hours when a sync was expected, when the status is displayed, then the health indicator is red and a warning message is shown
- Given the status screen is open, when a sync completes in the background, then the displayed statistics update without requiring a manual page refresh
Business Value
Visibility into sync status allows administrators to proactively detect integration failures before they cause reconciliation gaps between the app's approved records and the accounting system. For finance teams at Blindeforbundet and HLF, this dashboard replaces manual reconciliation checks and provides confidence that the automated pipeline is functioning correctly.