Update a deposit slip
Corrects the date a slip was taken to the bank. Nothing else about a slip can be changed. Requires the deposit_slips:write permission.
Authorization
AuthorizationstringrequiredPath parameters
depositSlipIdstringrequiredSnowflake id of the deposit slip.
Body
application/json
deposited is required. The bank account, the reference and the set of transactions are fixed for the life of the slip — to change which transactions are on it, delete the slip and create a new one.
depositedstring · daterequiredThe corrected deposit date, read in the company's timezone.
Response
200 · The deposit slip after the change, with its entries.
idstringSnowflake id of the deposit slip.
bankAccountIdstringThe bank account the money was taken to. Every transaction on a slip belongs to this one account.
bankAccountNamestringDisplay name of that bank account, resolved for you.
referencestringThe slip's human-facing reference, drawn from a per-company sequence that never reuses a number. It is assigned by MagicDoor and cannot be set or changed.
depositedstring · dateThe date the slip was taken to the bank, in the company's timezone.
transactionCountintegerHow many transactions the slip groups.
totalAmountnumberThe sum of the grouped transactions' amounts, as a decimal. Every transaction on a slip is money coming in, so this is always positive.
creatorobjectWho created the slip. Deprecated mirrors of id — propertyManagerId, tenantId, vendorId, ownerId — are also present, whichever matches type.
createdstring · date-timeWhen the slip was created, in the company's timezone.
updatedstring · date-timeWhen the slip was last changed, in the company's timezone.
entriesEntry[]The transactions the slip groups, each with the snapshot taken when it was added.