You would have to use the REST API as provided by ERPNext (https://frappeframework.com/docs/v14/user/en/guides/integration/rest_api) to build your own integration with a Mendix app.