> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/mss-extensibility/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/mss-extensibility/mss-5.1/functions-kalipso-to-mss/deposit/ext_deposit_cancel.md).

# EXT\_Deposit\_Cancel

MSS 5.1 - Extensibility - Functions Kalipso to MSS - Deposit - EXT\_Deposit\_Cancel

Function to ask MSS to cancel a bank deposit.

*Input parameters*:

* inDepositExercise – Exercise of the deposit;
* inDepositSeries – Series of the deposit;
* inDepositNumber – Number of the deposit;
* inCancelCode – If not empty MSS will cancel the deposit with this motive code, otherwise will open MSS cancel motive selection window;

*Output parameters*:

* outResultCode – Return code: 0 – Done / < 0 User canceled selection or error occurred;
