# PayrollTaxReturnByPayrollTaxReturnId_ContentResponseMessages
Details of a tax return for an administration
__Activity name :__ GetPayrollTaxReturnByPayrollTaxReturnId
The details of a tax return for an administration
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: `PayrollTaxReturn`
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `payrolltaxreturnId` | `guid` | ☑ | | The unique identifier of the payroll tax return |
## Columns
The columns of the table `PayrollTaxReturnByPayrollTaxReturnId_ContentResponseMessages` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `approvalTime` | `datetime` | Approval Time | ☐ | The time at which the payroll tax return run was approved by the user |
| `approvedBy_formattedName` | `string` | Approved By Formatted Name | ☐ | preformated user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> |
| `approvedBy_id` | `guid` | Approved By ID | ☐ | The unique identifier of an object (GUID/UUID) |
| `approvedBy_initials` | `string(6)` | Approved By Initials | ☐ | The initials of the user |
| `approvedBy_lastName` | `string(25)` | Approved By Last Name | ☐ | The last name of the user |
| `approvedBy_prefix` | `string(10)` | Approved By Name Prefix | ☐ | The prefix of the user |
| `canBeResend` | `boolean` | | ☐ | Indicates whether the payroll tax return can be resend to the tax authorities. |
| `cancelledBy_formattedName` | `string` | | ☐ | preformatted user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> |
| `cancelledBy_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `cancelledBy_initials` | `string(6)` | | ☐ | The initials of the user |
| `cancelledBy_lastName` | `string(25)` | | ☐ | The last name of the user |
| `cancelledBy_prefix` | `string(10)` | | ☐ | The prefix of the user |
| `cancelledTime` | `datetime` | | ☐ | The time at which the pay roll run was cancelled. (Annuleren) |
| `correctionAmount` | `decimal` | Correction Amount | ☐ | The amount, in euro's, of wage tax to be paid as correction for previous period(s) |
| `dateOfReceipt` | `datetime` | | ☐ | The date on which the response message was received |
| `deadlineForPayment` | `datetime` | | ☐ | The final date at which the amount is due. |
| `emailAddressPayrollTaxReturnRunStarted` | `string` | | ☐ | The e-mail address to which an email will be sent when the payroll tax return run is started. (Email starten) |
| `externalIdentification` | `string` | | ☐ | An identifier to be filled by external parties after submitting the tax return. |
| `iban` | `string` | IBAN | ☐ | The IBAN to which the payroll tax return should be payed. Only IBAN without spaces are accepted. |
| `id` | `guid` | ID | ☐ | The unique identifier of an object (GUID/UUID) |
| `initiateIdealPayment_key` | `int32` | | ☐ | |
| `initiateIdealPayment_value` | `string` | | ☐ | |
| `inTheNameOf` | `string` | In the Name Of | ☐ | The name of the benificiary corresponding with the IBAN |
| `isCorrectionMessagePriorYear` | `boolean` | | ☐ | Indicates whether the payroll tax return is a correction message or not. A correction message is always for a prior year and no SEPA file can be downloaded for a correction message. |
| `messageCreationTime` | `datetime` | | ☐ | Date-time when the message was created |
| `messageReference` | `string` | | ☐ | The message reference (berichtkenmerk) that is used within the payroll tax return message. |
| `methodOfCreation_key` | `int32` | Creation Method Key | ☐ | The key indicating how the payroll tax return run was created. |
| `methodOfCreation_value` | `string` | Creation Method Value | ☐ | The value describing how the payroll tax return run was created. |
| `paymentReference` | `string` | Payment Reference | ☐ | The payment reference (betalingskenmerk) to be used when making the payment to the tax office. |
| `payrollPeriodType_key` | `int32` | Payroll Processing Period Type Key | ☐ | |
| `payrollPeriodType_value` | `string(50)` | Payroll Processing Period Type Value | ☐ | |
| `payrollTaxReturnParty_key` | `int32` | | ☐ | |
| `payrollTaxReturnParty_value` | `string(50)` | | ☐ | |
| `payrollTaxReturnStatus_key` | `int32` | | ☐ | |
| `payrollTaxReturnStatus_value` | `string` | | ☐ | |
| `payrollTaxReturnType_key` | `int32` | | ☐ | |
| `payrollTaxReturnType_value` | `string(50)` | | ☐ | |
| `period_periodEndDate` | `datetime` | | ☐ | The last day of the period for which the tax return message was created |
| `period_periodNumber` | `int32` | | ☐ | The period number of the payroll period for which the tax return was created. In case of a yearly tax return this value will be set to 0 |
| `period_periodStartDate` | `datetime` | | ☐ | The first day of the period for which the tax return message was created |
| `period_year` | `int32` | Period Year | ☐ | The year of the period for which the tax return message was created. |
| `periodAmount` | `decimal` | Period Amount | ☐ | The amount, in euro's, of wage tax to be paid for this period |
| `processingFinishedTime` | `datetime` | Processing Time | ☐ | Date-time when the calculations were finished |
| `removalTime` | `datetime` | | ☐ | The time at which the payroll tax return run was removed (verwijderd by the user |
| `removedBy_formattedName` | `string` | Deleted By Name | ☐ | preformated user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> |
| `removedBy_id` | `guid` | Deleted By ID | ☐ | The unique identifier of an object (GUID/UUID) |
| `removedBy_initials` | `string(6)` | Deleted By Initials | ☐ | The initials of the user |
| `removedBy_lastName` | `string(25)` | Deleted By Last Name | ☐ | The last name of the user |
| `removedBy_prefix` | `string(10)` | Deleted By Name Prefix | ☐ | The prefix of the user |
| `requestedBy_formattedName` | `string` | Requested By Formatted Name | ☐ | preformated user name for displaying. \<lastname\>\", \"\<initials\>\" \"\<prefix\> |
| `requestedBy_id` | `guid` | Requested By ID | ☐ | The unique identifier of an object (GUID/UUID) |
| `requestedBy_initials` | `string(6)` | Requested By Initials | ☐ | The initials of the user |
| `requestedBy_lastName` | `string(25)` | Requested By Last Name | ☐ | The last name of the user |
| `requestedBy_prefix` | `string(10)` | Requested By Name Prefix | ☐ | The prefix of the user |
| `requestTime` | `datetime` | Request Time | ☐ | The time at which the payroll tax return run was requested by the user |
| `responseClass_key` | `int32` | | ☐ | |
| `responseClass_value` | `string` | | ☐ | |
| `responseType_key` | `int32` | | ☐ | |
| `responseType_value` | `string` | | ☐ | |
| `sendTime` | `datetime` | | ☐ | The time at which the payroll tax return run message was send. |
| `sequenceNumber` | `int32` | Sequence Number | ☐ | An incremental number. |
| `taxReturnMessageReference` | `string` | | ☐ | The name of the party responsible for the payroll tax return |
| `totalAmount` | `decimal` | Total Amount | ☐ | The cumulative ammount of the correctionAmount and periodAmount. Indication the total ammount to be paid for this wagetax return |
| `wageTaxNumber` | `string(12)` | | ☐ | The wage tax number aka Loonheffingennummer. |
| `withholdingParty` | `string` | | ☐ | The name of the party responsible for the payroll tax return |