# DeclarationsByEmployerId__embeddedRoute
List of declarations for the employees of an employer
__Activity name :__ GetDeclarationsByEmployerId
Returns a list of declarations for the employments of the employer
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: `Declarations`
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `employerId` | `guid` | ☑ | | The unique identifier of the employer |
## Columns
The columns of the table `DeclarationsByEmployerId__embeddedRoute` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `address_countryCode` | `string(2)` | | ☐ | isocode of the country |
| `address_freeformAddress` | `string(1000)` | | ☐ | description of the address |
| `calculatedDistanceByRoutingService` | `double` | | ☐ | The value calulated by the routing service |
| `dateOfLastChangeByEmployee` | `datetime` | | ☐ | The time the declaration was last changed |
| `dateOfSubmissionByEmployee` | `datetime` | | ☐ | The time the declaration was submitted |
| `declarationComment` | `string(1000)` | | ☐ | The comment left by the employee |
| `declarationDate` | `datetime` | | ☐ | The date to which the declaration is applicable. As requested by the employee. |
| `declarationStatus_key` | `int32` | | ☐ | |
| `declarationStatus_value` | `string` | | ☐ | |
| `employmentInformation_department_code` | `int32` | | ☐ | |
| `employmentInformation_department_description` | `string` | | ☐ | |
| `employmentInformation_department_key` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `employmentInformation_employeeNumber` | `int32` | | ☐ | The employee number to uniquely identify an employee within an employer |
| `employmentInformation_firstName` | `string(28)` | | ☐ | The first name, given name, forename or Christian name as part of a persons personal name. |
| `employmentInformation_formattedName` | `string(82)` | | ☐ | Formatted name of the employee based on the value of `howToFormatLastName` |
| `employmentInformation_function_description` | `string(50)` | | ☐ | |
| `employmentInformation_function_group` | `string(5)` | | ☐ | |
| `employmentInformation_function_key` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `employmentInformation_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `employmentInformation_incomeRelationshipNumber` | `int32` | | ☐ | The income relationship number that is required in the tax return. Together with the citizen service number (burgerservicenummer, BSN) and wage tax number, the income relationship number uniquely identifies an employment. |
| `employmentInformation_payrollAdministration_clientNumber` | `int32` | | ☐ | The client number is a unique number for administrations that are used for payrolling. This field has no value if the administration is not used for payrolling. |
| `employmentInformation_payrollAdministration_description` | `string(50)` | | ☐ | Description of the administration |
| `employmentInformation_payrollAdministration_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `employmentInformation_payrollAdministration_name` | `string(70)` | | ☐ | Name of the payroll administration |
| `employmentInformation_photo` | `string` | | ☐ | A photo of the employee to use as a avatar/profile picture. The last part of the returned endpoint is the version of the logo this allows users to cache the image. Changing the value of the version will not influence the output. |
| `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` | | ☐ | |
| `payrollComponent_deductionOrPayment_value` | `string` | | ☐ | |
| `payrollComponent_description` | `string(14)` | Payroll Component Description | ☐ | The description of the payroll component |
| `payrollComponent_deviatingDescription` | `string(50)` | | ☐ | 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` | | ☐ | |
| `payrollComponent_routeType_value` | `string` | | ☐ | |
| `pointOfInterest_name` | `string(1000)` | | ☐ | The name of the point of interest |
| `position_latitude` | `double` | | ☐ | latitude for the address |
| `position_longitude` | `double` | | ☐ | longitude for the address |
| `processedInPayrollPeriod_periodEndDate` | `datetime` | | ☐ | The last day of the period |
| `processedInPayrollPeriod_periodNumber` | `int32` | | ☐ | The period (month [1 to 12] , 4 weeks [1 to 13] or week [1 to 53]) of the payroll period |
| `processedInPayrollPeriod_periodStartDate` | `datetime` | | ☐ | The first day of the period |
| `processedInPayrollPeriod_year` | `int32` | | ☐ | The year of the payroll period |
| `reasonForDeviatingFromCalculatedDistance` | `string(1000)` | | ☐ | The reason why the employee deviated form the calculated distance. |