New Introducing the Light partner portalPartner portal Join the movement

Get credit note document

GET
https://api.light.inc/v1/credit-notes/{creditNoteId}/document

Redirects to a temporary download link for the credit note's PDF document. The link is valid for 30 minutes and can be opened by anyone who holds it; request a new one when you need the file.

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

  • creditNoteId string · uuidrequired

Response

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