---
title: "Close an invoice"
method: POST
path: "/v1/invoices/{invoice_id}/close"
---

# Close an invoice

`POST /v1/invoices/{invoice_id}/close`

## Request

- Base URL: `https://api.zenoti.com`
- URL: `https://api.zenoti.com/v1/invoices/{invoice_id}/close`
- Auth: none required
- TypeScript: <https://skmtc.dev/zenoti/apis/zenoti-authentication/docs/v1/invoices/:invoice_id/close/post.ts> (a function with typed inputs; its response is checked against the schema)

This API closes the specified invoice. You can only close an invoice after the total invoice amount has been paid in full (which means that the balance amount of the invoice is zero).

You must provide appropriate data for the `invoice_id` parameter.

## Path parameters

- `invoice_id` string, required

## Response `200`

200

- object
  - `is_invoice_closed` boolean
  - `error` unknown
  - `status` integer

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/zenoti/apis/zenoti-authentication.md) - [All operations](https://skmtc.dev/zenoti/apis/zenoti-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/zenoti/apis/zenoti-authentication/revisions/e628f892391a?raw)
