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 Machine Learning to Enrich Business Data with Swagger UI

Create, update, list and delete enrichment data using the Data API business entity from SAP Document AI, one of the SAP AI Business Services in SAP Business Technology Platform (SAP BTP).

Overview

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

You will learn

  • How to create, update, list and delete enrichment data using the business entity
Juliana Morais J Juliana Morais July 28, 2025
Created by June 8, 2020
Contributors

Prerequisites

Steps

Intro

You can also use SAP Document AI to enrich the information extracted from documents with your own master data records. You can, for example, match enrichment data entities, such as supplier IDs, with the document Extracted Header Fields, such as sender names.

When enriching data with SAP Document AI, you use 2 types of entities that you find in business documents. The business entity represents different kinds of organizations with which you deal as a company. It can represent, for example, suppliers and customers. The employee entity represents an employee in the company.

When you finish this tutorial, you will have explored all Data API functionalities to create, update, list and delete enrichment data using the business entity type. See Enrichment Data API documentation.


Step 1 Get client

After performing step 1 of the tutorial Use Machine Learning to Extract Information from Documents with Swagger UI to access and authorize the SAP Document AI Swagger UI, you need to create a client.

When you create a service instance for SAP Document AI, a default client is automatically created. A client is used in most of the endpoints to distinguish and separate data.

Free tier and trial users can only create one client. To see your list of clients:

  1. Expand the GET /clients endpoint.

  2. Click Try it out.

  3. Enter a maximum number of clients to be listed in the limit field.

  4. Click Execute.

DOX
DOX

You should receive a response like the following:

DOX
DOX

Step 2 Delete client
+
Step 3 Create client
+
Step 4 Create enrichment data
+
Step 5 See created enrichment data status
+
Step 6 Create configuration
+
Step 7 Create data activation
+
Step 8 Upload document to get prediction with enrichment data
+
Step 9 Get enrichment data prediction
+
Step 10 See all enrichment data entries
+
Step 11 Delete enrichment data
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 11
1. Get client 2. Delete client 3. Create client 4. Create enrichment data 5. See created enrichment data status 6. Create configuration 7. Create data activation 8. Upload document to get prediction with enrichment data 9. Get enrichment data prediction 10. See all enrichment data entries 11. Delete enrichment data

Learn more →