---
title: "Unlink customer credit from invoice"
method: POST
path: "/v1/customer-credits/{customerCreditId}/invoice-receivables/{invoiceReceivableId}/unlink"
tags: ["v1 - Customer Credits"]
---

# Unlink customer credit from invoice

`POST /v1/customer-credits/{customerCreditId}/invoice-receivables/{invoiceReceivableId}/unlink`

## Request

- Base URL: `https://light.inc` (the document declares no server; this is the origin it was published from)
- URL: `https://light.inc/v1/customer-credits/{customerCreditId}/invoice-receivables/{invoiceReceivableId}/unlink`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

Unlinks a customer credit from a sales invoice. If the customer credit has already been applied (CLEARED or PARTIALLY_CLEARED status), this will reverse the clearing entries in the ledger.

## Path parameters

- `customerCreditId` string, uuid, required
- `invoiceReceivableId` string, uuid, required

## Response `default`

default response

---

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