AI Agent: IFS Invoice AI Agent


IFS Invoice AI Agent is part of the Boomi Marketplace program. Visit marketplace.boomi.com to browse additional pre-built solutions that you can install directly into your Boomi platform account!

Click here to install this recipe

Contents

1. Prerequisites 

2. Create OpenAI Assistant 

3. Create OpenAI API Key

4. Configure Process Properties

5. Authenticate OpenAI Operations 

6. How To Call The AI Agent 

6.1. Supported File Types 

7. Returned Data 

7.1. Example

8. Invoice Tax 

1. Prerequisites 

2. Create OpenAI Assistant 

3. Create OpenAI API Key

4. Configure Process Properties 

5. Authenticate OpenAI Operations 

6. How To Call The AI Agent 

The AI Agent comes with a couple of use-cases that demonstrate the capabilities of the AI Agent. To use them, the Mail and FTP Connections must be setup with the appropriate authentication. 
The Main implementation Process for the AI Agent requires a binary file input which contains your invoice. Then a Dynamic Document Property must be configured on this input to the desired file name of the Invoice file. This filename will be shown inside of IFS when the Invoice is created and Document attached.
Once the AI Agent is called, it will use your provided Assistant to extract Invoice Lines from the attached Document. It will then create an Invoice in IFS to attach the Invoice Lines to, as well as the Invoice Document.

6.1. Supported File Types 

By default the AI Agent supports a selection of files types. The AI Agent captures the File Extension from the File Path, ensure that the File Name is properly configured and represents the contents of the Invoice File:

Note: If a document-type File is uploaded (i.e. docx or pdf) that does not contain text or only contains images, GPT will not be able to read its contents. Please use an image format instead.

7. Returned Data 

Once the AI Agent has finished running, it will return an IFS Invoice Object, which contains all the information relating to the created Invoice.

7.1. Example8. Invoice Tax 

The IFS Invoice AI Agent can also collect per-line invoice tax, alongside the net totals. To enable this feature you will need to have Tax data configured in IFS, then open the ‘Internal Append Invoice Details’ Map. Connect the VatAmount between the left and right Profiles, after that populate the right Profile with your Tax values, i.e. TaxCode or TaxPercent.

Summary

An invoice processing AI Agent for IFS uses OpenAI to identify if a document is an Invoice, then passes this to IFS to create a Manual Supplier Invoice and attaches the document using IFS DOCMAN. This streamlines the Invoice management process for Finance Teams in IFS.