> 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/service/ext_service_cancel-1.md).

# EXT\_Service\_Close

Function to change the state of the service to closed, it runs all the automatic processes like invoicing the service.

*Input parameters:*

* inServiceExercise – Exercise of the technical service
* inServiceSeries - Series of the technical service&#x20;
* inServiceNumber - Number of the technical service
* inSignature1File - Name of the file with customer signature, it must be saved in the MSS Temp folder (**PVAR(MSSFrameworkV51, MultiCompany\_Folder) + "\Temp"**)
* inSignature2File - Name of the file with technic signature, it must be saved in the MSS Temp folder (**PVAR(MSSFrameworkV51, MultiCompany\_Folder) + "\Temp"**)

Output parameters:

* outResultCode – 0 – OK / -3 – Error or user canceled
