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

# DeclarationsWithAttachmentByDeclarationIds: Loket.nl REST itgen_loketnl_declarationswithattachmentbydeclarationids_plural

`read only` `REST`

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

attachment indication for a set of declarationIds
__Activity name :__ GetDeclarationsWithAttachmentByDeclarationIds

This endpoint returns from a set of declaration IDs, the declaration Ids for which an attachment is available

All declarationIds must belong to the same employerId.

Attachments are 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.


Can only retrieve data.

## API Source

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

## Table Columns

The columns of the table `DeclarationsWithAttachmentByDeclarationIds` 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 (a 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)

