Skip to content

Test complex PDF and financial table extraction skills on merged cells and multi-page spans

Naive pdftotext wrappers scramble multi-column layouts and footnotes. Compare hybrid OCR, layout-parser, and vision PDF skills.

Copy the prompt and paste it into the AI assistant you already use.

Four checks before trusting a PDF parsing skill with numbers

  1. 01

    Require programmatic subtotal reconciliation

    Top financial PDF skills run Python sum checks on extracted rows against printed totals and re-inspect mismatched pages via vision.

  2. 02

    Test multi-column and landscape page switches

    Academic papers and catalogs mix two-column prose with wide tables; check cell-alignment F1 scores.

  3. 03

    Preserve footnote markers and unit headers

    Dropping '(in $ thousands)' or superscript '(2)' changes values by 1,000x; ensure metadata stays attached to output schemas.

  4. 04

    Compare page-level selective vision routing

    Rendering every page at 300 DPI for VLM calls is slow and costly; hybrid skills use fast text layout first and vision only on complex pages.

How it works in practice

Table extraction test

Extract 140 complex tables (merged headers, negative parentheses, page breaks) across 30 corporate PDFs into typed JSON.

Benchmark comparison

docling-reconcile-skill: 96.8% exact cell match, 100% math mismatch flags caught, $0.09/doc. raw-pdf-text-skill: 64.2% exact cell match, silent column shifts on merged headers, $0.03/doc.

Pairing layout-aware parsers with automated Python total checks catches silent column-shift bugs before bad numbers hit your database.

Questions and answers

Are local open-source PDF parsers compared against cloud APIs?

Yes. Rankings compare skills built on Docling, Marker, and pdfplumber alongside LlamaParse, Reducto, and native Claude/Gemini PDF inputs.

How is cell accuracy measured on merged headers?

Ground-truth annotations normalize hierarchical column headers so shifted columns or dropped parent units immediately lower cell F1.

Do these skills handle password-protected or 300-page PDFs?

Listings note page-chunking limits, memory usage, and whether page-range slicing runs locally before API upload.