Documents
Download a document file by prefixed ID
Returns the document file bytes for a given prefixed ID. Supported prefixes: FRF_ (Financial Report File), BDF_ (Bolagsverket Document File). For PDFs the inline query parameter controls whether the browser displays the file inline or forces a download.
Authorization
x-api-keystringheaderrequiredYour API key, sent in the x-api-key header.
Path parameters
idstringrequiredPrefixed document ID, e.g. `FRF_123` or `BDF_456`
Query parameters
inlinebooleanIf true, PDFs render inline in the browser; if false, forces a download. Defaults: true for PDFs, false for other formats.
Responses
Document file stream
Invalid ID or unsupported prefix
Document not found
Bolagsverket does not release the document electronically because it may contain confidential information (`code`: `document_confidential`)
The document could not be retrieved from Bolagsverket (`code`: `document_unavailable`)