Invoice Processing (Use Case)

From Grooper Wiki

This article is about the current version of Grooper.

Note that some content may still need to be updated.

2025

You may download the ZIP files below for use in your own Grooper environment (version 2025). These are Project ZIP files.

This is a Batch with example email scenarios:

This is a normal ZIP file containing multiple image based invoice examples:

Introduction

Invoice Processing showcases how Grooper can automate the capture, understanding, validation, and organization of invoice documents using a combination of DI OCR, data extraction, review workflows, and AI-enabled capabilities. This article demonstrates a realistic business use case that reflects how organizations process accounts payable documents in production environments.

The intention of this article is to move beyond isolated feature demonstrations and show how Grooper’s technologies work together as part of a complete invoice processing solution. Rather than focusing on a single Activity or configuration object, this guide illustrates how invoices move through a coordinated workflow—from document ingestion and recognition to structured data extraction, validation, review, and downstream use.

This use case highlights several core Grooper concepts, AI Extract, Azure DI OCR, and more. This is a one-size-fits-all approach to invoice processing.

By the end of this guide, readers will have a foundational understanding of how Grooper can be used to build an end-to-end invoice processing solution and how the platform’s modular architecture supports scalable, production-ready document automation workflows.

Setup for AI Extract

This portion of the article focuses on configuring Grooper’s AI Extract capability so documents can be analyzed by a Large Language Model (LLM) and mapped into a Data Model. It involves setting up an LLM Connector within the Grooper Repository and selecting an appropriate model through the Data Model’s Fill Methods.

The goal of this configuration is to enable Grooper to interpret document content and populate generic fields—such as document identifiers, dates, and party information—without relying on rigid, template-based extraction. This setup establishes the connection between Grooper and the external LLM provider, ensuring AI Extract can execute during Batch Processing.

  1. Select the Root node, then click the ellipsis button for the Options property to open the Options editor.
  2. Add an LLM Connector, then be sure to properly configure it.
    • The most important configuration is choosing a service provider for the Service Provider property, and properly configuring it.
  3. Expand the Node Tree and select the Data Model from the provided "AI Invoice Processing (File Import)" Project, then click the ellipsis button for the Fill Methods property to open the "Fill Methods" editor.
  4. Expand the Generator sub-properties and be sure to select a desired model for the Model property.

Setup for Azure DI OCR

This section covers configuring the Azure DI OCR Profile, which is responsible for converting image-based content into machine-readable text. By supplying an Azure Computer Vision API key and matching the correct region, Grooper can leverage Azure DI's OCR engine to process scanned or image-only documents.

This step ensures that all documents—whether they contain embedded text or not—have usable text content for downstream processing. OCR output is critical not only for AI Extract, but also for search indexing, as it provides the textual data that both extraction models and search engines rely on.

  1. Select the Root node, then click the ellipsis button for the Options property to open the Options editor.
  2. In the "Options" editor, add an "Azure Document Intelligence" option, then properly configure it.
    • The most important property is the API Key.
  3. Expand the Node Tree and right-click the "Azure OCR" OCR Profile from the provided "AI Invoice Processing (File Import)" Project, then select "Rename" from the pop-out menu.
  4. Set the New Name property to "Azure DI OCR".
  5. Right-click the OCR Engine property, then select "Reset" from the pop-out menu.
  6. Set the OCR Engine property to "Azure DI OCR".

Final setup

Considering emails and scanning

For More Information