About This Recipe

This recipe receives invoices as PDF files and uses OCI Document Understanding, OCI Generative AI, and OCI Generative AI Agents to review invoice approval, notify managers, and create invoices in Oracle ERP Cloud.

To use the recipe, you must install the recipe and configure the connections and other resources within it. When the main integration flow receives an invoice PDF file, it encodes the PDF file to base64, and sends the base64 encoded file to OCI Document Understanding. Using the artificial intelligence capabilities of OCI Document Understanding, information is extracted from the base64 encoded invoice file. The result of OCI Document Understanding invokes the child integration flow. An invoice report is generated leveraging the artificial intelligence capabilities of OCI Generative AI Agents retrieval augmented generation (RAG). Subsequently, the invoice report is sent to OCI Generative AI in order to get the approval status of the invoice.

Based on the approval status of the invoice, the recipe performs one of the following:
  • Creates a corresponding invoice in Oracle ERP Cloud, if the invoice complies with company policy and is approved.
  • Notifies manager if further approval is required for the invoice.
  • Sends notification if the invoice is rejected.

Note:

To successfully run this recipe, the input PDF file have to be in a certain format. You can download the following file for reference: Sample file.

System and Access Requirements

  • Oracle Integration 3

  • OCI Document Understanding

  • OCI Generative AI

  • OCI Generative AI Agents

  • Oracle ERP Cloud

  • An account on Oracle ERP Cloud with the Administrator role