# EXT\_Service\_Close

> MSS documentation · https://doc.sysdevmobile.com/mss/extensibility/functions-kalipso-to-mss/service/ext_service_cancel-1
>
> EXT_Service_Close muda o estado de um serviço técnico para fechado e executa os processos automáticos, como a faturação.

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
* 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
