---
title: "Void a payroll"
method: POST
path: "/payrolls/{payroll}/void"
---

# Void a payroll

`POST /payrolls/{payroll}/void`

## Request

- Base URL: `https://sandbox.checkhq.com`
- URL: `https://sandbox.checkhq.com/payrolls/{payroll}/void`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/checkhq/apis/check-api/docs/payrolls/:payroll/void/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a void payroll that zeros out items on an existing payroll and attaches it to a draft correction.

## Path parameters

- `payroll` string, required

## Request body

- object
  - `correction` string, required: ID of the draft [correction](https://docs.checkhq.com/reference/the-correction-object) to attach the void payroll to.
  - `subset` object, nullable: Omit or set to `null` to void the entire payroll. Otherwise, void exactly the listed payroll items and/or contractor payments.
    - `payroll_items` string[]: IDs of the payroll items to void. An omitted or null list voids none of this kind.
    - `contractor_payments` string[]: IDs of the contractor payments to void. An omitted or null list voids none of this kind.

## Response `201`

201

## Changes

- **2026-11-03** `5a54f5eb888b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/checkhq/apis/check-api/changes/payrolls/:payroll/void/post.md)

---

[API](https://skmtc.dev/checkhq/apis/check-api.md) - [All operations](https://skmtc.dev/checkhq/apis/check-api/llms.txt) - [OpenAPI document](https://skmtc.dev/checkhq/apis/check-api/revisions/5a54f5eb888b?raw)
