SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Use Trial to Extract Information from Standard Documents with Generative AI and SAP Document AI

Learn how to use SAP Document AI with generative AI to automate the extraction of information from standard documents using large language models (LLMs) and the solution's machine learning models.

Overview

🎓 beginner 25 min. Machine LearningBeginnerArtificial IntelligenceCloudSAP Business Technology PlatformSAP Ai ServicesSAP Document Ai

You will learn

  • How to create and activate your own schema for standard documents
  • How to define the fields that you want to extract from a standard document
  • How to upload a standard document to the SAP Document AI basic UI
  • How to get extraction results using the schema you’ve created, LLMs, and the solution’s machine learning models.
Juliana Morais J Juliana Morais July 28, 2026
Created by March 26, 2025
Contributors

Prerequisites

Prerequisites

Steps

Intro

In the tutorial Use Trial to Extract Information from Custom Documents with Generative AI and SAP Document AI, you created a schema and defined the fields that you wanted to extract from custom document types using LLMs. In addition, you used the schema to extract field values from the documents that you uploaded to SAP Document AI.

It’s also possible to use LLMs to extract information from standard document types (invoice, payment advice, and purchase order). In this tutorial, we’re going to create a schema for a standard document type (invoice) and use both generative AI and the solution’s machine learning models to get the extraction results.


Step 1 Create schema

Before you upload our sample invoice file to SAP Document AI, you’ll create a corresponding schema.

  1. Open the SAP Document AI basic UI, as described in the tutorial: Use Trial to Subscribe to the SAP Document AI Basic UI.

  2. In the left navigation pane, click Schema Configuration.

    LLM
    LLM

  3. To create your own schema, click Create.

    LLM
    LLM

  4. In the dialog that opens, enter a name for your own schema – for example, invoice_schema. Note that the name can’t include blanks. Next, select Invoice as your Document Type.

  5. Click Create to create the schema.

    LLM
    LLM

  6. Your schema now appears in the list. Access the schema by clicking on it.

    LLM
    LLM

You can also adapt copies of the appropriate preconfigured SAP schemas to extract information from standard document types. However, we won’t cover that approach in this tutorial.

Step 2 Add data fields
+
Step 3 Activate schema
+
Step 4 Get extraction results
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Create schema 2. Add data fields 3. Activate schema 4. Get extraction results

Learn more →