API /
Reference /
Expenses
Create line item
POST
https://api.light.inc/v1/expenses/{expenseId}/line-items
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
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