Enhetsregisteret — alle registrerte enheter
Enhetsregisteret — alle registrerte enheter
Brønnøysundregistrene ·brreg-enheter-alleBrønnøysundregistrene's Enhetsregisteret holds every legal entity registered in Norway — companies, foundations, associations, public bodies and sole proprietorships — around 1.17 million of them. Brreg regenerates a complete gzipped JSON export daily; Atlas downloads that file, streams it, and stores each record verbatim as jsonb in `raw.brreg_enheter_snapshot`, keyed on organisasjonsnummer. Atlas previously held 122 organisational units, selected by a curated list of 11 NGOs. Holding the whole register instead means any Norwegian organisation can be resolved from its organisasjonsnummer without a new ingest, and it is what makes organisational data from unrelated sources join at all. This is the **bootstrap** load: a complete point-in-time copy. Keeping it current is the change feed's job (PLAN-002, `/oppdateringer/enheter`), which reads only what moved. Underenheter (~867k sub-units) are a sibling register — see `brreg-underenheter`. Nothing is flattened, renamed or re-encoded on the way in. Typed columns for the fields Atlas actually queries are built in dbt (PLAN-003).
Provenance
enhetsregisteretGOVE2026-09-14T11:24:49.919574+00:00 · 1,174,030 rows · 1 runUsed in Atlas views
These Atlas views (api_v1.* PostgREST endpoints) include this dataset in their input. Click through for the sample query, column list, and lineage.
api_v1.atlas_inventory
What Atlas publishes: one row per endpoint with its row count, freshness and origin.
api_v1.brreg_enhet
Every organisation registered in Norway, mirrored from Brønnøysundregistrene's Enhetsregisteret.
Momskompensasjon for frivillige organisasjoner
Per-source indicator data for lottstift-momskompensasjon (Lotteri- og stiftelsestilsynet), at the publisher's own grain.
Voluntary organisations per kommune
Active voluntary organisations per kommune and ICNPO category.
Voluntary organisations per kommune, total
One row per kommune: how many active voluntary organisations are registered there.
NGO chapter registry match (federated)
The 9 federated NGOs' chapters, found by name pattern in Brønnøysundregistrene's register.
NGO chapter subunits (unitary)
The local units of the 2 unitary NGOs (Frelsesarmeen, Kirkens Bymisjon), found as Brreg underenheter.
api_v1.unattributed_totals
The part of a published quantity that belongs to no municipality.
Joined with
Datasets that co-occur with this one inside Atlas's dbt models — the datasets you'd typically combine with this one in a real query.
brreg-frivilligedim_brreg_enhetindicators__lottstift_momskompensasjonint_ngo_chapter_registry_match + 9 morebrreg-oppdateringerdim_brreg_enhetindicators__lottstift_momskompensasjonint_ngo_chapter_registry_match + 9 moressb-klass-kommunermart_atlas_inventorymart_kommune_ngo_summarymart_kommune_ngo_totals + 1 morebrreg-underenheterint_ngo_chapter_subunitsmart_atlas_inventorymart_ngo_chapter_subunitslottstift-momskompensasjonindicators__lottstift_momskompensasjonmart_atlas_inventorymart_indicators__lottstift_momskompensasjonfhi-alkoholmart_atlas_inventorymart_unattributed_totalsfhi-befolkningmart_atlas_inventorymart_unattributed_totalsfhi-befolkningsvekstmart_atlas_inventorymart_unattributed_totalsDimensions
| Code | Meaning | Value format | Notes |
|---|---|---|---|
| organisasjonsnummer | The organisation's nine-digit national identifier, and the table's primary key | 9 digits, leading zeros significant — always text, never a number | Stable for the life of the organisation and retained after deletion from the register, which is why it is a safe join key and why the change feed can address a row that no longer has a live entity behind it. Storing it as an integer loses leading zeros; several real orgnr begin with 0. |
| doc | The upstream Enhet object exactly as Brreg published it | jsonb object, ~30 top-level keys, several nested | Not flattened and not indexed. Contains navn, organisasjonsform, forretningsadresse, naeringskode1..3, registreringsdatoEnhetsregisteret, konkurs / underAvvikling flags and more. A GIN index over it was measured at +42% storage (~0.8 GB) for an access pattern nothing uses — see the migration header. Read fields through dbt models, not through jsonb paths in ad-hoc SQL. |
| snapshot_file_date | The date of the bulk file this row was loaded from | date, or null when the download sent no Last-Modified | Provenance of the transfer, not of the organisation. The organisation's own registration and update dates live inside doc. Null is honest — a guessed date would be worse than an absent one. |
| loaded_at | When Atlas last wrote this row | timestamptz | Updated by every upsert, so it tracks Atlas's load rather than any upstream event. A row whose loaded_at is older than the newest snapshot means the bootstrap did not reach it, not that the organisation is stale. |
Sample query
Live PostgREST query returning the first 5 rows this source publishes. It queries a published api_v1 relation — raw tables are not exposed through the public API.
https://api-atlas.urbalurba.com/brreg_enhet?limit=5
Citation
Brønnøysundregistrene. (n.d.). Enhetsregisteret — alle registrerte enheter. Retrieved from https://data.brreg.no/enhetsregisteret/api/dokumentasjon. Available in Atlas at https://atlas.sovereignsky.no/datasets/brreg-enheter-alle.
@misc{atlas_brreg_enheter_alle,
author = {Brønnøysundregistrene},
title = {Enhetsregisteret — alle registrerte enheter},
year = {n.d.},
url = {https://data.brreg.no/enhetsregisteret/api/dokumentasjon},
note = {Available in Atlas at https://atlas.sovereignsky.no/datasets/brreg-enheter-alle}
}
https://atlas.sovereignsky.no/datasets/brreg-enheter-alle