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 Extract Information from Documents with the SAP Document AI Basic UI

Get machine learning model predictions for the documents you upload using the SAP Document AI basic UI.

Overview

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

You will learn

  • βœ”How to use the SAP Document AI basic UI to upload new documents
  • βœ”What schemas and SAP schemas are and how to use them
  • βœ”How to see and edit the extraction results
  • βœ”How to delete documents

Prerequisites

Steps

Intro

The core functionality of SAP Document AI is to automatically extract structured information from documents using machine learning. When you finish this tutorial, you will get field value predictions for the documents you upload to the SAP Document AI basic UI.


Step 1 Upload documents
β€”

SAP Document AI uses a globally pretrained machine learning model that currently obtains better accuracy results with invoices, payment advices, and purchase orders in the languages and for the countries and regions listed in Supported Languages and Countries/Regions. If you’re interested in processing other document types, try out the following tutorial missions:

See also [Supported Document Types] (https://help.sap.com/docs/document-information-extraction/document-information-extraction/supported-document-types) and [Supported File Types] (https://help.sap.com/docs/document-information-extraction/document-information-extraction/supported-file-types-all).

Upload to SAP Document AI any standard document type file (in PDF format or single-page JPEG, PNG, and TIFF format) that has content in headers and tables, such as an invoice.

As an alternative to uploading your own documents to SAP Document AI, you can use the following sample invoice files (right click on the link, then click Save link as to download the files locally):

  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 top right, click + (Upload Document).

    DOX-UI-App
    DOX-UI-App

  3. On the Select Document screen, choose the Document Type.

    DOX-UI-App
    DOX-UI-App

  4. Next, select the Schema.

    DOX-UI-App
    DOX-UI-App

    NOTE:

    You must select a schema when you add documents. By default, SAP Document AI proposes the appropriate preconfigured SAP schema for your document type. To see the header and line item fields that are available in an SAP schema, choose the desired Schema on the Select Document screen, and then choose Extraction Fields to display the schema details.

    You can also create schemas of your own. To find out how to create schemas, see Create Schema for Purchase Order Documents and Create Schema for Custom Documents.

    For more information about schemas, see step 2 of this tutorial, Understand schemas.

  5. Drop files directly or click + (Upload) to upload one or more document files. Click Confirm.

    DOX-UI-App
    DOX-UI-App

    You see the Document Name, Upload Date, and Status of the documents you have just uploaded.

    DOX-UI-App
    DOX-UI-App

    The status changes from PENDING to DONE. This means the selected header fields and line items have been extracted, and the extraction results are ready to be validated and changed if necessary. If the status changes from PENDING to FAILED, this means it was not possible to get the extraction results, and you need to upload the documents again.

    DOX-UI-App
    DOX-UI-App

CAUTION:

When using the free tier option for SAP Document AI or a trial account, be aware of the technical limits listed in Free Tier Option and Trial Account Technical Constraints.

Step 2 Understand schemas
+
Step 3 See and edit extraction results
+
Step 4 Delete documents
+

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. Upload documents 2. Understand schemas 3. See and edit extraction results 4. Delete documents

Learn more →