--- title: "Developing integration handlers" slug: "developing-integration-handlers" tags: ["d365fscm", "concept", "FSCM V2.0.0.2"] updated: 2025-07-22T09:07:40Z published: 2025-07-22T09:07:40Z canonical: "help.dox42.com/developing-integration-handlers" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.dox42.com/llms.txt > Use this file to discover all available pages before exploring further. # Developing integration handlers To create a new integration handler, there should be a few classes developed: ## Integration handler contract class This class determines parameters, which should be passed in the integration request. It should be a classic contract class. As an example, see the class `Dox42TutorialIntegrationHandler_SalesInvoiceContract_SF `developed for the sales invoice request. ![Code snippet showing data contract attributes for invoice handling in C# programming.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365FSCM_integration_Dox42TutorialIntegrationHandler_SalesInvoiceContract_SF_example.png) Example `Dox42TutorialIntegrationHandler_SalesInvoiceContract_SF` ## Integration handler class This class contains the processing logic. It should implement the logic to run a report as well as any other processing logic needed. As an example, see the class `Dox42TutorialIntegrationHandler_SalesInvoice_SF`, developed for the sales invoice request. - The Handler class should have `Dox42IntegrationHandlerAttribute_SF` attribute. - ![Code snippet showing Dox42 integration handler attributes and class definition.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/developing-integration-handlers-image-rjatocvw.png) Handler class with `Dox42IntegrationHandlerAttribute_SF` attribute There should be a static handler method added which having `Dox42IntegrationHandlerMethodAttribute_SF` attribute with the integration handler contract class specified. This handler method must have a parameter of the class `Dox42IntegrationHandlerDataContract_SF` and return an object of the class `Dox42IntegrationHandlerExecutionResult_SF`. ![Code snippet demonstrating error handling and invoice processing in a programming context.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365FSCM_integration_handler_class_ex1.png)![Code snippet demonstrating invoice handling and error management in a software application.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365FSCM_integration_handler_class_ex2.png)![Code snippet demonstrating invoice printing and report generation in a programming context.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/D365FSCM_integration_handler_class_ex3.png)