API / Reference / Invoice Receivables
Delete invoice line
DELETE
https://api.light.inc/v1/invoice-receivables/{invoiceReceivableId}/lines/{lineId}
Deletes an invoice line item
Only while the invoice is DRAFT (INVOICE_RECEIVABLE_CANNOT_BE_MODIFIED). Answers with an empty body; unknown line is 404 INVOICE_RECEIVABLE_LINE_NOT_FOUND.
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
-
invoiceReceivableIdstring · uuidrequired -
lineIdstring · uuidrequired
Response
This endpoint returns no content.