# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.sysdevmobile.com/mss-extensibility/mss-5.1/functions-kalipso-to-mss/service/ext_service_cancel-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
