---
title: "JournalRunResultsByJournalRunId (Loket.nl REST)"
description: "Journal Run Results by Journal Run ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.JournalRunResults.JournalRunResultsByJournalRunId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.JournalRunResults.JournalRunResultsByJournalRunId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# JournalRunResultsByJournalRunId: Loket.nl REST Journal Run Results by Journal Run ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `JournalRunResults`
- Label: Journal Run Results by Journal Run ID

Get journal results for a journal run
__Activity name :__ GetJournalRunResultsByJournalRunId

Returns the journal run results for the journal run. Journal runs with journalRunStatus = 0,1,2,3 dont have results and this endpoint will return an error if called for a journal run with that status.


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/payrolladministrations/journalruns/{journalrunId}/results`
- Operation: `get /providers/employers/payrolladministrations/journalruns/{journalrunId}/results`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `journalrunId` | `` | [x] |  | The unique identifier of the payroll run |

## Table Columns

The columns of the table `JournalRunResultsByJournalRunId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `costCenter_code` | `varchar2` | Cost Centre Code | [ ] |  |  |
| `costCenter_description` | `varchar2` | Cost Centre Description | [ ] |  |  |
| `costCenter_key` | `int32` | Cost Centre Key | [ ] |  |  |
| `costUnit_code` | `varchar2` | Cost Unit Code | [ ] |  |  |
| `costUnit_description` | `varchar2` | Cost Unit Description | [ ] |  |  |
| `costUnit_key` | `int32` | Cost Unit Key | [ ] |  |  |
| `creditAmount` | `decimal` | Credit Amount | [ ] |  | The credit amount for the ledger entry.  |
| `debetAmount` | `decimal` | Debet Amount | [ ] |  | The debet amount for the ledger entry.  |
| `generalLedgerAccount_code` | `varchar2` | General Ledger Account Code | [ ] |  | The general ledger accounting number (grootboekrekeningnummer) |
| `generalLedgerAccount_description` | `varchar2` | General Ledger Account Description | [ ] |  | Description for the general ledger accounting number. |
| `generalLedgerAccount_key` | `int32` | General Ledger Account Key | [ ] |  | Database id (unique per administration). |
| `payrollComponent_description` | `varchar2(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 it by heart.  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers/loket-nl-rest)

