---
title: "/production-units/{p_number}"
method: GET
path: "/v1/production-units/{p_number}"
tags: ["Production Units"]
---

# /production-units/{p_number}

`GET /v1/production-units/{p_number}`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/production-units/{p_number}`
- Auth: HTTP bearer

Get a production unit by P-number.

P-numbers are 10-digit identifiers for physical business locations.

## Path parameters

- `p_number` string, required

## Response `200`

Successful Response

- ProductionUnitResponse: Response for single production unit lookup.
  - `data` ProductionUnit, required: A production unit (P-enhed) - physical business location. P-enheder are separate entities in CVR with their own unique address, employee counts, and industry classification.
    - `p_number` string, required: 10-digit P-nummer (unique production unit identifier)
    - `cvr` string, required: CVR number of parent company
    - `name` string, nullable: Production unit name/description
    - `status` string: Unit status
    - `is_main_unit` boolean: Whether this is the main unit (hovedafdeling)
    - `valid_from` string, date-time, nullable: Date P-enhed was created
    - `valid_to` string, date-time, nullable: Date P-enhed was dissolved (null = active)
    - `address` CompanyAddress: Danish address with all CVR fields preserved for accurate geocoding.
      - `address_id` string, nullable: DAWA adgangsadresse ID for direct geocoding lookup
      - `street_name` string, nullable: Street name (vejnavn)
      - `street_code` integer, nullable: Street code, unique per municipality (vejkode)
      - `house_number` integer, nullable: House number (husnummerFra)
      - `house_number_to` integer, nullable: House number end for address ranges
      - `house_letter` string, nullable: Letter suffix, e.g. 'A', 'B'
      - `house_letter_to` string, nullable: Letter suffix end for ranges
      - `floor` string, nullable: Floor (etage), e.g. 'st', '1', '2'
      - `door` string, nullable: Door identifier: 'th' (right), 'tv' (left), 'mf' (middle)
      - `postal_code` string, nullable: 4-digit Danish postal code
      - `postal_district` string, nullable: Postal district name
      - `town_name` string, nullable: Town name for rural areas (bynavn)
      - `care_of` string, nullable: c/o name if applicable
      - `po_box` string, nullable: P.O. box number
      - `free_text` string, nullable: Free text address (typically for foreign addresses)
      - `country_code` string, nullable: ISO 3166-1 alpha-2 country code
      - `municipality_code` string, nullable: 3-digit Danish municipality code
      - `municipality_name` string, nullable: Municipality name
      - `street` string, nullable: Formatted street address for display
      - `city` string, nullable: City name (same as postal_district)
    - `location` AppModelsCompanyGeoLocation: GeoJSON Point for geographic coordinates.
      - `type` string: GeoJSON type (always 'Point')
      - `coordinates` number[], required: Coordinates as [longitude, latitude]
    - `industry` CompanyIndustry: Industry classification using Danish DB07 codes.
      - `primary_code` string, nullable: Primary 6-digit industry code (DB07)
      - `primary_text` string, nullable: Primary industry description
      - `secondary` SecondaryIndustry[]: List of secondary industry codes
        - `code` string, nullable: 6-digit Danish industry code (DB07)
        - `text` string, nullable: Industry description in Danish
    - `employees` CompanyEmployees: Employee count information from CVR.
      - `count` integer, nullable: Exact employee count (if available)
      - `interval` string, nullable: Employee count interval
      - `full_time_equivalent` number, nullable: Full-time equivalent (FTE) count
      - `including_owners` integer, nullable: Employee count including owners
      - `year` integer, nullable: Year the employee data was reported
      - `month` integer, nullable: Month of the figure (monthly series only)
    - `employees_monthly` CompanyEmployees: Employee count information from CVR.
      - `count` integer, nullable: Exact employee count (if available)
      - `interval` string, nullable: Employee count interval
      - `full_time_equivalent` number, nullable: Full-time equivalent (FTE) count
      - `including_owners` integer, nullable: Employee count including owners
      - `year` integer, nullable: Year the employee data was reported
      - `month` integer, nullable: Month of the figure (monthly series only)
    - `employees_yearly` CompanyEmployees: Employee count information from CVR.
      - `count` integer, nullable: Exact employee count (if available)
      - `interval` string, nullable: Employee count interval
      - `full_time_equivalent` number, nullable: Full-time equivalent (FTE) count
      - `including_owners` integer, nullable: Employee count including owners
      - `year` integer, nullable: Year the employee data was reported
      - `month` integer, nullable: Month of the figure (monthly series only)
    - `contact` CvrContact: Contact information as registered in CVR (adds the fax number, which a claimed profile cannot set).
      - `phone` string, nullable: Phone number
      - `email` string, nullable: Email address
      - `website` string, nullable: Website URL
      - `fax` string, nullable: Fax number
    - `advertising_protected` boolean: Whether unit is protected from advertising
    - `meta` ProductionUnitMeta: Metadata for production unit records.
      - `cvr_updated_at` string, date-time, nullable: Last sync from CVR
      - `geocoded_at` string, date-time, nullable: When address was geocoded
      - `synced_at` string, date-time: Last sync timestamp
      - `created_at` string, date-time: Record creation time
      - `updated_at` string, date-time: Record last update time
  - `company_name` string, nullable: Parent company name for context
  - `meta` object: Response metadata

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
