[Sandbox] Simulate unpublishing a company's employee tax statements

Revert published employee tax statements for the current tax season year to draft in sandbox

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

Only supported in Sandbox. In production this endpoint returns a 404.

Reverts every published employee tax statement for the company for the current tax season year back to draft, so you can test publishing flows again without creating a new company. Physical mail is not sent. The response body is empty on success.

The company must have at least one published employee tax statement for the current tax season year. Employer copy documents for that year are removed as part of unpublishing when they were created from published statements.

Possible error codesCause
tax_statement_not_publishedNo published employee tax statements for the current tax season year.
Path Params
string
required

The ID of the company (e.g. com_xxxx)

Responses

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