create_deposit
Create a draft bank deposit from undeposited payments or receipts, linking bank and GL accounts; post it with post_deposit after user confirmation.
Instructions
Create a bank deposit from undeposited payments/receipts (DR Bank, CR Undeposited Funds on posting). Created as a DRAFT; use post_deposit to post it. Preview and confirm with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Deposit lines (the payments/receipts being deposited) | |
| depositDate | Yes | Deposit date (YYYY-MM-DD) | |
| cashBackMemo | No | Cash-back memo | |
| currencyCode | No | ISO currency code | |
| cashBackAmount | No | Cash-back amount withheld | |
| bank_Account_Id | Yes | Destination Bank_Account_Id | |
| cashBackAccount_Id | No | GL account id for cash back | |
| depositDescription | No | Deposit description | |
| depositToGL_Account_Id | Yes | Destination GL cash account id | |
| bank_TransactionNormalized_Id | No | Linked normalized bank transaction id |