Bufdir Report Generation & Export
Feature Detail
Description
This feature automates the generation of the mandatory Bufdir (Barne-, ungdoms- og familiedirektoratet) grant reporting required by all four partner organizations. Instead of manually compiling activity data into Word or Excel templates, coordinators and administrators can generate a complete, correctly formatted Bufdir report with a single tap. The feature aggregates all relevant activity data for the selected period, maps it to Bufdir's required fields, and produces an exportable file ready for submission, dramatically reducing the reporting burden that all organizations identified as a major pain point.
User Flow
Analysis
All four organizations — NHF, Blindeforbundet, HLF, and Barnekreftforeningen — receive Bufdir funding and invest significant administrative time in compliance reporting. The workshop documentation explicitly identifies one-click Bufdir export as a top shared priority across all organizations. Automating this process eliminates hours of manual data consolidation per reporting period, reduces errors from manual data entry, and ensures organizations never miss a reporting deadline. Norse Digital Products has committed to initiating dialogue with Bufdir on behalf of all organizations to align the export format, which could become a competitive differentiator. For organization administrators and global administrators, this feature directly justifies the platform investment.
The Bufdir report generator is a server-side feature on the Next.js backend that queries the activities, users, organizations, and related tables to compile a structured report object. The report format must be reverse-engineered from existing Word/Excel templates provided by each organization and mapped to a normalized internal schema. The API endpoint accepts organization_id and reporting_period parameters, runs the aggregation query, and renders the output as either JSON (for in-app preview), CSV, or XLSX using a library such as exceljs. The Flutter mobile client provides a simple trigger screen for coordinators; the admin panel provides full configuration and download capabilities. Role-based access restricts generation to Coordinator and above. Future integration with Bufdir's own API (if available) should be architecturally possible via an adapter pattern.
Components (67)
Shared Components
These components are reused across multiple features
User Interface (16)
Service Layer (13)
Data Layer (9)
Infrastructure (20)
User Stories
No user stories have been generated for this feature yet.