---
title: "DeclarationByDeclarationId_ContentRoute (Loket.nl REST)"
description: "itgen_loketnl_declarationbydeclarationid_contentroute_plural"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Declarations.DeclarationByDeclarationId_ContentRoute
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.Declarations.DeclarationByDeclarationId_ContentRoute
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# DeclarationByDeclarationId_ContentRoute: Loket.nl REST itgen_loketnl_declarationbydeclarationid_contentroute_plural

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `Declarations`
- Label: itgen_loketnl_declarationbydeclarationid_contentroute_plural

Details of a declaration
__Activity name :__ GetDeclarationByDeclarationId

Get the details of a declaration


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/employees/employments/declarations/{declarationId}`
- Operation: `get /providers/employers/employees/employments/declarations/{declarationId}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `declarationId` | `` | [x] |  | The unique identifier of the declaration |

## Table Columns

The columns of the table `DeclarationByDeclarationId_ContentRoute` 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 |
|---|---|---|:---:|---|---|
| `address_countryCode` | `varchar2(2)` | itgen_loketnl_address_countrycode | [ ] |  | isocode of the country |
| `address_freeformAddress` | `varchar2(1000)` | itgen_loketnl_address_freeformaddress | [ ] |  | description of the address |
| `calculatedDistanceByRoutingService` | `double` | itgen_loketnl_calculateddistancebyroutingservice | [ ] |  | The value calulated by the routing service |
| `dateOfLastChangeByEmployee` | `datetime` | itgen_loketnl_dateoflastchangebyemployee | [ ] |  | The time the declaration was last changed |
| `dateOfSubmissionByEmployee` | `datetime` | itgen_loketnl_dateofsubmissionbyemployee | [ ] |  | The time the declaration was submitted |
| `declarationComment` | `varchar2(1000)` | itgen_loketnl_declarationcomment | [ ] |  | The comment left by the employee |
| `declarationDate` | `datetime` | itgen_loketnl_declarationdate | [ ] |  | The date to which the declaration is applicable. As requested by the employee. |
| `declarationStatus_key` | `int32` | itgen_loketnl_declarationstatus_key | [ ] |  |  |
| `declarationStatus_value` | `varchar2` | itgen_loketnl_declarationstatus_value | [ ] |  |  |
| `id` | `guid` | ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `numberOfUnits` | `double` | Number of Units | [ ] |  | The number of units requested |
| `payrollComponent_deductionOrPayment_key` | `int32` | itgen_loketnl_payrollcomponent_deductionorpayment_key | [ ] |  |  |
| `payrollComponent_deductionOrPayment_value` | `varchar2` | itgen_loketnl_payrollcomponent_deductionorpayment_value | [ ] |  |  |
| `payrollComponent_description` | `varchar2(14)` | Payroll Component Description | [ ] |  | The description of the payroll component  |
| `payrollComponent_deviatingDescription` | `varchar2(50)` | itgen_loketnl_payrollcomponent_deviatingdescription | [ ] |  | A longer and more user-friendly 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.  |
| `payrollComponent_routeType_key` | `int32` | itgen_loketnl_payrollcomponent_routetype_key | [ ] |  |  |
| `payrollComponent_routeType_value` | `varchar2` | itgen_loketnl_payrollcomponent_routetype_value | [ ] |  |  |
| `pointOfInterest_name` | `varchar2(1000)` | itgen_loketnl_pointofinterest_name | [ ] |  | The name of the point of interest |
| `position_latitude` | `double` | itgen_loketnl_position_latitude | [ ] |  | latitude for the address |
| `position_longitude` | `double` | itgen_loketnl_position_longitude | [ ] |  | longitude for the address |
| `processedInPayrollPeriod_periodEndDate` | `datetime` | itgen_loketnl_processedinpayrollperiod_periodenddate | [ ] |  | The last day of the period  |
| `processedInPayrollPeriod_periodNumber` | `int32` | itgen_loketnl_processedinpayrollperiod_periodnumber | [ ] |  | The period (month [1 to 12] , 4 weeks [1 to 13] or week [1 to 53]) of the payroll period  |
| `processedInPayrollPeriod_periodStartDate` | `datetime` | itgen_loketnl_processedinpayrollperiod_periodstartdate | [ ] |  | The first day of the period  |
| `processedInPayrollPeriod_year` | `int32` | itgen_loketnl_processedinpayrollperiod_year | [ ] |  | The year of the payroll period  |
| `reasonForDeviatingFromCalculatedDistance` | `varchar2(1000)` | itgen_loketnl_reasonfordeviatingfromcalculateddistance | [ ] |  | The reason why the employee deviated form the calculated distance. |



## Release Notes

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

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

