v3
latestOpenAPI 3.1.02026-07-311,0939714.5 MBUndo payroll tax return (verwijderen loonaangifte)
Activity name : <a href="https://developer.loket-ontw.nl/Activities/PostUndoPayrollTaxReturnByPayrollTaxReturnId" target="_blank">PostUndoPayrollTaxReturnByPayrollTaxReturnId</a>
This is a controller endpoint to perform an action. In the older Loket GUI this specific action is referred to as 'Deactiveren loonaangifte' If this action is performed successfully then the payroll tax return will be marked 'deleted' in the sense that its results will be undone. Please note that situations where an approved payroll tax return would have to be 'undone' should be generally be avoided.
By undoing the payroll tax return for this period, it is not automatically removed from the tax authorities. After undoing the payroll tax return, you must recreate and confirm the payroll tax return for this period. Please pay attention to the deadline for confirmation. Subsequently, the payroll tax return received earlier by the tax authorities will be overwritten by this new one.
This action may only be performed successfully of the following requirements are met;
- The payroll tax return is the very last payroll tax return that has been approved within this payroll administration
- It is not possible to undo a payroll tax return if there is currently a payroll tax return with status 0 (to be processed) or 1 (awaiting approval) within the payroll administation.
Metadata : No metadata endpoint available for this controller endpoint.
Defaults : Defaults GET endpoint is available for this controller endpoint at the path .../payrolladministrations/{payrollAdministrationId}/payrolltaxreturns/undo/defaults.
Path parameters
The unique identifier of the payroll tax return
Headers
A valid Bearer token for authorizing the request.
The accept header is used to influence what type of output is returned and in most cases the version of the output
Response
Accepted