Deploying the Docentric e-Invoice Validator to IIS or Azure Container Apps

As you saw in a previous article, Docker is the fastest way to get started with the Docentric e-Invoice Validator.

But Docker isn’t the only option. Depending on your environment and deployment preferences, you can also run the validator:

  • Locally using IIS
  • In Azure using container apps
  • As a standalone app with the exe file

This article walks you through the options.

Running the validator locally with IIS

The Docentric e-Invoice Validator is an ASP.NET Core 10 application with a React frontend. It already includes a web.config file, so it can be hosted directly in IIS.

This setup is useful if:

  • You’re on Windows
  • IIS is already part of your local setup
  • You want to run the validator without Docker

Prerequisites

Before you start, make sure the following are installed:

  1. .NET 10 SDK: required for building the application.
  2. .NET 10 Hosting Bundle: required for IIS integration. This installs the ASP.NET Core Module (AspNetCoreModuleV2).
  3. Node.js 20 or later: required to build the React frontend.
  4. Java / OpenJDK 11 or later: the validator invokes a Java-based validation engine (Mustang CLI).
  5. IIS enabled on Windows: enable it via Turn Windows features on or off if it’s not already enabled.

Publish the application

Open a Terminal window as administrator and run the command:

This builds the:

  • ASP.NET Core backend
  • React frontend
  • web.config file

And places all the output results in the publish folder (C:\inetpub\einvoice-validator)

Create an IIS site

You will host the validator as a standalone IIS site.

  1. Go to Application Pools
  2. Create a new pool
  3. Set:
    1. Name: EInvoiceValidator
    2. .NET CLR version: No Managed Code
    3. Managed pipeline mode: Integrated

Next, create a new site:

  1. Right-click Sites → Add Website
  2. Set:
    1. Site name: EInvoiceValidator
    2. Application pool: select the one you've just created
    3. Physical path: C:\inetpub\einvoice-validator
    4. Binding: HTTP on a free port, for example, 8080

Ensure Java is available

The validator runs the Mustang CLI using Java.

Make sure:

  • Java (OpenJDK 11+) is installed
  • The java command is available on the system PATH, not just the user PATH

This is important because IIS app pools use system-level environment variables.

Test and run

Browse to http://localhost:8080.

The web UI should load, and you can start validating invoices.

Troubleshooting IIS issues

  • HTTP 500.19 error: usually means the .NET Hosting Bundle is missing. Install it and run iisreset.
  • 502.5 / process failure: the .NET runtime is not found. Verify the Hosting Bundle installation.
  • Java not found: confirm java -version works from a system command prompt.

Running the validator in Azure

If you want to run the validator in the cloud, containers are the most reliable option.

The Docentric e-Invoice Validator is already published as a Docker image on Docker Hub, with all dependencies included. This makes it a good fit for Azure Container Apps.

Deploying to Azure Container Apps (using Docker Hub)

This approach requires no local builds and no Azure CLI scripting if you prefer the Azure Portal.

Create a Container Apps environment

  1. Open the Azure Portal
  2. Search for Container Apps
  3. Click Create > Container App
  4. Set:
    1. Resource group: create a new one, for example, rg-einvoice
    2. Container app name: einvoicevalidator
    3. Region: choose your preferred region
  5. Click Next

Configure the Container App

In the Container tab:

  1. Container:
    1. Disable Quickstart image
    2. Image source: Docker Hub or other registries
    3. Image: docentric/e-invoice-validator
    4. Tag: latest
  2. CPU and memory:
    1. 0.5 CPU cores, 1 Gi memory

Ingress

In the Ingress tab:

  1. Ingress:
    1. Enable ingress
    2. Allow traffic from anywhere
    3. Target port: 8080

Finally, click Review + create, and once it validates, click Create.

Access the application

Once deployment completes, open the Container App in the portal. The Application URL is shown on the Overview page, for example:

Open the URL and the validator will load.

Use the standalone EXE

After running the publish command from the IIS section, a EXE file is created. You can run this file locally.

What’s next

You’ve now seen several supported ways to run the Docentric e-Invoice Validator:

  • Locally with Docker
  • Locally with IIS
  • In Azure using managed containers

👉 Next step: Pick the deployment option that fits your environment and validate a sample invoice end to end.

Related articles

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Docentric respects your privacy. Learn how your comment data is processed >>

Docentric respects your privacy. Learn how your comment data is processed >>