# 613 - Documents button click (Receipt Header)

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/receipts/613-documents-button-click-receipt-header
>
> Eventos EXT_0613 ao carregar no botão Documentos do cabeçalho do recibo, antes de abrir os documentos pendentes; o Replace pode cancelar.

613 - Documents button click (Receipt Header)

| Event | Extension action set | Description |
| --- | --- | --- |
| [Before ](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/receipts/613-documents-button-click-receipt-header.md#before) | EXT_0613_1_Before | Will be executed before MSS opens the list of pending documents |
| [Replace](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/receipts/613-documents-button-click-receipt-header.md#replace) | EXT_0613_2_Replace | Will be executed before MSS opens the list of pending documents with the possibility to cancel the operation |
| [After](https://doc.sysdevmobile.com/mss/extensibility/functions-mss-to-kalipso/receipts/613-documents-button-click-receipt-header.md#after) | EXT_0613_3_After | Will be executed after MSS opens the list of pending documents |

### Before

Input Parameters

* inReceiptExercise – Exercise of the receipt;
* inReceiptType – Type of the receipt;
* inReceiptSeries – Series of the receipt;
* inReceiptNumber – Number of the receipt;
* inReceiptCode – Code of the selected customer;

### Replace

Input Parameters

* inReceiptExercise – Exercise of the receipt;
* inReceiptType – Type of the receipt;
* inReceiptSeries – Series of the receipt;
* inReceiptNumber – Number of the receipt;
* inReceiptCode – Code of the selected customer;

Output Parameters

* outContinue – Return code: 1 – Continue the process / 0 – Cancel;

### After

Input Parameters

* inReceiptExercise – Exercise of the receipt;
* inReceiptType – Type of the receipt;
* inReceiptSeries – Series of the receipt;
* inReceiptNumber – Number of the receipt;
* inReceiptCode – Code of the selected customer;
