DocView Capture by DocView.AI3 Nov 2026 10:44

Route script: approval of large invoices — document capture template

A Route script runs whenever a step is completed and may send the batch elsewhere: here batches with an invoice over 1,000 go from Validation to an Approval step, others go straight to export. Route scripts also do sampling, escalation and skipping of steps.

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.pdf (one invoice is over 1,000) and complete Validation: the batch goes to Approval. Import a batch with small invoices only: it is exported straight after Validation.

At a glance

Region Global
Industry System features
Document types Invoice
Workflow Scan → OCR, separation & classification → Extraction & validation → Index / Validate → 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 "Route script: approval of large invoices", 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

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