## Title How to Generate API Keys Using UiPath AI Center for Invoice PDF Extraction with Document Understanding

Scenario

We need to upload invoice PDF documents and extract invoice data using UiPath AI Center and Document Understanding.
The requirement is to perform extraction using AI Center ML Skills and API Keys for intelligent document extraction instead of using traditional extraction methods because those methods are taking too much processing time and are not giving accurate results for different invoice layouts.

While configuring the solution, the following issues are occurring:

  • API Key is not visible in the ML Skills section.
  • ML Skill deployment is incomplete.
  • Pipelines are showing Failed status.
  • Need guidance on how to use the API Key inside UiPath Studio after generating it.

Question

How can I use UiPath AI Center ML Skills for Invoice PDF data extraction in Document Understanding using API Keys?

I am unable to find the API Key in the ML Skills section, and the Pipelines are showing Failed status.

What are the required steps to:

  • Deploy and configure ML Skills properly?
  • Generate or access the API Key?
  • Fix failed pipelines in AI Center?
  • Integrate AI Center with Document Understanding?
  • Use the generated API Key inside UiPath Studio for invoice data extraction?

Problem Statement

I am trying to automate invoice PDF data extraction using UiPath Document Understanding with AI Center.

The normal extraction methods and traditional data extraction approaches are taking too much time, so our requirement is to use AI Center ML Skills with API-based intelligent extraction.

However, I am facing the following issues:

  • API Key is not visible in the ML Skills section.
  • ML Skill deployment is incomplete.
  • Pipelines are showing Failed status.
  • Unable to connect the ML Skill with Document Understanding activities.
  • Not sure how to use the API Key inside UiPath Studio after generating it.

I need complete guidance on:

  1. How to deploy and configure ML Skills properly.
  2. How to generate or access the API Key.
  3. How to fix failed pipelines in AI Center.
  4. How to integrate AI Center with Document Understanding.
  5. How to use the API Key in UiPath Studio for invoice extraction.

Example

Input

Invoice PDF documents containing:

  • Invoice Number
  • Invoice Date
  • Vendor Name
  • Tax Amount
  • Total Amount

Expected Output

Automatically extract all invoice fields using AI Center ML Skills and pass the extracted data into UiPath workflows, Excel, or databases.

UiPath AI Center itself does not generate API keys. It would generate a ML Skill which you could later use in your project/DU framework.

Based on the requirement you have posted, you can go for Document Understanding for structured and semi-structured documents under IXP.
This will help you get your DU model more efficiently and with less effort and also would give you the API you are looking for. It comes with it’s own document manager and REST APIs which you can use in you Studio Project/Python, etc.
Hope this helps!