Get a transaction receipt
Fetches the receipt for one of the lease's transactions, including the stored PDF and the transaction details as they stood when the receipt was made.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease the transaction is on. A Snowflake id, sent as a decimal string.
transactionIdstringrequiredThe transaction to get the receipt for. A Snowflake id, sent as a decimal string.
Response
200 · The receipt.
idstringId of the receipt. A Snowflake id, sent as a decimal string.
transactionIdstringThe transaction the receipt is for. A Snowflake id, sent as a decimal string.
receiptNumberstringHuman-readable receipt number.
issueDatestring · date-timeWhen the receipt was issued, in the company's timezone.
totalAmountnumberThe amount receipted, as a decimal. Taken from the transaction as it stood when the receipt was made.
paymentMethodenum<string>How the money moved, as recorded on the transaction.
referencestringCheque number or other reference from the transaction.
transactionDatestring · date-timeThe date the transaction counted for.
transactionUpdatedstring · date-timeWhen the transaction was last changed.
lastSentstring · date-timeWhen the receipt was last emailed out. Absent until it has been sent.
fileobjectThe stored receipt PDF.