---
title: "Unlink customer credit"
method: DELETE
path: "/v1/customer-credits/{customerCreditId}/invoice-receivables/{invoiceReceivableId}"
tags: ["v1 - Customer Credits"]
deprecated: true
---

# Unlink customer credit

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

## 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}`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer

> **Deprecated.**

Deprecated: Use POST /{customerCreditId}/invoice-receivables/{invoiceReceivableId}/unlink instead. 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)
