Training KV² for Table Extraction

The function explained in this documentation is used for extracting the table from all types of documents (Invoices, Contracts, Forms, Medical Prescriptions etc.). The extraction of data from tables can be achieved by following the steps described below:

1. Login to your account with your Email and Password.

2. Import the desired document on your dashboard.

3. Click on the document to Open it in the edit screen.

4. Scroll down to Line Items (located at the very bottom right of the available fields).

5. Click on the table icon inside the textbox

TIP: If no table extraction is to be performed in the selected document, this can be set with the symbol next to "Line Items".

6. The following screen will be displayed.

The following options and functions are now available (displayed on the left half of the screen):

  • Zoom in: as the name suggests it allows the user to zoom in on the document

  • Zoom out: as the name suggests it allows the user to zoom out on the document

  • Autodetect Table: This function is for automatically detecting the table in the document – should the plugin be unable to detect the table it has to be selected manually.

  • Select Table: This function allows the user to manually select the desired table via drag-selection.

The Table can also be adjusted here (for example the height and width).

adjust and save

  • Add Columns: this function allows the user to manually add guidelines to help the system determine the correct columns (blue lines) as displayed on the following screenshot

Once these guidelines are added additional functions are available.

The first one allows the user to delete all lines while the second one extends these guidelines to all pages of the document.

Is only one line selected, a delete button will be added, and it allows the user to delete the selected line.

  • Save Changes: allows the user to save any changes made.

TIP: Is the table marking wrong and should be deleted, select the marking of said table – a red symbol will appear allowing the removal of the marking.

7. Once the changes are saved the plugin will automatically extract the found data and display it on a table to the right.

The available functions on this side of the screen are as follows:

  • Revert Changes: Allows the user to undo any changes.

  • Advanced Settings: This function allows for additional settings to extract the data further correctly.

Once selected, the following screen will pop up:

“Header row count” defines how many rows are part of the header for example, if the header has two rows then the corresponding number (2 in this case) must be selected.

“Move Extra Row to desc”

  • Add new line: Adds an additional line at the bottom of the table.

  • Delete all extracted data: Deletes all extracted data from the table.

  • Block table extraction for this supplier: This must be selected if no table should be extracted from this supplier.

Every column name must be assigned correctly for example “POS.NO.” corresponds to “Position”.

This must be done for all column names – otherwise it will produce an error!

Next select the three dots next to the position to which the content is oriented for example the position number.

Beside the possibility to delete (via the trashcan symbol) the row (which of course can be found in all other columns as well) the option "Group Rows" is important here.

This option groups all the date corresponding to the position.

Should the system recognize empty or undesirable data delete them via the purple “X” on the left side of the table.

Once the table has been set up as desired, the settings can be saved by clicking on "Save". It will then immediately transport the user back to the dashboard.

Alternatively, the document can be exported immediately by clicking on "Confirm & Export".