v1 - Credit Notes

Update clearing amount

Updates the clearing amount of a linked invoice payable

patch/v1/credit-notes/{creditNoteId}/invoice-payables/{invoicePayableId}

Request

  • Base URL
    https://light.inc (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

creditNoteIdstring uuid required
invoicePayableIdstring uuid required

Request body

amountinteger

Updated amount to clear in cents

Response

default response

companyIdstring uuid

ID of the company

amountinteger

Clearing amount in cents

currencystring
createdAtstring date-time

Timestamp when the link was created

updatedAtstring date-time

Timestamp when the link was last updated

Example response

{
  "creditNote": {
    "currency": "USD"
  },
  "invoicePayable": {
    "currency": "USD"
  },
  "currency": "USD"
}

Changes

No recorded changes to this operation across all 1 revision of this API.