HIGH story-accounting-system-export-and-integration-organization-admin-005 5 pts

User Story

As a Organization Administrator
I want to see the current health status of the accounting system integration and receive alerts when the connection breaks or an export fails
So that I am not left unaware of silent failures that could result in missed reimbursements going unnoticed for weeks

Acceptance Criteria

  • Given the accounting integration is configured, when the coordinator opens the integration dashboard, then they see a health indicator showing Connected, Degraded, or Error with a last-checked timestamp
  • Given the accounting system returns an authentication error during a scheduled health check, when the error is detected, then the coordinator receives an in-app notification and the dashboard shows an Error state with guidance to check credentials
  • Given an export edge function call fails due to a network timeout, when the failure is logged, then the export run is marked as failed in the export-run-repository and the coordinator is notified
  • Given the connection is restored after an outage, when the next health check succeeds, then the status automatically transitions back to Connected without manual intervention
  • Given a coordinator dismisses a failure alert, when they later open the integration dashboard, then the failure remains visible in the health history until the underlying issue is resolved

Business Value

Silent integration failures mean reimbursements silently accumulate without being processed, leading to frustrated volunteers and cash-flow issues for organizations. Proactive health monitoring turns invisible failures into actionable alerts, protecting the reliability of the reimbursement pipeline and maintaining volunteer trust in the organization's ability to compensate them promptly.