qbo_deposits_update
Update a QuickBooks Online deposit record by providing only the fields to change; requires deposit ID and SyncToken.
Instructions
Sparse-update an existing Deposit record. Only provided fields are changed; Id and SyncToken are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Line | Yes | Deposit lines. Each line is either {Amount, DetailType: "DepositLineDetail", DepositLineDetail: {AccountRef, Entity?, PaymentMethodRef?}} OR {Amount, LinkedTxn: [{TxnId, TxnType}]} for linked transactions. | |
| TxnDate | No | Deposit date (YYYY-MM-DD) | |
| CashBack | No | Optional cash-back amount: {Amount, AccountRef: {value}, Memo?} | |
| DocNumber | No | Deposit reference number | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) | |
| depositId | Yes | The Deposit ID to update | |
| PrivateNote | No | Private note | |
| DepositToAccountRef | Yes | Bank account receiving the deposit, e.g. {"value": "35"} |