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

Changed on

Revert every published employee tax statement for the company for the current tax season year to draft. Sandbox-only: in production this endpoint returns a 404.

Use this to reset sandbox W-2 publishing tests on an existing company. Physical mail is not sent. Returns an empty response body on success. Supports the Idempotency-Key header.

post/companies/{company}/simulate/unpublish_employee_tax_statements

Request

Path parameters

companystring required

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

Response

200

object required

Changes