v1 - Expenses

Update expense

Updates an existing expense

patch/v1/expenses/{expenseId}

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

expenseIdstring uuid required

Request body

originalCurrencystring nullable
performedDatestring date nullable

Example request

{
  "originalCurrency": "USD"
}

Response

default response

idstring uuid
receiptDocumentKeystring
originalCurrencystring
billingCurrencystring
status'CREATED' | 'IN_DRAFT' | 'SUBMITTED_FOR_REVIEW' | 'CANCELLED'

⚠️ This enum is not exhaustive; new values may be added in the future.

userIdstring uuid
companyIdstring uuid
performedDatestring date
detailedDescriptionstring
createdAtstring date-time
updatedAtstring date-time

Example response

{
  "originalCurrency": "USD",
  "billingCurrency": "USD"
}

Changes

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