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

# MessageByPayrollTaxReturnId: Loket.nl REST itgen_loketnl_messagebypayrolltaxreturnid_plural

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `PayrollTaxReturnDownloads`
- Label: itgen_loketnl_messagebypayrolltaxreturnid_plural

Download the message of a payroll tax return
__Activity name :__ GetMessageByPayrollTaxReturnId   

Download the message of the payroll tax return (loonaangiftebericht) in xml. Please note that this does NOT refer to the response message, but to the initial message i.e. loonaangiftebericht.


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/payrolladministrations/payrolltaxreturns/{payrolltaxreturnId}/message`
- Operation: `get /providers/employers/payrolladministrations/payrolltaxreturns/{payrolltaxreturnId}/message`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `payrolltaxreturnId` | `` | [x] |  | The unique identifier of the payroll tax return |

## Table Columns

The columns of the table `MessageByPayrollTaxReturnId` 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 |
|---|---|---|:---:|---|---|
| `DOCUMENT` | `blob` | Document | [ ] |  |  |



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

