> 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-mss-to-kalipso/receipts/613-documents-button-click-receipt-header.md).

# 613 - Documents button click (Receipt Header)

613 - Documents button click (Receipt Header)

<table data-header-hidden><thead><tr><th width="199.33333333333331">Event</th><th>Extension action set</th><th>Description</th></tr></thead><tbody><tr><td>Event</td><td>Extension action set</td><td>Description</td></tr><tr><td><a href="#before">Before </a></td><td>EXT_0613_1_Before</td><td>Will be executed before MSS opens the list of pending documents</td></tr><tr><td><a href="#replace">Replace</a></td><td>EXT_0613_2_Replace</td><td>Will be executed before MSS opens the list of pending documents with the possibility to cancel the operation</td></tr><tr><td><a href="#after">After</a></td><td>EXT_0613_3_After</td><td>Will be executed after MSS opens the list of pending documents</td></tr></tbody></table>

### Before

Input Parameters

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

### Replace

Input Parameters

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

Output Parameters&#x20;

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

### After

Input Parameters&#x20;

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