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

# DeclarationsWithAttachmentByEmployerId: Loket.nl REST itgen_loketnl_declarationswithattachmentbyemployerid_plural

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `DeclarationsAttachments`
- Label: itgen_loketnl_declarationswithattachmentbyemployerid_plural

Get a list of declarations with attachment
__Activity name :__ GetDeclarationsWithAttachmentByEmployerId

Get a list of all declarationId's of declarations that have an attachment to it. 

The attachment is stored in Qwoater, and thus on the background a call to Qwoater will be performed to check whether an attachment is available for a declaration.

If an attachment is available then a call may be performed to the attachment download endpoint to actually start downloading the attachment for this declaration.


Can only retrieve data.

## API Source

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

## Parameters

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

## Table Columns

The columns of the table `DeclarationsWithAttachmentByEmployerId` 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 |
|---|---|---|:---:|---|---|
| `declarationId` | `guid` | itgen_loketnl_declarationid | [ ] |  | The unique identifier of an object (GUID/UUID) |



## 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)

