---
title: "IdealPaymentStatusByPayrollTaxReturnId (Loket.nl REST)"
description: "iDEAL Payment Status by Payroll Tax Return ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.PayrollTaxReturn.IdealPaymentStatusByPayrollTaxReturnId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.PayrollTaxReturn.IdealPaymentStatusByPayrollTaxReturnId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# IdealPaymentStatusByPayrollTaxReturnId: Loket.nl REST iDEAL Payment Status by Payroll Tax Return ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `PayrollTaxReturn`
- Label: iDEAL Payment Status by Payroll Tax Return ID

Get the status of the IDEAL payment
__Activity name :__ GetIdealPaymentStatusByPayrollTaxReturnId

Get the status of the IDEAL payment


Can only retrieve data.

## API Source

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

## Parameters

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

## Table Columns

The columns of the table `IdealPaymentStatusByPayrollTaxReturnId` 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 |
|---|---|---|:---:|---|---|
| `lastStatusRequest` | `datetime` | itgen_loketnl_laststatusrequest | [ ] |  | The date time on which the last **succesful** status request was performed |
| `status_code` | `varchar2` | itgen_loketnl_status_code | [ ] |  | The status code (as defined by the Dutch tax authorities) of the IDEAL payment |
| `status_reason` | `varchar2` | itgen_loketnl_status_reason | [ ] |  | The reason for the given status code of the IDEAL payment |



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

