Get the deposit ledger
Returns the running deposit ledger for the lease: every deposit, payment, return and transfer in order, each with the balance after it. This is the money the company is holding, not rent.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease whose deposit ledger you want. A Snowflake id, sent as a decimal string.
Query parameters
limitintegerHow many entries to return, between 1 and 300. Leave it out for the server default.
asOfstring · date-timeOnly entries up to this instant, so you can see the ledger as it stood on a past date.
Response
200 · The deposit ledger.
currentBalancenumberDeposit held right now, counting money that has not settled.
postedBalancenumberDeposit held counting only settled money.
currentlyProcessingInnumberDeposit money on its way in that has not settled.
currentlyProcessingOutnumberDeposit money on its way out that has not settled.
lastPaymentDatestring · dateDate of the most recent deposit payment.
entriesLeaseDepositLedgerEntry[]The ledger lines, in order.
bankAccountsBankAccount[]Bank accounts referenced above.
chartOfAccountsChartOfAccount[]Chart-of-account records referenced above.
tenantsTenant[]The tenants referenced by the entries.
400 · The request failed validation. `errors` maps each field name to what was wrong with it.
401 · The access token is missing, expired, or not for this company.
404 · No lease matched the id, or it belongs to another company.
A security deposit is money the company holds, not rent income, so it runs on a ledger of its own with its own balance. Paying rent never touches it. Move deposit money onto the rent ledger with the allocate endpoint, and give it back to the tenant with the release endpoint.