---
title: "Mark invoice as cancelled"
method: PATCH
path: "/invoices/{id}/status/cancelled"
tags: ["Invoices"]
---

# Mark invoice as cancelled

`PATCH /invoices/{id}/status/cancelled`

## Request

- Base URL: `http://localhost/app4legal/api/v2/money`
- URL: `http://localhost/app4legal/api/v2/money/invoices/{id}/status/cancelled`
- Auth: OAuth 2
  - Password
  - Token URL: `http://localhost/app4legal/api/v2/core/login`
- TypeScript: <https://skmtc.dev/app4legal/apis/a4l-money-api/docs/invoices/:id/status/cancelled/patch.ts> (a function with typed inputs; its response is checked against the schema)

Mark invoice as cancelled

## Path parameters

- `id` integer, required

## Response `200`

Successful operation

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden

## Changes

- **2026-08-06** `e0d144609998`: 2 info
  - api operation id `markInvoiceAsCancelled` removed and replaced with `709ee406f25192facb6b0ec314db1d0d`
  - the endpoint scheme security `passport` was added to the API

[Operation history](https://skmtc.dev/app4legal/apis/a4l-money-api/changes/invoices/:id/status/cancelled/patch.md)

---

[API](https://skmtc.dev/app4legal/apis/a4l-money-api.md) - [All operations](https://skmtc.dev/app4legal/apis/a4l-money-api/llms.txt) - [OpenAPI document](https://skmtc.dev/app4legal/apis/a4l-money-api/revisions/e0d144609998?raw)
