Invoice OCR API

4.8/5

(30+ reviews)

Invoice OCR API that reads every line, in any layout

Turn any supplier invoice, PDF, scan or phone photo, into structured JSON in seconds. Header fields, taxes and every line item, with a confidence score on each value. No templates to build, no rules to maintain.

No credit card required

SOC 2 Type II & GDPR

Invoice OCR extracting supplier, totals and line items to JSON

Trusted by finance and product teams at

Why invoice data is so hard to automate

Every supplier sends a different layout. Template-based OCR breaks on the first new one, so the invoice lands back on someone's desk to be keyed, checked and re-checked.

Invoice arrives

By email, portal or post, as PDF, scan or photo.

Manual keying

Header fields, taxes and each line typed by hand.

Friction

A new supplier means a new layout to learn.

PO matching

Lines compared to the purchase order and receipt

Friction

Line items are where typos and mismatches hide.

Approval

Exceptions bounce between AP and budget owners

Friction

Errors surface late, after the due date slips.

Posted to ERP

Finally booked, days after it arrived.

RESULT

[X] minutes of manual work per invoice, and [X]% of keyed fields carrying an error.

See how Mindee fixes it

Supplier

supplier_name, supplier_address, supplier_company_registration, supplier_email

Invoice

invoice_number, date, due_date, po_number, locale

Amount

total_net, total_tax, total_amount, taxes[rate, base]

Customer

customer_name, customer_address, customer_id

Line items

description, quantity, unit_price, tax_rate, total_amount

Payment

iban, swift, account_number, routing_number

response.json

{

"supplier_name": { "value": "Northwind Supply Co." },

"invoice_number": { "value": "INV-2026-0418" }, "date": { "value": "2026-10-14" }, "due_date": { "value": "2026-11-13" },

"total_net": { "value": 664.00 }, "total_amount": { "value": 796.80 }, "taxes": [{ "rate": 20, "base": 664.00, "amount": 132.80 }],

"customer_name": { "value": "Atelier Lumen SAS" },

"line_items": [ { "description": "Corrugated boxes, 40×30", "quantity": 200, "unit_price": 1.85, "total_amount": 370.00 }, … 2 more ],

"supplier_payment_details": [{ "iban": "GB29NWBK60161331926819" }]

}

Ready to post, not just to read.

Dates come back in ISO 8601, amounts as numbers, and every field carries a confidence score and its position on the page.

Built for real-world invoices, not perfect PDFs

Crumpled photos, 12-page statements, tables that wrap across pages. The model was trained on the invoices your suppliers actually send.

Three invoices with different layouts read without templates

Any layout, from day one

A supplier you have never seen before is read as well as your top ten. Nothing to configure when a new vendor shows up.

Invoice line items table with the first row highlighted and returned as an array

Every row, structured

Line items come back as an array with description, quantity, unit price and tax rate, even when the table spans several pages.

Data schema with toggled fields and a custom cost center field added »

A schema shaped like your ERP

Keep the fields you need, switch off the rest and add your own, like a cost centre or a project code, without retraining anything.

Phone photo of an invoice with confidence scores and one field flagged for review

Scans and photos, with a safety net

Skewed, low-light or folded, it still reads. Low-confidence values are flagged so a human checks only what needs checking.

PDF / JPEG / PNG / WEBP / TIFF / HEIC, Multi-page invoices, +50 languages / any currency, Phone photos & scans, Handwritten annotations

Invoice OCR accuracy you can measure, field by field

Measured on real customer invoices, not curated samples. Run the same benchmark on your own documents during the free trial.

96.1%

Field-level accuracy on header fields

Supplier, dates, totals, taxes

98.2%

Accuracy on line items

Description, quantity, unit price

0.9s

Median time per invoice

Single page, synchronous call

A confidence score on every field

Set your own threshold. Fields above it flow straight to your systems; anything below lands in a review queue, with the exact spot on the invoice highlighted. Définissez votre propre seuil. Les champs au-dessus partent directement dans vos systèmes ; les autres rejoignent une file de vérification, avec leur emplacement exact mis en évidence sur votre invoice. Define tu propio umbral. Los campos que lo superan pasan directamente a tus sistemas; los que quedan por debajo van a una cola de revisión, con la ubicación exacta resaltada en invoice.

Auto-approve the invoices you can trust Aprueba automáticamente invoices de confianza Validez automatiquement les invoices fiables

Send only real exceptions to a human

Document AI features, better than OCR

Prepare, classify and extract. Mindee delivers high-accuracy extraction for every document format, so you can automate workflows with speed and high reliability.

Prototype in minutes, go live with the API

Start with a no-code workflow to prove the value on your own invoices, then move the same model into your product. Commencez par un workflow no-code pour prouver sa valeur sur vos propres invoices, puis intégrez le même modèle dans votre produit.

What teams build with invoice OCR

The same API powers very different products. Here is where it usually starts.

Rated 4.8/5 by developers and finance teams

4.8

on G2

4.9

on Capterra

quote

Mindee is an integrated document processing platform backed by reliable AI technology. The service has an intuitive and user-friendly interface and provides highly accurate results extracting data from various document types, especially financial receipts and invoices, which are relatively complex for efficient data extraction and automation.

on G2

quote

Excellent. In addition to their great product, the sales team has always been proactive on how they could help us leverage the maximum results from their product. It was like having an additional product manager on our side

on Capterra

quote

Mindee is a software that helps us to convert all of our physical business data like bills, invoices, warranty cards, calendar, recipts received to us into a digital documents that can be stored in our drive and can be uploaded in different type of Excel sheets so that all the updates can be maintained and a proper analytics of transactions can be kept by the financial team

on G2

FAQ about Mindee's Invoice OCR API

Can't find what you're looking for? Our team answers within one business day.

About invoice OCR À propos de l’OCR pour les invoice

How accurate is invoice OCR on line items?

Each value comes with a confidence score, so you can measure accuracy on your own invoices and decide what goes straight through and what goes to review.

Can Mindee extract VAT and tax amounts from invoices ?

Yes. Mindee returns the total net amount, the total tax and the total amount as separate fields, along with a tax breakdown by rate (rate, taxable base and tax value) when several VAT rates appear on the same invoice.

Each value comes with a confidence score. Your team can therefore automatically approve invoices where totals reconcile (net + tax = total) and send only inconsistent ones to manual review. This is especially useful for VAT recovery and multi-rate invoices common in the EU.

What’s the difference between invoice OCR and using an LLM like ChatGPT ?

General-purpose LLMs can read an invoice, but they aren’t built for production document processing. Their output can change from one run to the next, they sometimes “hallucinate” plausible but wrong values (a total that doesn’t exist, a mixed-up date), and they don’t tell you how reliable each field is.

‍

Mindee is purpose-built for this task. It always returns the same structured JSON schema, it gives a confidence score for every field, and it provides the position of each value on the page so it can be verified. This makes extraction predictable, auditable and easy to automate. Mindee is also faster and more cost-effective at high volume, because you don’t need prompt engineering or output parsing. You can check our Mindee vs LLMs comparison.

Does it work with invoices from different countries, languages and currencies ?

Yes. Mindee can support invoices from suppliers worldwide, so it handles different layouts, languages, date formats and number formats (1,234.56 vs 1.234,56) without any templates or configuration.

‍

Amounts are returned as normalized numbers, together with the detected currency code, so you can feed them directly into your ERP or accounting system. Supplier details such as company registration and VAT numbers are also extracted, which makes it easier to match invoices to vendors across countries.

How can I automate invoice data extraction end to end?

A typical workflow has four steps. Invoices arrive by email, upload or scan. They are then sent to the Mindee API, either through an SDK (Python, Node.js, Java, .NET…) or through a no-code tool like Zapier, Make or n8n. Mindee returns structured JSON in a few seconds. Fields above your confidence threshold are pushed straight to your ERP, and low-confidence fields are routed to a person for review. Most teams start with a no-code prototype in an afternoon, then move to the API for production volume.

About Mindee

Is my data secured and protected during the conversion process?

Yes, your data is highly secured and protected during the entire conversion process. As an enterprise-grade OCR solution, Mindee takes data privacy very seriously. Here are the key security measures in place:

  • Certified compliance: Mindee's infrastructure is SOC 2 Type II certified and fully GDPR compliant, ensuring strict industry standards for data protection.
  • Encryption: All documents and extracted data are fully encrypted both in transit (during the API call) and at rest.
  • Data localization: You have control over where your data is processed, with the option to host and process your data on either EU or US servers.
  • Strict privacy: Mindee respects data confidentiality. Your processed documents are not shared with third parties, and your private data is not used to train global AI models.

In short, your sensitive documents are processed in a secure, isolated environment and remain completely under your control.

Is Mindee's OCR API free to use?

We provide a 14 days free trial so you can fully test any of our OCR models — no credit card required. After this, we offer different pricing tiers depending of the volume of pages processed and the features you might need. See the pricing page for more information.

What file formats are supported for JSON conversion?

The supported document formats are:

  • PDF (application/pdf) – While technically a document format rather than an image, it is natively supported for all extraction models.
  • JPEG / JPG (image/jpeg)
  • PNG (image/png) – Must be non-animated.
  • WebP (image/webp)
  • TIFF / TIF (image/tiff) – Both single-page and multi-page TIFFs are supported and processed similarly to PDFs.
  • HEIC (image/heic) – Apple's High-Efficiency Image Container format.

‍

📌 Important technical limitations to keep in mind:

To ensure the OCR pipeline runs smoothly and successfully returns your JSON, make sure your files adhere to the following constraints:

  • Maximum file size: 100 MB per file.
  • Maximum page count: Up to 200 pages per document.
  • File state: The files cannot be encrypted, and PDFs must not be password-protected.

Ready to stop typing invoices by hand?

Send your first invoice to the API in minutes, with a full team of engineers dedicated to document processing behind it.

14-day free trial

No credit card required