BETA

50 MiB Binary Uploads · Python + Visual Cross-Checks · Verified JSON / CSV / XLSX

PDF OCR & complex table extraction API with Python subtotal verification.

Generic PDF-to-Markdown APIs silently drop merged headers and misalign financial columns. Upload PDFs up to 50 MiB at $0 transfer cost into TESI’s isolated Linux VM, extract tables with Python + page rendering, verify every row and total in decimal.Decimal, and download X-Content-Sha256 verified JSON, CSV, or Excel (.xlsx)—with $0/mo subscription and a $2.50 Free Trial.

1. Upload a PDF, Extract & Verify Tables, and Download `.xlsx` / `.json`

curl -fsS https://toolsenabled.ai/agents/tesi-sdk.py.txt -o tesi_sdk.py
python3 -I -B tesi_sdk.py trial
python3 -I -B tesi_sdk.py upload ./statement.pdf /home/user/workspace/statement.pdf
python3 -I -B tesi_sdk.py work \
  "Extract all line-item tables from /home/user/workspace/statement.pdf into /home/user/workspace/extracted.json and extracted.xlsx, assert every page subtotal matches line sums in decimal.Decimal, and report any OCR discrepancies."
python3 -I -B tesi_sdk.py download /home/user/workspace/extracted.xlsx ./extracted.xlsx
Binary Files API Guide →

Questions

PDF OCR & document parsing API FAQ.

Why use TESI instead of a fixed per-page PDF parsing subscription?

Fixed PDF parsers return raw Markdown with broken merged cells and no subtotal checks. TESI uploads up to 50 MiB PDFs at $0 transfer cost into a real Linux VM, writes and runs Python extraction scripts, visually checks tricky pages, verifies row/column sums in decimal.Decimal, and outputs exact JSON, CSV, or .xlsx files.

How do I upload a binary PDF and download the extracted Excel or JSON file?

Use tesi_sdk.py upload ./statement.pdf /home/user/workspace/statement.pdf (or MCP tesi_upload_file), run tesi_work to extract and verify the tables, and pull the output with tesi_sdk.py download (or tesi_download_file) verified by X-Content-Sha256.

Can I test PDF table extraction for free before buying a pack?

Yes. Claim a $2.50 no-card Free Trial key via POST /api/v1/agents/keys {"trial":true} or tesi_sdk.py trial, upload your sample PDF, and inspect the verified JSON/CSV/XLSX output before topping up to 2–8 vCPU.

Parse & verify