[Sandbox] Simulate unpublishing an employee tax statement

Simulate reverting a published employee tax statement to draft in sandbox. Sandbox-only: in production this endpoint returns a 404.

The statement must be in published publication status. Statements included in an employer copy aggregate or statements with a pending correction cannot be unpublished individually. Returns the employee tax statement with publication_status of draft; the associated employee document is removed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the employee tax statement

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json