# IdealPaymentStatusByPayrollTaxReturnId Get the status of the IDEAL payment __Activity name :__ GetIdealPaymentStatusByPayrollTaxReturnId Get the status of the IDEAL payment 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 `IdealPaymentStatusByPayrollTaxReturnId` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `lastStatusRequest` | `datetime` | | ☐ | The date time on which the last **succesful** status request was performed | | `status_code` | `string` | | ☐ | The status code (as defined by the Dutch tax authorities) of the IDEAL payment | | `status_reason` | `string` | | ☐ | The reason for the given status code of the IDEAL payment |