Bufdir Export
Feature Detail
Description
Bufdir Export enables organization administrators to generate and download a fully structured Bufdir-compliant report with a single button press from the Admin Web Portal. The feature aggregates activity registrations, peer mentor participation, and organizational metadata into the exact format required by the Norwegian government agency Bufdir, which funds the peer mentor programs. The export covers a configurable reporting period and produces a downloadable file (CSV, Excel, or structured PDF depending on Bufdir's accepted formats). The one-click model directly addresses the unanimous demand from all four workshop organizations, who described the current manual reporting process as one of their largest administrative burdens.
Analysis
Bufdir reporting is a compliance requirement for all participating organizations - failure to submit accurate reports on time puts funding at risk. All three workshop organizations independently named automated Bufdir export as a must-have, with NHF, Blindeforbundet, and HLF each spending significant staff time manually compiling the required data. The strategic importance extends beyond efficiency: Norse Digital Products has committed to initiating dialogue with Bufdir on behalf of all organizations to agree on a standardized digital reporting format, which positions Meander as the canonical submission channel. Successfully automating this export creates a durable lock-in for the platform - organizations that route their compliance reporting through Meander have a strong reason to remain, and the capability becomes a key differentiator when selling to new organizations through the sales website.
The export pipeline runs as a background job triggered from the admin portal UI via a POST to `/api/v1/reports/bufdir/export`. The job queries activities, peer mentor roles, organizational structure, and associated metadata for the specified reporting period, then transforms the data into Bufdir's required schema. The exact output format must be confirmed through Norse's Bufdir dialogue - support for both CSV/Excel and a structured JSON submission via Bufdir's own API should be designed for from the start to avoid a rewrite. Export progress is tracked in the export_logs table with status polling from the frontend. Completed exports are stored temporarily (24h) in object storage (Vercel Blob or S3) and served via a signed URL. Role guard ensures only org admins and global admins can trigger exports. The mobile app's one-click export button (bufdir-export area) shares the same backend endpoint, so the API contract must satisfy both consumers.
Components (46)
Shared Components
These components are reused across multiple features
User Interface (9)
Service Layer (15)
Data Layer (8)
Infrastructure (7)
User Stories
No user stories have been generated for this feature yet.