# LedgerAccountToPayrollComponentLinkByLedgerAccountToPayrollComponentLinkId
Details of a ledger account to payroll component link
__Activity name:__ GetLedgerAccountToPayrollComponentLinkByLedgerAccountToPayrollComponentLinkId
Get the details of a ledger account to payroll component link
This is a read-only table function. The Loket.nl REST API may not support changing the data, or the Invantive UniversalSQL driver for Loket.nl REST does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Loket.nl REST API.
- Catalog: `LoketNlRest`
- Schema: `JournalProfile`
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `ledgerAccountToPayrollComponentLinkId` | `guid` | ☑ | | The unique identifier of a ledger account to payroll component link |
## Columns
The columns of the table `LedgerAccountToPayrollComponentLinkByLedgerAccountToPayrollComponentLinkId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `costCenter_code` | `string` | Cost Centre Code | ☐ | The code for a cost center |
| `costCenter_description` | `string` | Cost Centre Description | ☐ | The description for a cost center |
| `costCenter_id` | `guid` | | ☐ | 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) |
| `costUnit_code` | `string` | Cost Unit Code | ☐ | The code for a cost unit |
| `costUnit_description` | `string` | Cost Unit Description | ☐ | The description for a cost unit |
| `costUnit_id` | `guid` | | ☐ | 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) |
| `id` | `guid` | ID | ☐ | The unique identifier of an object (GUID/UUID) |
| `ledgerAccount_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. |
| `ledgerAccount_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. |
| `ledgerAccount_description` | `string` | | ☐ | The description for a ledger account |
| `ledgerAccount_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `ledgerAccount_number` | `string` | | ☐ | The description for a ledger account |
| `origin_costCenter` | `int64` | | ☐ | Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider |
| `origin_costUnit` | `int64` | | ☐ | Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider |
| `origin_ledgerAccount` | `int64` | | ☐ | Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider |
| `origin_payrollComponent` | `int64` | | ☐ | Meaning of the integer: * 1 = CAO * 2 = Loonmodel * 3 = Administratie (Ulsa werkgever) * 4 = Provider |
| `payrollComponent_balanceSheetSide_key` | `int32` | | ☐ | Indicates on what side (debit or credit) the value should go |
| `payrollComponent_balanceSheetSide_value` | `string(50)` | | ☐ | The description of the side of the balance sheet |
| `payrollComponent_category_key` | `int32` | Payroll Component Category Key | ☐ | |
| `payrollComponent_category_value` | `string` | Payroll Component Category Value | ☐ | |
| `payrollComponent_description` | `string(14)` | Payroll Component Description | ☐ | The description of the payroll component |
| `payrollComponent_key` | `int32` | Payroll Component Key | ☐ | The number for the payroll component. This number has meaning to payroll professionals using Loket.nl who often know many of them by heart. |