API / Reference / Invoice Payables
Get invoice document
GET
https://api.light.inc/v1/invoice-payables/{invoicePayableId}/document
Returns the attached document for an invoice payable
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
-
invoicePayableIdstring · uuidrequired
Query parameters
-
documentTypestring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
ORIGINALGENERATED
Response
Returns a file (application/pdf) rather than JSON.