Invoice & Receipt Parser - PDF & Photo to JSON avatar

Invoice & Receipt Parser - PDF & Photo to JSON

Pricing

from $10.00 / 1,000 invoice pages

Go to Apify Store
Invoice & Receipt Parser - PDF & Photo to JSON

Invoice & Receipt Parser - PDF & Photo to JSON

Invoice and receipt parser: PDF, photo or e-invoice links in, JSON out with supplier, VAT IDs, line items, taxes by rate and totals, every figure re-added and checked. ๐Ÿงพ

Pricing

from $10.00 / 1,000 invoice pages

Rating

5.0

(1)

Developer

Helenis API

Helenis API

Maintained by Community

Actor stats

2

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

๐Ÿงพ Invoice & Receipt Parser - PDF & Photo to JSON

Paste invoice links, get accounting rows. Supplier invoices, receipts, credit notes, utility bills: every document becomes clean JSON with the supplier and its VAT / company IDs, number, dates, currency, every line item, taxes by rate and totals. Then the actor re-adds the figures and flags every document that does not add up, so you review only the doubtful ones.

PDFs (digital or scanned), photos of receipts, and e-invoices (Factur-X, ZUGFeRD, UBL). Works on a plain list of links or on the dataset of another actor. No API key, no setup: add links and hit Run.


โšก Why this actor?

  • ๐Ÿงฎ Math checked: quantity x price, sum of lines, tax per rate, grand total, amount due and IBAN checksum. Each document gets consistent: true or the list of checks that failed.
  • ๐ŸŒ Any language, any currency: tested on Dutch, German, French, Polish, Korean, Chinese, Japanese and Ukrainian documents. ISO dates, ISO currency codes.
  • ๐Ÿ“„ Long invoices: up to 30 pages each, read in parallel. A 240-line test invoice came back complete, to the cent.
  • โšก E-invoices read exactly: a Factur-X / ZUGFeRD / UBL PDF is read from its embedded XML, no AI, at a fraction of the price.
  • ๐Ÿท๏ธ Bookkeeping ready: document type and expense category (meals, fuel, travel, software...) on every row.
  • ๐Ÿ”’ Privacy first: no personal contact data of private customers in the output, masked bank and card numbers dropped.

๐Ÿ† How it compares

FeatureThis actorClassic receipt OCREnterprise invoice APIs
๐Ÿงพ Line items, taxes by rateโœ…โš ๏ธ Totals onlyโœ…
๐Ÿงฎ Arithmetic checksโœ…โŒโš ๏ธ Some
โšก Factur-X / ZUGFeRD / UBLโœ… ExactโŒโš ๏ธ Rare
๐Ÿ“„ Multi-page invoicesโœ… 30 pagesโŒโœ…
๐Ÿ’ธ Price per document$0.01 a page, $0.003 an e-invoice$0.01-0.04$0.08-0.16
๐Ÿ’ธ Failed documents chargedโŒ Neverโš ๏ธ Variesโš ๏ธ Varies

๐Ÿ“Š What data do you get?

One row per document. The table view shows the essentials; the full row holds every line.

FieldDescriptionExample
documentUrlThe link you gavehttps://.../saeco.pdf
successtrue when the document was parsedtrue
documentTypeinvoice, receipt, credit_note, proforma, quote, purchase_order, utility_billinvoice
numberInvoice or receipt numberVF1005193039
issueDate / dueDateISO 8601 dates2022-09-08
currencyISO 4217 codeEUR
supplierName / supplierVatIdWho issued ite-Luscious Nederland B.V. / NL8152.54.295.B01
customerNameThe company billed (never a private person)Strategic Corp
subtotal / taxTotal / total / amountDueThe totals41.31 / 8.68 / 49.99
lineCountLine items found2
consistentEvery figure adds up (null: nothing to check)true
failedChecksChecks that did not add up["lines_sum"]
expenseCategoryFor bookkeepingshopping
suppliername, vat_id, tax_ids (SIRET, EIN, KvK...), address, countryโ€”
linesdescription, code, quantity, unit, unit_price, discount_percent, tax_rate, totalโ€”
totalssubtotal, discount, charges, taxes by rate, tax_total, tip, rounding, total, amount_paid, amount_dueโ€”
paymentterms, method, iban, bic, referenceโ€”
validationEvery check with the expected and the printed valueโ€”
methodai, e-invoice (exact XML) or e-invoice+aiai
pagesReadPages read by the AI (charged)1

๐Ÿš€ How to use it

  1. Add direct links to invoices or receipts (one per line), or a dataset ID from another actor.
  2. Optionally limit the PDF pages (e.g. 1-2 to skip terms and conditions).
  3. Click Run, then export the table as CSV, Excel or JSON.

โš™๏ธ Input

OptionDefaultDescription
๐Ÿ”— Document linksโ€”One direct link per line, up to 20 MB each: PDF, photo or e-invoice XML
๐Ÿ“ฆ Dataset ID (optional)โ€”Parse the documents listed in an existing Apify dataset
Document link field in the datasetโ€”Empty: invoiceUrl, receiptUrl, documentUrl, fileUrl, pdfUrl, imageUrl, downloadUrl and url are tried
Maximum documents0Stop after this many documents (0 = no limit)
๐Ÿ“‘ PDF pages (optional)Alle.g. 1-2. 30 pages at most per document
Parallel documents3How many documents are processed at the same time (1-5)

Output example

{
"documentUrl": "https://raw.githubusercontent.com/invoice-x/invoice2data/master/tests/compare/saeco.pdf",
"success": true,
"documentType": "invoice",
"number": "VF1005193039",
"issueDate": "2022-09-08",
"dueDate": "2022-09-22",
"currency": "EUR",
"supplierName": "e-Luscious Nederland B.V. iov Saeco.com",
"supplierVatId": "NL8152.54.295.B01",
"customerName": "Strategic Corp",
"subtotal": 41.31,
"taxTotal": 8.68,
"total": 49.99,
"lineCount": 2,
"consistent": true,
"failedChecks": [],
"expenseCategory": "shopping",
"method": "ai",
"pagesRead": 1,
"lines": [
{ "description": "Onderhoudsset CA6707/10", "code": "E103184", "quantity": 1.0, "unit": "PCS", "unit_price": 49.99, "tax_rate": 21.0, "total": 49.99 },
{ "description": "SX Flyer SAECO Korting KVDNL", "code": "E103560", "quantity": 1.0, "unit": "PCS", "unit_price": 0.0, "tax_rate": 21.0, "total": 0.0 }
],
"payment": { "method": "card", "iban": "NL58RABO0198723202", "bic": "RABONL2U" }
}

Shortened from a real run. Available as JSON, CSV, Excel, or via the Apify API and dataset exports.


๐Ÿ’ฐ Pricing

Pay only for what you get:

EventWhen
๐Ÿงพ Invoice pageEach page read by the AI (a photo is one page)
โšก E-invoiceEach Factur-X / ZUGFeRD / UBL invoice read from its XML, no AI

Documents that cannot be downloaded or read, and files that are not invoices, are listed with their error and not charged. Set a maximum cost per run in the run options and the actor stops cleanly when it is reached.

๐Ÿ†“ On the Apify free plan, each run parses the first 2 pages of the first 5 documents.


๐Ÿ’ก Use cases

  • ๐Ÿฆ Accounts payable: supplier invoices to rows for your ERP, with the doubtful ones flagged.
  • ๐Ÿงพ Expense reports: receipt photos to merchant, date, amount, tax and category.
  • ๐Ÿ“š Bookkeeping firms: bulk-import a client's invoices with VAT IDs and taxes by rate.
  • ๐Ÿ” Audit: catch invoices whose totals do not add up, or whose IBAN is wrong.
  • ๐Ÿ‡ช๐Ÿ‡บ E-invoicing: read Factur-X, ZUGFeRD and UBL invoices exactly, and paper ones with the same columns.

โ“ FAQ

Are the amounts exact? The AI copies printed figures and never computes them; the actor then re-adds everything. When a figure was misread, or the document itself is wrong, consistent is false and failedChecks says where. E-invoices are read from their XML, exact by definition.

Which files work? PDFs (digital or scanned), JPEG, PNG, WEBP, HEIC, GIF, BMP and TIFF photos, and CII or UBL invoice XML files, up to 20 MB.

Am I charged for documents that fail? No. A document that cannot be downloaded or read, or that is not an invoice, gets a row with success: false and its error, and costs nothing. Temporary failures are retried once.

Can I parse documents found by another actor? Yes. Paste its dataset ID; the link is read from the usual fields or from the one you name.


๐Ÿ”Œ Integrations

  • ๐Ÿ“— Google Sheets: Auto-export parsed invoices to a spreadsheet
  • ๐Ÿช Webhooks: Trigger your bookkeeping flow when a run completes
  • โšก Zapier / Make: Plug into 1000+ apps
  • ๐Ÿ› ๏ธ API: Fetch results programmatically from any language
  • ๐Ÿค– AI agents: call it from Claude, Cursor or any MCP client through Apify's MCP server

๐Ÿค– Use it from an AI agent

Add this actor to Claude, ChatGPT, Cursor, VS Code or any MCP client with one URL (sign in with your Apify account):

https://mcp.apify.com?tools=helenisapi/invoice-receipt-parser

Your agent then calls it as a tool, with the input described above, and pays per event like a normal run. In code: ApifyActorsTool("helenisapi/invoice-receipt-parser") in LangChain or CrewAI; in n8n, Make or Zapier, use the Apify app and pick this actor.


๐ŸŒ Also available as an API

The same engine is sold as a REST API on RapidAPI: Invoice & Receipt Parser - PDF & Image to JSON by Helenis API. It also accepts direct uploads and password-protected PDFs.


๐Ÿ”’ Privacy

Documents are downloaded, read and discarded: neither the file nor its data is stored by our backend. The AI sub-processor may keep requests temporarily for abuse monitoring. Only process documents you have the right to process.