LedgerLou Docs is optimized for desktop.

Please open this page on a device with a wider screen.

Journal

Download document

Returns the binary file of a previously uploaded document. The response contains the original MIME type and a Content-Disposition header with the original file name.

GET /v1/documents/:id/file
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token.
Responses
200
Success
400
INVALID_INPUT Required fields are missing or values do not match the expected format.
404
NOT_FOUND The requested resource was not found.
GET /v1/documents/:id/file
cURL
-cmd">curl --request -method">GET -punct">\
  --url 'https://api.ledgerlou.de/v1/documents/:id/file' -punct">\
  --header 'Authorization: Bearer ll_your_key'
200 Response
JSON
Binary file with `Content-Type` (e.g. `application/pdf`) and `Content-Disposition: attachment; filename="originalname.pdf"`.