Amazon Invoice Extraction

The ​Amazon Invoice Extraction Service makes use of pre-trained Invoice models to extract Key-Value Pairs of invoice-related data. The processing of invoices returns typical information found on invoices, such as Subtotal, Vat, Total, and Date. The service also extracts individual line items from the invoice and is presented in table format.

Possible use cases

  • Extracting invoice-related data.
  • Extracting individual line items that may appear on an invoice.

Service Setup

  1. Open the Project Detail View of the project you would like to add the service to.
  2. Click on the Add Service button in the command bar.
  3. Select Amazon Invoice Extraction Service from the available Service Types.

  4. A new Service Configuration Wizard will open:
    (When navigating the Wizard, please make sure to use the Next Step button in the command bar to save any changes made).
  1. Step 1 - Allows configuration of various service settings, including the name and description. The default settings are sufficient for most use cases.
  2. Step 2 - Allows adding User Defined Categories to train the service on.
  3. Step 3 - Verification of any documents that have been processed.
  4. Step 4 - The Definition Document should be created after the Service has been trained successfully.
  5. Click on the Complete button in the command bar to validate your service configuration and close the wizard.

Service Configuration Settings

The Amazon Invoice Extraction can be configured by the user as a flexible solution. The following Settings are available:​

SettingTypeRequired TypeDescription
ArchivingStrategyOptionalDays before documents get deleted.
BatchSizeHiddenProcessing batch size.
DocumentProcessedStatusOptionalDocument status used to denote that a document has been processed.
EnabledHiddenEnable or disable the service.
EnableTableDetectionOptionalSpecifies whether the service should save any tables detected by the MS Form Recognizer API call.
ExecuteBeforeProcessWhen set up as a child service, specify whether this service should be executed before the parent service gets executed.
ExecuteAfterProcessWhen set up as a child service, specify whether this service should be executed after the parent service gets executed.
PasswordOptionalUsed for service authentication. Custom Code can be used to set the password. Can be set per document.
RemoveCommentsOptionalRemove human comments from a document.
WorkflowAlgorithmRequiredAlgorithm used for assigning users for verification for workflow item.
WorkflowCategoryOptionalTrigger Workflow for all documents in this category (category ID).
WorkflowDocumentRequiredEnable document workflow for this service.
WorkflowShredRequiredEnable document shred workflow for this service.
WorkflowGracePeriodRequiredGrace period before a workflow item gets escalated.

Add and Process Documents

  1. In the Amazon Invoice Extraction Service click on Inbox button.
  2. Select the Status you want to upload and use Status None or Received for new documents that have not been processed yet.
  3. Select an optional category if you know the category for the document, if you don’t want to select one just click on “No selection”.
  4. Find the files on your Local machine and upload them. The demo’s test files can be found at the following link: Click here
  5. After all the documents have been uploaded you can check the documents to be processed, click on Processed Checked to process the documents.

It is recommended to only process a few documents at a time, especially if it is a new service to properly test if you receive the results you want before processing everything.

View Processed Documents

  1. In the Amazon Invoice Extraction Service click on Outbox button.
  2. You can view the Processing results by opening a processed doc for verification.