fynepdf logo
Docs menu

extract_data: Extract data from a PDF

Read structured data with AI and check it in code: invoice (fields, lines and totals, added up), statement (bank transactions, balances compared), tables (every table, cell by cell), or schema (your own JSON Schema). Output json returns the data here; excel or csv also makes a spreadsheet file (tables and statement).

A tool of the FynePDF MCP server (https://api.fynepdf.com/mcp). Reads only: it doesn't change or make files.

Ask for it

  • "Pull the line items out of these invoices."
  • "Get every transaction from this statement."

Inputs

InputTypeRequiredWhat it does
file_idstringA FynePDF file_id from upload_file, import_file_from_url or an earlier tool.
fileobjectA file the person attached in ChatGPT (filled in by ChatGPT).
file_urlstringA public link to the file.
library_file_idstringA file from the person's FynePDF Library (from list_library_files).
type"invoice" · "statement" · "tables" · "schema"yes
schemaobjectFor type schema: a JSON Schema object.
instructionsstring
output"json" · "excel" · "csv"

The same over HTTP

From your own code, call Extract data from a PDF.

Connect it

Claude · ChatGPT · Cursor · VS Code · Claude Code