Go to example tasks

Invoice PDF to structured JSON

Reads a sample invoice PDF and returns seller, buyer, line items and totals as JSON. Replace the URL with your own documents.

Try for free
Document to JSON — PDF, Invoice & Table Extractor
Document to JSON — PDF, Invoice & Table Extractoristmobot/document-to-json
Document
Type
Pages
Pages read
+5 fields
Text
Number
Boolean
List
Object

Input

📄 Document URLs(required):https://api.apify.com/v2/key-value-stores/amcfiaWTUZQpeWXjE/records/sample-invoice.pdf
What to extract:structured
Max pages per document:10

Output fields

Document
Type
Pages
Pages read
Cut
Data (structured mode)
Text (text mode)
Error code
Error

How it works

Sign up on Apify or log in

The Document to JSON — PDF, Invoice & Table Extractor Actor is ready to run with the inputs already set for "Invoice PDF to structured JSON". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Invoice PDF to structured JSON" task

The Document to JSON — PDF, Invoice & Table Extractor Actor will start running based on the input automatically. You can also change all the input fields, like 📄 document urls, what to extract, and more, to match your specific use case.

Receive the "Invoice PDF to structured JSON" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as document, type, pages, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Invoice PDF to structured JSON" task via API.

Image

Integrate "Invoice PDF to structured JSON" into your workflow

Connect "Invoice PDF to structured JSON" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay