---
title: "Apply credit note to invoice"
method: POST
path: "/invoice-credit-notes/"
tags: ["Credit Note Applications"]
---

# Apply credit note to invoice

`POST /invoice-credit-notes/`

## Request

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

Apply an amount of a credit note to an invoice of the same customer and currency. Both documents must be posted. The application posts a journal entry on its date, which defaults to the credit note's date and must fall in an open period, and lowers the balance of both documents. A credit note can be applied to the same invoice more than once.

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- ApiV1InvoiceCreditNoteCreate: Apply an amount of a posted credit note to a posted invoice of the same customer.
  - `amount` number, double, required: The amount to apply. It must be positive.
  - `credit_note` string, required: The ID of the credit note to apply.
  - `date` string, date: The date the application is posted on. Defaults to the credit note's date and must fall in an open period.
  - `invoice` string, required: The ID of the invoice to apply the credit note to.

## Response `201`

- 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/post.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)
