AWS Marketplace

Automating your accounts payable processes with Oscar by HighIQ

Accounts payable (AP) processing can be a time- and resource-intensive undertaking. Automating AP processing and eliminating or reducing the need for human intervention can increase your processing efficiency while reducing the processing cost per invoice. In this blog post, John, Pawan, and I will show you how to automate AP invoice processing in your AWS account by setting up Oscar by HighIQ (Oscar). We show how to deploy Oscar securely in your AWS account using the HighIQ Amazon Machine Image (AMI) in AWS CloudFormation and how to test it using a sample invoice email.

Here’s a list of the key components of the Oscar solution and a typical automated AP workflow.

  1. Email messenger: The process starts with identifying vendor emails with invoice attachments and downloading the attachments.
  2. Pre-processor: The semi-structured invoices are then pre-processed.
  3. Amazon Textract: The invoice data is extracted through Amazon Textract.
  4. HighIQ User Board (HUB): The captured invoice data is then presented on HighIQ’s User Board (HUB), where the user can review the data and make changes if necessary. The user can also set up additional pre-built validation and approval workflows.
  5. ERP Integrator: Finally, the invoice data is sent to the existing Enterprise Resource Planning (ERP) system for payment scheduling or further processing. The HUB also provides real-time reporting and customizable dashboards that help provide key operational insights.


  1. An AWS account and AWS Management Console credentials
  2. An email ID for Oscar
  3. A sample vendor invoice in PDF format

Solution overview

To launch the Oscar solution, complete the following steps:

  1. Subscribe to Oscar.
  2. Create the AWS CloudFormation stack.
  3. Configure Oscar.
  4. Test the HUB application.

Solution walkthrough

Step 1: Subscribe to Oscar

To subscribe to Oscar, follow these steps:

  1. Sign in to the AWS Management Console and navigate to AWS Marketplace.
  2. Choose the Oscar AP Automation solution.
  3. Choose Continue to Subscribe.
  4. Review the end user license agreement.
  5. Choose Show Details and review the product options. Choose Configure Contract.
  6. For Region, choose where you want to launch Oscar and then choose Continue to Launch.
  7. On the next page, choose Launch and then choose Next. This will take you to the Create stack template.

Step 2: Create the AWS CloudFormation stack

The solution’s AWS CloudFormation stack creates and deploys an Amazon Elastic Compute Cloud (Amazon EC2) instance, using the HighIQ Amazon Machine Image (AMI). This Amazon EC2 instance hosts the Automation Anywhere RPA software and Oscar’s HUB application. To create the AWS CloudFormation stack, follow these steps.

  1. While signed in to the AWS Management Console, open the AWS CloudFormation console. Following step 1.7, you are on the Create stack template page. Enter a name for Stack Name: for example, Oscarhighiq.
  2. For VPC Settings, choose the VPC where you want to deploy the instance.
  3. For Subnet Settings, choose one of the available subnets. The subnet must be the same as the VPC. For example, if the VPC is 172.31.x.x, make sure that the subnet is in the range. For example, enter 172.31.x.x/20.
  4. For RDP, SSH, Access, and Application Access, we recommend that you enter a specific IP address with /32. For example, enter For more information on CIDR and its conventions, visit Understanding IP addressing. To do this step securely, please visit Remote Desktop Gateway on AWS.
  5. For Resource Name, enter anything that you can tag while configuring Amazon Simple Storage Service (Amazon S3) buckets so you know what they’re for. On the next page, for EC2 Instance Type, choose the instance you want.
  6. First-time AWS users must create an EC2 SSH Key Pair. For more information on creating a key pair, visit Creating EC2 SSH key pair.
  7. Choose Next. Optionally, update any advanced options. Choose Next. Select the I acknowledge that AWS CloudFormation might create IAM resources check box and then choose Create stack.

After you receive a successful Stack Create Complete message, the process is complete. The instance is deployed and should be available in a few minutes. The following AWS CloudFormation console screenshot shows the oscarhighiqtest13 stack page with oscarhighiqtest13 designated as CREATE_COMPLETE in the left sidebar.

Oscar HighIQ create complete screenshot

Step 3: Configure Oscar

Now that you have created and deployed the instance, you must connect to it and configure Oscar. This configuration requires several sets of credentials, which you can create now.

A. Create addresses and credentials

  1. First, create an internal email address. Oscar requires its own company email address, for example, Oscar uses this email address to receive invoices from vendors and for all notifications that the HUB application sends out.
  2. Next, you must create three sets of administrator credentials: for the Automation Anywhere control room, for the Automation Anywhere client, and for the HUB application. To do this, follow these steps:
    1. Connect to the EC2 instance that the stack created in step 2. Follow the instructions in Step 2 and use Request Data Protocol (RDP) to connect to the EC2 instance. For more information, visit the Getting Started tutorial for Amazon EC2 Windows instances.
    2. Once you RDP to the EC2 instance, choose the Welcome Setup.exe
    3. Choose Next.
    4. Enter values for Password and Email ID for Automation Anywhere Control Room Administrator and choose Next.
    5. Enter values for Password and Email ID for Automation Anywhere Client Administrator and choose Next.
    6. Enter a value for Password for HUB Administrator and choose Next.
    7. Choose Finish.

B. Configure the Automation Anywhere client installed on the EC2 Instance

  1. On the EC2 instance, choose the AA Enterprise Client 11.3 shortcut.
  2. Log in to the Automation Anywhere Client application using the Automation Anywhere control room administrator credentials you created in step 3.A.2.
  3. From the menu bar at the top, choose Tools and then Options followed by Email Settings. Enter the following information for the internal email address (see Section 3.A.2).
    • Host:g.
    • Port:g. 465
    • Username: the internal email address
    • Password: the password for the internal email address
  1. Choose OK.
  2. From the left menu, choose the AP_Invoice_AWS
  3. From the list of .atmx files at the center of the screen, choose 00_InvoiceCreatorMaster.atmx.
  4. From the bottom menu, choose TRIGGER and enter the following information for the internal email address:
    • Trigger Type: select Email Message from dropdown list
    • Action: select When new email arrives from dropdown list
    • Host: I entered
    • Port: I entered 993
    • Poll every: enter 1 minute
    • Username: the internal email address from step 3.A.1.
    • Password: the password for the internal email address from step 3.A.1.
    • Choose Add.

C. Configure the HUB application

Next, configure the HUB application by creating and configuring the Bot Manager user. This user is normally an AP Manager in an organization. This user usually has the following roles relating to Oscar:

  • Oversee the Oscar AP process.
  • Ensure that invoice issues are resolved.
  • Ensure that invoices are approved on a timely basis.
  • Manage Oscar’s integration with ERP software.

To configure the HUB application:

  1. On the EC2 instance, choose the HUB – User Login shortcut.
  2. Log in to the HUB application using the HUB administrator credentials you established in step 3.A.2.f.
  3. The next step is to create a Bot Manager user. This role allows the user to view the invoice information and receive notifications when there are issues. To create the Bot Manager user, do the following:
    1. From the left sidebar, choose Manage Users.
    2. Enter values for Bot Manager Username, Password, First Name, Last Name, and Email ID.
    3. Choose Role = Bot Manager.
    4. Choose Add.
  1. Configure the Bot:
    1. Choose Manage Bot Details.
    2. Enter Bot Email ID. This is the internal email address from step 3.A.1.
    3. Enter Bot Manager User First Name, Last Name, and Email ID.
    4. Choose Update.
    5. From top right of screen, choose Home.
  1. Configure the Bot parameters:
    1. In the HUB application left sidebar menu, choose Manage Bot Parameters.
    2. Enter the following information for the internal email address from step 3.A.1:
      • vEmailPassword – the password for the internal email address from step 3.A.1.
      • vHostName – I used
      • vPortNumber – I used 993
      • vHostNameSending – I used
      • vPortNumberSending – I used 465

Step 4: Test the HUB application

To ensure that the configurations have been set correctly and the email workflow is functioning, do an initial test of your HUB application. To perform the test, do the following:

  1. Send an email to the internal email address you created in step 3.A.1.  Attach a PDF invoice. Make sure that the word Invoice is in the email’s subject line.
  2. Log in to the HUB application using the Bot Manager credentials created in step 3.C.3.
  3. From the left sidebar, choose View Invoice Details.
  4. When the new invoice appears in the invoice list on the View Invoice Details page, choose Invoice Unique ID. The invoice might take a few minutes to appear in the invoice list.

You should see that Oscar successfully ingested, read, and processed the invoice, and that some elements of the invoice are already populating the necessary fields.

  1. From the top menu, choose Invoice Header, and review the information. The following screenshot shows the invoice information extracted and properly classified according to their respective invoice fields. It shows the PO number, invoice number, invoice amount, currency, vendor name, cost center, cost center ID, invoice date, and vendor billing and shipping address.

invoice extraction details Oscar HighIQ

    1. From the top navigation, choose Invoice Line and review the information. In the following screenshot, you can see line level information for each item that has been purchased. This includes an item description, quantity, unit price, item total, and unit of measure.

invoice line PO details Oscar HighIQ

The accuracy of extracted results improves over time with training. The extracted invoice information can also be sent to downstream ERP applications for further processing as needed. If you need assistance, contact the HighIQ support team.


In this blog post, we showed you how to set up Oscar to automate AP invoice processing in your AWS account. You can extend this solution with additional bots for vendor statement reconciliations, month-end close processes, and more. Oscar automates manual, complex, and time-consuming AP processes. For more information on Oscar, see the HighIQ website.

It is each customers responsibility to determine whether they are subject to HIPAA, and if so, how best to comply with HIPAA and its implementing regulations. Before using AWS in connection with protected health information, customers must enter an AWS Business Associate Addendum (BAA) and follow its configuration requirements.

Authors’ Bios:

Madhu_RamanMadhu Raman, AWS WW Lead, Intelligent Automation Solutions

Madhu Raman leads Amazon Web Services’ Intelligent Automation Solutions. He is responsible for packaging these workloads and scaling their deployment to address customer pain points across 22 commercial industries worldwide. Madhu previously headed Verizon Enterprise’s Ideation services globally and lives in Massachusetts.


Pawan SinghPawan Singh, Founder and CEO, HighIQ Robotics Inc.

Pawan has over 25 years of experience successfully leading, managing, directing, and delivering complex solutions for large global corporations in the IT industry. His strength lies in the ability to streamline enterprise-level systems architecture and business processes cost-effectively. Being customer-centric, Pawan leads the team at HighIQ to understand the pitfalls of business processes and apply intelligent automation to solve complex problems.


John ConeyJohn Coney, COO, HighIQ Robotics Inc.

John has over 20 years of global experience in the financial services industry. He has led, planned, developed, and implemented cutting edge information systems to address business needs. He formerly led the global financial systems groups for both Invesco and Equifax, where he was responsible for technology strategy, program execution, implementation, operations, and the support of key application platforms supporting finance functions.