HIGH story-bufdir-reporting-export-coordinator-005 8 pts
8
Story Points
High
Priority
Bufdir Reporting & Export
Feature

User Story

As a Coordinator
I want to submit the validated report directly to Bufdir's API without leaving the app, and receive a confirmation reference number
So that I can complete the entire Bufdir reporting cycle in one place without manual file uploads to an external portal

Acceptance Criteria

  • Given my organization has a Bufdir API integration configured, when I reach the export options, then a 'Submit to Bufdir' option is available in addition to file download
  • Given I choose API submission, when I confirm, then the system formats the payload using the Bufdir schema config and submits via the API client
  • Given the submission succeeds, when the response is received, then a confirmation screen shows the Bufdir reference number and submission timestamp
  • Given the submission reference is received, when it is stored, then the audit repository records the reference number linked to the export run
  • Given the API submission fails, when an error is returned, then a clear error message is shown and I am offered the option to download the file and submit manually instead
  • Given my organization does not have Bufdir API configured, when I view export options, then the API submission option is not visible and only file download is available

Business Value

Direct API submission removes the last manual step from the Bufdir reporting workflow, completing the vision of 'press one button and get what Bufdir needs' described by all workshop participants. It also creates a verifiable audit trail with Bufdir reference numbers, which is essential for compliance and funding documentation. Organizations using this feature will complete their reporting in under 5 minutes instead of the multi-hour process today.