# EXT\_Deposit\_Cancel

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-kalipso-to-mss/deposit/ext_deposit_cancel
>
> EXT_Deposit_Cancel anula um depósito bancário (exercício, série, número), com o motivo indicado ou escolhido na janela de motivos.

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;
