Go to example tasks

Extract invoice fields from a PDF to JSON

Reads a sample PDF invoice and returns the invoice number, invoice date, due date, total due and billed-to party as typed JSON, each with the page and line it was read from. About $0.023 per run.

Try for free
Document and PDF to JSON, Arabic and English
Document and PDF to JSON, Arabic and Englishomargnagy/document-to-json-extractor
File name
Extracted fields
Fields found
Fields requested
+4 fields
Text
Number
Boolean
List
Object

Input

Mode(required):extract
Document URL:https://www.slicedinvoices.com/pdf/wordpress-pdf-invoice-plugin-sample.pdf
JSON Schema of the fields to extract:{3 fields}

Output fields

File name
Extracted fields
Fields found
Fields requested
Complete
Missing required
Field reports
Mode

How it works

Sign up on Apify or log in

The Document and PDF to JSON, Arabic and English Actor is ready to run with the inputs already set for "Extract invoice fields from a PDF to JSON". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract invoice fields from a PDF to JSON" task

The Document and PDF to JSON, Arabic and English Actor will start running based on the input automatically. You can also change all the input fields, like mode, document url, and more, to match your specific use case.

Receive the "Extract invoice fields from a PDF to 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 file name, extracted fields, fields found, 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 "Extract invoice fields from a PDF to JSON" task via API.

Image

Integrate "Extract invoice fields from a PDF to JSON" into your workflow

Connect "Extract invoice fields from a PDF to 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