
For step 4 (Create Security Policy), use the below Policy Statement instead of the one mentioned in the Blog Post.

SAMPLES OF INVOICES APEX HOW TO
Please refer to my blog Secure APEX Access to OCI Object Storage, which describes how to complete the above steps. Create Object Store Bucket to write documents that we want to analyze.Create a Security Policy to allow the Security Group access to Object Store and Vision Services.Create a Security Group and Add the User Account to the Security Group.We need to complete the following OCI configurations from the OCI console before we can start calling the Document AI REST Service: Here is a quick video showing what the app looks like in action: APEX displays the document along with the captured document metadata.APEX parses the response and creates DB records with metadata about the document.OCI Document AI analyzes the receipt and returns key fields in a JSON response.APEX calls the Document AI REST Service, referencing the receipt uploaded to Object Storage.APEX sends the receipt to OCI Object Storage.The user uploads a receipt from an APEX page.The flow for processing a receipt in the demo app is as follows:
SAMPLES OF INVOICES APEX CODE
❗The code in the demo app is not production ready.

I suggest you download the code as it will help when following along. The demo app is available in this Github Repository. In this post, I am going to focus on a demo APEX app to allow users to automatically categorize expense receipts and extract key values from each receipt. The good news for APEX developers is that you can utilize OCI Document AI features by calling the Document AI AnalyzeDocument REST Web Service. This post will focus on integrating Oracle APEX with OCI Document AI services.ĭocument AI provides the following capabilities Optical Character Recognition, Document Classification, Key/Value extraction, Table extraction, Language classification, and Searchable pdf. The Oracle Cloud Infrastructure (OCI) Vision Service brings AI capabilities in the form of image classification, object detection, and Document AI.
