---
title: "Update credit note application"
method: PATCH
path: "/invoice-credit-notes/{id}/"
tags: ["Credit Note Applications"]
---

# Update credit note application

`PATCH /invoice-credit-notes/{id}/`

## Request

- Base URL: `https://api.wafeq.com/v1`
- URL: `https://api.wafeq.com/v1/invoice-credit-notes/{id}/`
- Auth: API key in header `Authorization`

Change the amount or date of an application in place. Its journal entry is updated rather than replaced. The credit note and invoice cannot change: to move an application, delete it and create another.

## Path parameters

- `id` string, required

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- PatchedapiV1InvoiceCreditNoteUpdate: Change the amount or date of an application. Its credit note and invoice cannot change.
  - `amount` number, double: The new amount. It must be positive.
  - `date` string, date: The new date the application is posted on. It must fall in an open period.

## Response `200`

- ApiV1InvoiceCreditNoteRead: An amount of a credit note applied to an invoice, which reduces what the invoice still owes.
  - `amount` number, double, required: The amount of the credit note applied to the invoice.
  - `created_ts` string, date-time, required: The timestamp in UTC when the credit note was applied.
  - `credit_note` string, required: The ID of the credit note applied.
  - `date` string, date, required: The date the application is posted on.
  - `id` string, required: The ID of the application.
  - `invoice` string, required: The ID of the invoice the credit note is applied to.
  - `journal` string, nullable, required: The ID of the journal entry the application posted, or null while either document is a draft. Use GET /v1/journal-line-items/?journal={journal_id} to retrieve the accounting entries.
  - `modified_ts` string, date-time, required: The timestamp in UTC when the application last changed.

## Changes

- **2026-11-03** `b8f5e10134b4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wafeq/apis/wafeq-public-api/changes/invoice-credit-notes/:id/patch.md)

---

[API](https://skmtc.dev/wafeq/apis/wafeq-public-api.md) - [All operations](https://skmtc.dev/wafeq/apis/wafeq-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wafeq/apis/wafeq-public-api/revisions/b8f5e10134b4?raw)
