> 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-7.md).

# EXT\_Service\_Invoice

Function to create the invoice, or another document type, with the articles added to the service

*Input parameters:*

* inServiceExercise – Exercise of the technical service
* inServiceSeries - Series of the technical service&#x20;
* inServiceNumber - Number of the technical service
* inDocumentType - Code of the document to be created

Output parameters:

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