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

# EXT\_Service\_ValidateBeforeInvoice

Function to validate if MSS is configured to create any document with service articles

*Input parameters:*

* inServiceExercise – Exercise of the technical service
* inServiceSeries - Series of the technical service&#x20;
* inServiceNumber - Number of the technical service

Output parameters:

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