---
title: "Write off invoice"
method: POST
path: "/v1/{id}/write-off"
tags: ["Update an invoice"]
---

# Write off invoice

`POST /v1/{id}/write-off`

Writes off the remaining unpaid amount of the invoice.

## Path parameters

- `id` string, required

## Query parameters

- `auditUser` string, required

## Response `200`

Successfully written off invoice for given invoice id

- ResourceResponse
  - `description` string — Short description of the result of the action
  - `id` string — Will contain the ID of the resource that has been created or updated

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Invoice does not exist
- `500` — Internal server error

---

[API](https://skmtc.net/enfuce/apis/transfer-api.md) · [All operations](https://skmtc.net/enfuce/apis/transfer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enfuce/transfer-api/revisions/dc4a41118f80/schema)
