API / Reference / Credit Notes
Unlink credit note from invoice payable
DELETE
https://api.light.inc/v1/credit-notes/{creditNoteId}/invoice-payables/{invoicePayableId}
Removes the link between a credit note and an invoice payable
On a bill the note has already cleared (PARTIALLY_PAID, COMPLETED) or an UNPAID bill, the clearing is reversed in the ledger and the bill returns to UNPAID or PARTIALLY_PAID; on a draft bill only the link row is removed.
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
creditNoteIdstring · uuidrequired -
invoicePayableIdstring · uuidrequired
Response
This endpoint returns no content.