Light APIv1.0.0

API / Reference / Expenses

Update line item

PATCH https://api.light.inc/v1/expenses/{expenseId}/line-items/{lineItemId}

Updates an existing expense line item

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

  • expenseId string · uuidrequired

  • lineItemId string · uuidrequired

Request body

application/json;charset=UTF-8

  • originalAmount integer · int64

  • billingAmount integer · int64

  • accountId string · uuid

  • costCenterId string · uuid

  • description string

  • reimbursementCategoryId string · uuid

Response

  • id string · uuid

  • expenseId string · uuid

  • originalAmount integer · int64

  • billingAmount integer · int64

  • accountId string · uuid

  • costCenterId string · uuid

  • description string

  • reimbursementCategoryId string · uuid

  • createdAt string · date-time

  • updatedAt string · date-time