201Successful Response
Schema: SuccessEnvelope_BankDepositResponse_
successbooleanmessagestringcodestringdataBankDepositResponse
/api/v1/bank-depositsGroup undeposited receipts and ad-hoc lines into a bank deposit.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: BankDepositCreateRequest
deposit_to_ledger_idstringrequiredBank/cash account the money lands in.
deposit_datestring · dateDeposit date. Defaults to today.
sales_receipt_idsarray · stringUndeposited sales receipts to group into this deposit.
other_linesarray · OtherDepositLineOtherDepositLineOptional ad-hoc deposit lines (non-undeposited sources).
from_ledger_idstringrequiredAccount credited for this line (e.g. interest income).
descriptionstringamountintegerrequiredLine amount in cents.
numberstringmemostringcurrencystringSchema: SuccessEnvelope_BankDepositResponse_
successbooleanmessagestringcodestringdataBankDepositResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject