Light APIv1.0.0

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

  • invoicePayableId string · uuidrequired

Query parameters

  • documentType string

    ⚠️ This enum is not exhaustive; new values may be added in the future.

    One of ORIGINAL GENERATED

Response

Returns a file (application/pdf) rather than JSON.