Help Centre › Building Processes
This article describes the RPA Document functionality to extract INVOICE data from a file.
For a full list of available functions, please read DOCUMENT functions.
Description
The DOCUMENT Extract INVOICE data from a file function allows you to extract INVOICE data from a file.
Setting it up
To use the DOCUMENT Extract INVOICE data from a file function, follow these instructions:
{{popups:rpas/add:action=extract-invoice}}
Once on a process map:
- Navigate to the process where you would like to add the DOCUMENT Extract INVOICE data from a file function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the DOCUMENT Extract INVOICE data from a file option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File | Yes | Text | - | The path to the invoice file |
| Variable | Yes | Text | - | Variable to store extracted data |
| Cache | No | Select | Only if valid | Caching strategy |
| Company | No | Text | - | Company name(s) being billed |
| Minimum PO number | No | Text | - | Lowest allowed PO number |
| Maximum PO number | No | Text | - | Highest allowed PO number |
| Currency | No | Select | - | Expected currency |
| Language | No | Select | - | Document language |
| Additional fields | No | Table | - | Extra fields to extract |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Object | The extracted invoice data (vendor, amounts, line items, etc.) |
Errors
| Error | Description |
|---|---|
| File not found | The file does not exist |
| Extraction failed | Could not extract invoice data |
Tips
- Supports PDF, images, and scanned invoices
- Use Company to improve accuracy for known vendors
- Set PO number range to validate purchase order numbers