Get the full ledger invoice PDF
Returns the stored PDF that covers everything on the lease's charge ledger, as a file record with the URL to download it from. The response is the file's metadata, not the PDF bytes.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
leaseIdstringrequiredThe lease whose ledger invoice you want. A Snowflake id, sent as a decimal string.
example: 1830472847398404096
Response
200 · The ledger invoice file.
idstringId of the file. A Snowflake id, sent as a decimal string.
createdstring · date-timeWhen the file was stored, in the company's timezone.
namestringOriginal file name.
extensionstringFile extension.
sizeintegerSize in bytes.
contentTypestringMIME type.
secureUrlobjectWhere to download the file. Requires an authorised company request.
fileIdstringdeprecatedSame value as id.
fileNamestringdeprecatedSame value as name.
signedUrlstringdeprecatedPre-signed download URL.
signedThumbUrlstringdeprecatedPre-signed thumbnail URL.
fileSizeintegerdeprecatedSame value as size.
uploadedstring · date-timedeprecatedSame value as created.
claimedbooleandeprecatedInternal debug flag. Do not depend on it.