# Danish Annual Reports (CVR Regnskaber) (`scrapeworks/danish-annual-reports-cvr`) Actor

Get the full filing history of published annual reports for any Danish company from the official CVR/Erhvervsstyrelsen source. Returns accounting period, publish date, and direct PDF + XBRL links. No API key.

- **URL**: https://apify.com/scrapeworks/danish-annual-reports-cvr.md
- **Developed by:** [Nicolas van Arkens](https://apify.com/scrapeworks) (community)
- **Categories:** Automation, Other, Open source
- **Stats:** 4 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Danish Annual Reports (CVR Regnskaber)

Get the complete filing history of published annual reports (årsrapporter / regnskaber) for any Danish company — straight from the official Danish Business Authority (Erhvervsstyrelsen) distribution endpoint. No API key required.

For each filing you get the accounting period, publication date, document type, correction status, and **direct download links to both the PDF and the machine-readable XBRL** version of the report.

### What it's for

- **Due diligence & KYB** — pull a company's full filing history and open any report in one click.
- **Financial research** — collect annual-report documents in bulk for analysis (the linked XBRL/PDF contain the figures).
- **Monitoring** — search by date range to catch newly published reports across companies.
- **Pipelines** — feed report metadata and document URLs into your own tools.

Pairs naturally with a CVR company lookup: registration data → filing history → the reports themselves.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `cvrNumber` | string | 8-digit CVR number of a company. |
| `fromDate` / `toDate` | string | Optional ISO dates (YYYY-MM-DD) to filter by publication date. |
| `maxItems` | integer | Cap on the number of reports returned. |

Provide a CVR number, a date range, or both.

### Output

One record per published report:

```json
{
  "cvrNumber": 24256790,
  "documentType": "AARSRAPPORT",
  "periodStart": "2023-01-01",
  "periodEnd": "2023-12-31",
  "publishedAt": "2024-01-31T08:30:00.000Z",
  "isCorrection": false,
  "pdfUrl": "http://regnskaber.virk.dk/.../doc.pdf",
  "xbrlUrl": "http://regnskaber.virk.dk/.../doc.xml"
}
```

### Notes

- This actor returns the **filing index plus document links** — it does not parse financial figures out of the XBRL. The actual numbers (revenue, profit, equity, etc.) are inside the linked PDF and XBRL documents. This keeps the output stable and reliable.
- Source: the public Erhvervsstyrelsen distribution endpoint. Most digitally filed reports are available in both PDF and XBRL; some older or paper-filed reports may have only a PDF (or none), in which case the missing link is `null`.
- Independent tool, not affiliated with Erhvervsstyrelsen or the Danish Business Authority.

# Actor input Schema

## `cvrNumber` (type: `string`):

The 8-digit CVR number of a Danish company. Returns that company's published annual reports. Leave blank to search only by date range.

## `fromDate` (type: `string`):

Optional ISO date (YYYY-MM-DD). Only return reports published on or after this date.

## `toDate` (type: `string`):

Optional ISO date (YYYY-MM-DD). Only return reports published on or before this date.

## `maxItems` (type: `integer`):

Maximum number of report records to return.

## Actor input object example

```json
{
  "cvrNumber": "24256790",
  "maxItems": 100
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "cvrNumber": "24256790",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeworks/danish-annual-reports-cvr").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "cvrNumber": "24256790",
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeworks/danish-annual-reports-cvr").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "cvrNumber": "24256790",
  "maxItems": 100
}' |
apify call scrapeworks/danish-annual-reports-cvr --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapeworks/danish-annual-reports-cvr",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Va4N2UHhgyvlWm2hv/builds/aEUtuNfeGbzK1OOnb/openapi.json
