high complexity critical priority must have MVP extracted Bufdir Reporting & Analytics Confidence: 100%
7
Components
0
Shared
17
User Stories
Yes
Analyzed

Description

This feature provides fully automated generation and export of Bufdir grant reports with a single button press. Coordinators and administrators can select reporting periods, preview generated reports, and export them in the format required by Bufdir. The system aggregates all registered activities, participants, and relevant metadata into a structured report, eliminating hours of manual spreadsheet work. Report history is maintained for audit purposes and re-export at any time.

Analysis

Business Value

All four organizations (NHF, Blindeforbundet, HLF, Barnekreftforeningen) receive Bufdir grants and currently spend significant manual effort compiling reports from Word forms and Excel sheets. Automating this process directly reduces administrative burden, minimizes reporting errors, and ensures compliance with grant requirements. Norse Digital Products is initiating dialogue with Bufdir on behalf of all organizations to simplify the reporting format. This feature is a primary value driver for organizational adoption and renewal of the product subscription, making it strategically critical for commercial viability and long-term retention across all partner organizations.

Implementation Notes

Implementation requires deep understanding of Bufdir's reporting schema and period definitions, which must be configurable per organization. The report generator aggregates data from the activities, events, and user_roles tables with date-range filtering and organization scoping. Export formats should include PDF and structured data (CSV/Excel). The Bufdir API Integration infrastructure component handles any direct submission endpoints once Bufdir exposes them. Report generation should be asynchronous with progress feedback given potentially large datasets. Multi-organization scoping must enforce strict data isolation. The Report Repository stores generated snapshots for auditability even if source data changes.

Dependencies

activity-logging-wizardsave-features-to-databasesave-components-to-database

Definition of Done

One-click report generation completes successfully for all reporting periods
Report preview renders correctly before export
PDF and CSV/Excel export formats work on iOS and Android
Report history screen lists all previously generated reports with download links
Organization-level data isolation verified in multi-tenant tests
Bufdir report format validated against current Bufdir requirements
Accessibility: screen reader and keyboard navigation work on all report screens

User Stories (17)

Review and Validate Organizational Bufdir Report Before Final Submission
medium 3 pts

As a As a Organization Administrator

I want I want to review a coordinator-generated Bufdir report at the organizational level and formally mark it as reviewed and approved before it is submitted to Bufdir

So that So that the organization has a clear approval chain before grant reports are submitted, satisfying internal governance requirements and reducing the risk of inaccurate submissions

Acceptance Criteria
  • Given a coordinator has generated a Bufdir report, when an Organization Administrator views the report, then they can see all the same data sections as the coordinator in the preview
  • Given the administrator has reviewed the report content, when they apply an approval action, then the report snapshot is marked as 'approved' with the administrator's identity and timestamp
  • Given a report is marked as approved, when coordinators view the report history, then the approval status and approver name are displayed
  • +2 more
View Full Story →
Monitor Bufdir Reporting Compliance Status Across All Organizations
medium 5 pts

As a As a Global Administrator

I want I want to view the Bufdir reporting status for all member organizations, including which have generated reports for current periods and which have outstanding obligations

So that So that I can proactively support organizations that are falling behind on grant reporting, ensure platform-wide compliance, and provide summary information to Norse Digital Products leadership about reporting adoption

Acceptance Criteria
  • Given a Global Administrator accesses the platform admin view, when they navigate to Bufdir reporting status, then they see a summary row per organization showing reporting period coverage
  • Given the status view is loaded, when the administrator reviews it, then each organization row shows: latest period generated, approval state, and export status
  • Given an organization has not generated a report for a period that is due, when the administrator views the status, then that organization is flagged with an outstanding obligation indicator
  • +2 more
View Full Story →
Re-export a Previously Generated Report Snapshot
high 2 pts

As a As a user

I want I want to re-export any previously generated Bufdir report snapshot in PDF or structured data format without regenerating the report

So that So that I can provide grant authorities or auditors with an exact copy of what was originally submitted, even if underlying activity data has since changed

Acceptance Criteria
  • Given a historical report is shown in the list, when the user selects re-export, then they can choose between PDF, CSV, and Excel format
  • Given the user re-exports a report, when the file is delivered, then its content is byte-for-byte consistent with the data captured at original generation time
  • Given the source activity data has been modified after the original report was generated, when the user re-exports, then the re-exported file reflects the original snapshot, not the modified data
  • +1 more
View Full Story →
View Report History and Access Past Reports
high 3 pts

As a As a user

I want I want to view a history of all previously generated Bufdir reports for my organization, with their generation date, reporting period, and status

So that So that I can access historical reports for audit purposes, re-export when needed, and track which grant periods have been reported

Acceptance Criteria
  • Given the user opens the Bufdir Report Screen, when reports have been previously generated, then a list of historical reports is shown ordered by most recent first
  • Given the report history is displayed, when the user views each entry, then the reporting period, generation date, and export history are clearly shown
  • Given the user selects a historical report, when they open it, then the stored snapshot is displayed exactly as it was at generation time, unaffected by subsequent data changes
  • +2 more
View Full Story →
Receive Progress Feedback During Asynchronous Report Generation
high 3 pts

As a As a user

I want I want to see real-time progress feedback while a Bufdir report is being generated asynchronously, so I know the system is working and can estimate when the report will be ready

So that So that I am not left with an unresponsive screen during potentially lengthy data aggregation and can continue other work if needed while the report is being prepared

Acceptance Criteria
  • Given report generation has been triggered, when the system is processing, then a progress indicator with descriptive stage labels is shown on the Bufdir Report Screen
  • Given the user navigates away from the report screen during generation, when they return, then the current generation status is still accurately reflected
  • Given report generation is running, when the user checks the progress indicator, then the displayed stage corresponds to the actual server-side processing phase
  • +2 more
View Full Story →
Preview Generated Bufdir Report Before Export
high 5 pts

As a As a user

I want I want to view a structured preview of the generated Bufdir report showing aggregated activity counts, participant numbers, and required metadata before exporting

So that So that I can verify the report data is accurate and complete, catching any discrepancies before formally submitting to Bufdir

Acceptance Criteria
  • Given a report has been generated, when the user navigates to the report preview, then all Bufdir-required data sections are displayed in the standard reporting layout
  • Given the preview is displayed, when the user reviews activity counts, then the numbers reflect all activities registered within the selected period for their organization only
  • Given the preview shows participant numbers, when a user cross-checks against known registrations, then the totals are consistent with the activity registration data
  • +2 more
View Full Story →
Re-export a Previously Generated Report Snapshot
high 2 pts

As a As a user

I want I want to re-export any previously generated Bufdir report snapshot in PDF or structured data format without regenerating the report

So that So that I can provide grant authorities or auditors with an exact copy of what was originally submitted, even if underlying activity data has since changed

Acceptance Criteria
  • Given a historical report is shown in the list, when the user selects re-export, then they can choose between PDF, CSV, and Excel format
  • Given the user re-exports a report, when the file is delivered, then its content is byte-for-byte consistent with the data captured at original generation time
  • Given the source activity data has been modified after the original report was generated, when the user re-exports, then the re-exported file reflects the original snapshot, not the modified data
  • +1 more
View Full Story →
View Report History and Access Past Reports
high 3 pts

As a As a user

I want I want to view a history of all previously generated Bufdir reports for my organization, with their generation date, reporting period, and status

So that So that I can access historical reports for audit purposes, re-export when needed, and track which grant periods have been reported

Acceptance Criteria
  • Given the user opens the Bufdir Report Screen, when reports have been previously generated, then a list of historical reports is shown ordered by most recent first
  • Given the report history is displayed, when the user views each entry, then the reporting period, generation date, and export history are clearly shown
  • Given the user selects a historical report, when they open it, then the stored snapshot is displayed exactly as it was at generation time, unaffected by subsequent data changes
  • +2 more
View Full Story →
Receive Progress Feedback During Asynchronous Report Generation
high 3 pts

As a As a user

I want I want to see real-time progress feedback while a Bufdir report is being generated asynchronously, so I know the system is working and can estimate when the report will be ready

So that So that I am not left with an unresponsive screen during potentially lengthy data aggregation and can continue other work if needed while the report is being prepared

Acceptance Criteria
  • Given report generation has been triggered, when the system is processing, then a progress indicator with descriptive stage labels is shown on the Bufdir Report Screen
  • Given the user navigates away from the report screen during generation, when they return, then the current generation status is still accurately reflected
  • Given report generation is running, when the user checks the progress indicator, then the displayed stage corresponds to the actual server-side processing phase
  • +2 more
View Full Story →
Preview Generated Bufdir Report Before Export
high 5 pts

As a As a user

I want I want to view a structured preview of the generated Bufdir report showing aggregated activity counts, participant numbers, and required metadata before exporting

So that So that I can verify the report data is accurate and complete, catching any discrepancies before formally submitting to Bufdir

Acceptance Criteria
  • Given a report has been generated, when the user navigates to the report preview, then all Bufdir-required data sections are displayed in the standard reporting layout
  • Given the preview is displayed, when the user reviews activity counts, then the numbers reflect all activities registered within the selected period for their organization only
  • Given the preview shows participant numbers, when a user cross-checks against known registrations, then the totals are consistent with the activity registration data
  • +2 more
View Full Story →
Configure Organization-Specific Bufdir Reporting Period Definitions
high 5 pts

As a As a Organization Administrator

I want I want to configure which reporting periods are applicable for my organization's Bufdir grant agreements, including custom date ranges and period labels

So that So that the report period selector reflects my organization's actual grant obligations and prevents coordinators from generating reports for incorrect or non-applicable periods

Acceptance Criteria
  • Given an Organization Administrator accesses reporting configuration, when they set up period definitions, then they can define period type (quarterly, half-yearly, annual), start/end dates, and custom labels
  • Given period definitions have been saved, when a coordinator opens the report period selector, then only the administrator-configured periods are shown
  • Given a period is marked as locked by the administrator, when a coordinator attempts to generate a report for that period, then the system prevents generation and shows a message that the period has been finalized
  • +2 more
View Full Story →
Select Reporting Period for Bufdir Report
critical 3 pts

As a As a user

I want I want to select a specific reporting period (quarter, half-year, or annual) for Bufdir grant report generation, with clear visibility into which periods have already been reported

So that So that I can generate reports for the correct grant cycle and avoid submitting duplicate or incomplete period reports

Acceptance Criteria
  • Given a user opens the Bufdir Report Screen, when they interact with the report period selector, then all available reporting periods for their organization are shown with clear labels (e.g., Q1 2025, H1 2025)
  • Given a reporting period has already been generated, when the user views the period selector, then that period is visually marked as reported and the completion date is shown
  • Given an organization has custom period definitions, when the period selector loads, then it displays only the periods configured for that organization
  • +2 more
View Full Story →
Export Bufdir Report in PDF and Structured Data Formats
critical 5 pts

As a As a user

I want I want to export a finalized Bufdir report as a PDF and as structured data (CSV or Excel) so that I can submit it to Bufdir in whichever format they require

So that So that I can fulfill the grant reporting obligation using the official submission format without any manual reformatting or data re-entry

Acceptance Criteria
  • Given a generated report is available, when the user selects PDF export, then a properly formatted PDF document matching Bufdir's required layout is generated and downloaded to the device
  • Given a generated report is available, when the user selects CSV or Excel export, then a structured data file containing all required reporting fields is generated and downloaded
  • Given the export completes, when the user opens the exported file, then all data values match exactly what was shown in the report preview
  • +2 more
View Full Story →
Generate Bufdir Grant Report with One Click
critical 8 pts

As a As a user

I want I want to trigger automated Bufdir grant report generation with a single action after selecting a reporting period

So that So that I can eliminate the hours of manual data aggregation from Word forms and Excel sheets currently required to produce compliant grant reports

Acceptance Criteria
  • Given a user is on the Bufdir Report Screen with a valid reporting period selected, when they press the generate report button, then report generation starts asynchronously and a progress indicator is displayed
  • Given report generation is in progress, when the system is aggregating data, then the user sees a real-time progress indicator reflecting the current stage of data collection
  • Given report generation completes successfully, when the user views the results, then all activity counts, participant numbers, and metadata are aggregated only from data belonging to the user's organization
  • +2 more
View Full Story →
Select Reporting Period for Bufdir Report
critical 3 pts

As a As a user

I want I want to select a specific reporting period (quarter, half-year, or annual) for Bufdir grant report generation, with clear visibility into which periods have already been reported

So that So that I can generate reports for the correct grant cycle and avoid submitting duplicate or incomplete period reports

Acceptance Criteria
  • Given a user opens the Bufdir Report Screen, when they interact with the report period selector, then all available reporting periods for their organization are shown with clear labels (e.g., Q1 2025, H1 2025)
  • Given a reporting period has already been generated, when the user views the period selector, then that period is visually marked as reported and the completion date is shown
  • Given an organization has custom period definitions, when the period selector loads, then it displays only the periods configured for that organization
  • +2 more
View Full Story →
Export Bufdir Report in PDF and Structured Data Formats
critical 5 pts

As a As a user

I want I want to export a finalized Bufdir report as a PDF and as structured data (CSV or Excel) so that I can submit it to Bufdir in whichever format they require

So that So that I can fulfill the grant reporting obligation using the official submission format without any manual reformatting or data re-entry

Acceptance Criteria
  • Given a generated report is available, when the user selects PDF export, then a properly formatted PDF document matching Bufdir's required layout is generated and downloaded to the device
  • Given a generated report is available, when the user selects CSV or Excel export, then a structured data file containing all required reporting fields is generated and downloaded
  • Given the export completes, when the user opens the exported file, then all data values match exactly what was shown in the report preview
  • +2 more
View Full Story →
Generate Bufdir Grant Report with One Click
critical 8 pts

As a As a user

I want I want to trigger automated Bufdir grant report generation with a single action after selecting a reporting period

So that So that I can eliminate the hours of manual data aggregation from Word forms and Excel sheets currently required to produce compliant grant reports

Acceptance Criteria
  • Given a user is on the Bufdir Report Screen with a valid reporting period selected, when they press the generate report button, then report generation starts asynchronously and a progress indicator is displayed
  • Given report generation is in progress, when the system is aggregating data, then the user sees a real-time progress indicator reflecting the current stage of data collection
  • Given report generation completes successfully, when the user views the results, then all activity counts, participant numbers, and metadata are aggregated only from data belonging to the user's organization
  • +2 more
View Full Story →