---
title: "Void an invoice"
method: PUT
path: "/invoices/{id}:void"
tags: ["Invoices"]
---

# Void an invoice

`PUT /invoices/{id}:void`

## Path parameters

- `id` string, required — The id of the invoice

## Request body

- VoidInvoiceRequest
  - `reasonCode` string
  - `reason` string

## Response `200`

The invoice was voided

## Other responses

- `400` — The invoice can not be voided
- `404` — The invoice does not exist

---

[API](https://skmtc.dev/adfin/apis/adfin-api.md) · [All operations](https://skmtc.dev/adfin/apis/adfin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/adfin/adfin-api/revisions/53d29f0850e0/schema)
