Enhetsregisteret — underenheter (alle)
Enhetsregisteret — underenheter (alle)
Brønnøysundregistrene ·brreg-underenheterBrønnøysundregistrene's underenheter register holds every sub-unit registered under a parent organisation — local branches, establishments and divisions (organisasjonsform BEDR and others) — around 867,000 of them (measured 2026-10-04). Brreg regenerates a complete gzipped JSON export daily; Atlas downloads that file, streams it, and stores each record verbatim as jsonb in `raw.brreg_underenheter_snapshot`, keyed on the sub-unit's own organisasjonsnummer. This is the sibling of brreg-enheter-alle (the parent-entity register) and was named as a follow-on when that source shipped (PLAN-001, INVESTIGATE-all-brreg-organisations.md): deferred until enheter's own bulk+change-feed machinery had run in production, which it has. Some organisations — including local branches of unitary NGOs such as Frelsesarmeen and Kirkens Bymisjon — are registered as underenheter rather than as enheter, so a copy of enheter alone has a population gap exactly where Atlas's NGO work cares (docs/research/ngo-research/ingestion-specs/brreg-underenheter.md). This is the **bootstrap** load: a complete point-in-time copy. Keeping it current is brreg-underenheter-oppdateringer's job (`/oppdateringer/underenheter`), which reads only what moved. Nothing is flattened, renamed or re-encoded on the way in. Typed columns for the fields Atlas actually queries belong in dbt.
Provenance
enhetsregisteret-underenheterGOVEUsed 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.
NGO chapter subunits (unitary)
The local units of the 2 unitary NGOs (Frelsesarmeen, Kirkens Bymisjon), found as Brreg underenheter.
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-enheter-alleint_ngo_chapter_subunitsmart_atlas_inventorymart_ngo_chapter_subunitsbrreg-frivilligeint_ngo_chapter_subunitsmart_atlas_inventorymart_ngo_chapter_subunitsbrreg-oppdateringerint_ngo_chapter_subunitsmart_atlas_inventorymart_ngo_chapter_subunitsbufdir-barnefattigdommart_atlas_inventorybufdir-barnevernmart_atlas_inventoryfhi-alkoholmart_atlas_inventoryfhi-befolkningmart_atlas_inventoryfhi-befolkningsvekstmart_atlas_inventoryDimensions
| Code | Meaning | Value format | Notes |
|---|---|---|---|
| organisasjonsnummer | The sub-unit's own nine-digit national identifier, and the table's primary key | 9 digits, leading zeros significant — always text, never a number | Distinct from the parent's organisasjonsnummer, which lives inside doc as overordnetEnhet (a plain string field, verified live 2026-10-04 — not a nested object carrying its own organisasjonsnummer key). Stable for the life of the sub-unit and retained after deletion. |
| doc | The upstream Underenhet object exactly as Brreg published it | jsonb object | Not flattened and not indexed, for the same measured reason as brreg_enheter_snapshot.doc. Contains navn, organisasjonsform, overordnetEnhet, beliggenhetsadresse, naeringskode1, oppstartsdato, nedleggelsesdato and more. |
| 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 sub-unit. |
| loaded_at | When Atlas last wrote this row | timestamptz | Updated by every upsert, so it tracks Atlas's load rather than any upstream event. |
Sample query
Ingested, not yet published. Atlas holds this source but no published relation carries it yet, so there is no query to run against the public API. Its rows are in Atlas; the modelling that would expose them has not been done. See meta_sources.served_as — an empty value is exactly this state.
Citation
Brønnøysundregistrene. (n.d.). Enhetsregisteret — underenheter (alle). Retrieved from https://data.brreg.no/enhetsregisteret/api/dokumentasjon. Available in Atlas at https://atlas.sovereignsky.no/datasets/brreg-underenheter.
@misc{atlas_brreg_underenheter,
author = {Brønnøysundregistrene},
title = {Enhetsregisteret — underenheter (alle)},
year = {n.d.},
url = {https://data.brreg.no/enhetsregisteret/api/dokumentasjon},
note = {Available in Atlas at https://atlas.sovereignsky.no/datasets/brreg-underenheter}
}
https://atlas.sovereignsky.no/datasets/brreg-underenheter