Get expense document
GET
https://api.light.inc/v1/expenses/{expenseId}/document
Returns the attached receipt document as a PDF download
Answers 307 Temporary Redirect to a pre-signed download URL valid for two hours, not the PDF bytes; follow it without your Light Authorization header.
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
-
expenseIdstring · uuidrequired
Response
Returns a file (application/pdf) rather than JSON.