---
title: "Details of a ledger account to payroll component link"
method: GET
path: "/v2/providers/employers/payrolladministrations/journalProfiles/ledgerAccountToPayrollComponentLinks/{ledgerAccountToPayrollComponentLinkId}"
tags: ["Journal profile payroll administration"]
---

# Details of a ledger account to payroll component link

`GET /v2/providers/employers/payrolladministrations/journalProfiles/ledgerAccountToPayrollComponentLinks/{ledgerAccountToPayrollComponentLinkId}`

## Request

- Base URL: `https://api.loket.nl`
- URL: `https://api.loket.nl/v2/providers/employers/payrolladministrations/journalProfiles/ledgerAccountToPayrollComponentLinks/{ledgerAccountToPayrollComponentLinkId}`
- Auth: none required

__Activity name:__ <a href="https://developer.loket.nl/Activities/GetLedgerAccountToPayrollComponentLinkAtPayrollAdministrationLevelByLedgerAccountToPayrollComponentLinkId" target="_blank">GetLedgerAccountToPayrollComponentLinkAtPayrollAdministrationLevelByLedgerAccountToPayrollComponentLinkId</a><br><br>Get the details of a ledger account to payroll component link

## Path parameters

- `ledgerAccountToPayrollComponentLinkId` string, uuid, required

## Headers

- `Authorization` string, required
- `Accept` string, required

## Response `200`

OK

- object: a warning indacateds that the given payload is valide, however take notice of the warning this might ifluence behavour.
  - `version` Version
    - `obsoleteDate` string, date, nullable: The date (can be null) on which the `resourceVersion` is no longer supported/available
    - `resourceVersion` string, date: The resource version of the object in the response
  - `messages` object[]
    - `type` string: Indication of the type of message. See [the general documentation for more information](./#section/Response/Messages)
    - `description` string: Describes the message
    - `id` string, uuid, nullable: In some cases when the message may relate to a specific entity, or specific group of entities, this field provides the identifier of that entity
    - `code` integer: Identifying code for the message
    - `properties` string[]: An array that can contain additional information
  - `content` LedgerAccountToPayrollComponentLinkObjectGetAndPatch
    - `id` string, uuid: The unique identifier of an object (GUID/UUID)
    - `ledgerAccount` LedgerAccount
      - `id` string, uuid: The unique identifier of an object (GUID/UUID)
      - `number` string: The description for a ledger account
      - `description` string: The description for a ledger account
      - `costAccount` boolean: If set to true it is possible to devide costs for this account between cost centers and units. If set to false it is not possible to devide costs for this account between cost centers and units.
      - `consolidate` boolean: If set to true and multiple payrollcomponents are linked to this account only the sum of all values is booked. If set to false and multiple payrollcomponents are linked to this account all individual values is booked. If payroll component is not shown this will result in multiple lines with the same ledger account, cost center and cost unit probably with different values.
    - `payrollComponent` PayrollComponentReadOnly2: A payroll component is the link to the salary calculation. `payrollComponent` is a metadata field within the payroll administration context. Possible values can be managed by the user.
      - `key` integer: The number for the payroll component. This number has meaning to payroll professionals using Loket who often know many of them by heart.
      - `description` string: The description of the payroll component
      - `category` object: The category of the payroll component. Example categories are, hours/extra hours/net payment/net deduction etc.
        - `key` integer
        - `value` string
      - `balanceSheetSide` object
        - `key` integer: Indicates on what side (debit or credit) the value should go
        - `value` string: The description of the side of the balance sheet
    - `costCenter` CostCenter
      - `id` string, uuid, nullable: The unique identifier of an object (GUID/UUID) This Id has two special options with meaning If id = null then this field is configured to not be relevant for the given ledgerAccount. (n.v.t) if id = a empty GUID then this record links the ledgerAccount to all costCenters that dont have their own unique line (Allemaal/Overig)
      - `code` string, nullable: The code for a cost center
      - `description` string: The description for a cost center
    - `costUnit` CostUnit
      - `id` string, uuid, nullable: The unique identifier of an object (GUID/UUID) This Id has two special options with meaning If id = null then this field is configured to not be relevant for the given ledgerAccount. (n.v.t) if id = a empty GUID then this record links the ledgerAccount to all costUnits that dont have their own unique line (Allemaal/Overig)
      - `code` string, nullable: The code for a cost unit
      - `description` string: The description for a cost unit
    - `origin` Origin3: All fields in this object are related to their namesake in the output. They indicate for that field on what level the value was defined. Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider
      - `ledgerAccount` integer: Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider
      - `payrollComponent` integer: Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider
      - `costCenter` integer: Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider
      - `costUnit` integer: Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/loket/apis/loket-api.md) - [All operations](https://skmtc.dev/loket/apis/loket-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loket/apis/loket-api/revisions/32170564148f?raw)
