# MessageByUpaPensionDeclarationId
Download the message of a of an UPA pension declaration
__Activity name :__ GetMessageByUpaPensionDeclarationId
Download the message of the UPA pension declaration (pensioenaangiftebericht) in xml. Please note that this does NOT refer to the response message, but to the initial message i.e. pensioenaangiftebericht.
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: `UpaPensionDeclaration`
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `upaPensionDeclarationId` | `guid` | ☑ | | The unique identifier of the pension declaration. |
## Columns
The columns of the table `MessageByUpaPensionDeclarationId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `DOCUMENT` | `byte[]` | Document | ☐ | |