DocView Capture by DocView.AI3 Nov 2026 10:47

Tables and line items — document capture template

The table finder reads line items under their column headers, over several pages if the table goes on. A row check (Quantity × Price = Amount) and a rule comparing the line items with the net amount send tables that do not add up to an operator.

Try it

Create a Batch Setup from this template (Batch Setups › New Batch Setup, tab System features), and download its sample documents from the template's card (Download samples). Then: Import invoices-with-lines.pdf. Open an invoice: the Line items table is filled. The third invoice has a line that does not add up and is marked for checking.

At a glance

Region Global
Industry System features
Document types Invoice
Workflow Scan → OCR, separation & classification → Extraction & validation → Index / Validate → PDF generation & export
Straight-through processing No — every batch is checked on screen
Separation keywords at the top of a page
Output searchable PDF with XML data
Dates read as dd/MM/yyyy, d/M/yyyy, dd.MM.yyyy

Use this template

  1. Go to Batch Setups and choose New Batch Setup.
  2. Filter by Global or search for "Tables and line items", select it and choose Next.
  3. Name the Batch Setup, choose the export folder and create it.
  4. Try it with a few of your own documents on the Test tab, adjust fields and rules, then publish it — see Test a Batch Setup and Versions and publishing.

Document types and fields

Invoice

Recognised by words such as "invoice", "subtotal", "total due".

Field Type Required Found by Checks
Invoice number Text Yes pattern in the text
Invoice date Date Yes label "Invoice date"
Order number Text label "Order No"
Supplier VAT number Text pattern in the text UK VAT number
Net amount Amount Yes label "Subtotal" at least 0
VAT Amount label "VAT" at least 0
Total Amount Yes label "Total due" at least 0
Line items Table table under a header row

Validation rules

  • Net + VAT = Total
  • Line items add up to the net amount

See Validation rules to change them or add your own.

Adapt it to your documents

All templates

Still stuck? support@docview.ai · +44 7886 864921

Made with DocView Capture by DocView.AI · www.docview.ai