Skip to main content

How to Use Smart Tables

Smart Tables in Docparser help you extract rows of data from tables in your PDFs, such as line items from invoices or product lists on orders.

It’s important to know that the “smart” part only applies when you first set up the rule, not when it runs on future documents.


What Does "Smart" Mean?

When creating a Smart Table rule, Docparser uses intelligent detection to identify the location of the rows and columns

Important: Once you save the rule, it becomes a fixed layout. Docparser will apply it exactly as configured to future documents - it won’t continue adjusting or adapting to changes in layout.

 How to Set Up a Smart Table

  1. Upload a Sample PDF
    Choose a file that shows the kind of table you want to extract. Smart tables at this time can only locate a table on Page 1 of the document.

     

  2. Create the Smart Table Rule
    Go to your parser, click “Add Parsing Rule”, and select under General “Smart Tables”
    smart tables

     

  3. View the Selected Table Area and Adjust Columns
    In the next step you will see where the Smart rule has identified the location of the table on the file, you can adjust the selected area on the page, and also move or adjust the column boundaries if necessary.
    View the Selected Table Area and Adjust Columns

     

  4. Refine the Filters
    If needed, adjust filters (like “keep rows where” or add filters such as “Group and Merge Rows”) to capture the right rows. You can also clean up or format column data.
    adjust filters

     

  5. Save Your Rule
    Once everything looks correct, save the rule. It will now apply to all future documents in this parser.

Was this article helpful?
3 out of 4 found this helpful

Still stuck?

Send us your parser name and a sample document.

Submit a request