v1 - Expenses
Create expense
Creates an expense synchronously from a receipt uploaded with shouldAutoCreateExpense: false and the given line items. No OCR runs: the fields you send are what is stored. A PDF receipt is kept as-is; JPEG, PNG, HEIC and TIFF receipts are converted to PDF first. The expense is created as a draft for the authenticated user and is included in the next POST /v1/expenses/submit.
post/v1/expenses
Request
- Base URLhttps://light.inc (the document declares no server; this is the origin it was published from)
- Auth
- API key in header Authorization
- or HTTP bearer
Headers
X-Idempotency-Keystring
Request body
Example request
{
"originalCurrency": "USD"
}Response
default response
Example response
{
"originalCurrency": "USD",
"billingCurrency": "USD"
}Changes
No recorded changes to this operation across all 1 revision of this API.