---
title: "Update invoice fields"
method: PATCH
path: "/v1/{id}"
tags: ["Update an invoice"]
---

# Update invoice fields

`PATCH /v1/{id}`

Update invoice fields:
  * __dunning__ - Update dunning properties.
  * __dueDate__ - Update invoice due date.
Note: It is not possible to update both dunning and dueDate in the same request, as there are no invoice statuses that allow both updates simultaneously.

## Path parameters

- `id` string, required

## Query parameters

- `auditUser` string, required

## Request body

- UpdateInvoiceUsingPATCHRequest — Request for updating invoice fields. Only provided fields will be updated.
  - `dueDate` string, date — Date when invoice is due
  - `dunning` UpdateDunning
    - `reminder1TriggerDate` string, date
    - `blockTriggerDate` string, date
    - `reminder2TriggerDate` string, date
    - `collectionTriggerDate` string, date
    - `dunningStatus` 'STOPPED'

## Response `200`

Successfully updated 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

- `400` — Bad request
- `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)
