# Tool: Invoice & Receipt Parser to JSON (`scrapers_lat/invoice-receipt-parser-tool`) Actor

Parse invoice and receipt images into structured JSON with vendor, line items, totals and tax using premium AI. Paid Apify plans only.

- **URL**: https://apify.com/scrapers\_lat/invoice-receipt-parser-tool.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** Business, AI, Developer tools
- **Stats:** 2 total users, 1 monthly users, 92.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $96.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![Tool: Invoice & Receipt Parser to JSON](https://scrapers.lat/banners/invoice-receipt-parser-tool.png)](https://console.apify.com/actors/invoice-receipt-parser-tool)

## Tool: Invoice & Receipt Parser to JSON

> Turn invoice and receipt images into clean accounting data. Pull the vendor, line items, tax and total out of every scan or photo as structured JSON.

**📥 [Input](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/input-schema) · 📤 [Output](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/output-schema) · 💰 [Pricing](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/pricing) · ▶️ [Examples](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples)**

![Apify](https://img.shields.io/badge/Platform-Apify-1CE1CE?logo=apify\&logoColor=white)
![Paid plan](https://img.shields.io/badge/Requires-Paid%20Apify%20plan-DE7356)
![Output](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-orange)

<table><tr>
<td align="center"><strong>Vendor + totals</strong><br>subtotal, tax, total</td>
<td align="center"><strong>Line items</strong><br>description, qty, price</td>
<td align="center"><strong>JSON / CSV / Excel</strong><br>output formats</td>
</tr></table>

<br>

### What it does

Give it a list of image URLs, each an invoice or a receipt. For every image it reads the values and returns a clean, structured record:

- **vendorName** and **vendorAddress**
- **invoiceNumber**, **date** and **dueDate**
- **currency**, **subtotal**, **tax** and **total**
- **lineItems**: an array of {description, quantity, unitPrice, amount}
- **paymentMethod**, plus **imageUrl** and **observedAt** for every record

Feed the results into accounting software, an expense workflow or a spreadsheet. Export to JSON, CSV or Excel, or pull it through the Apify API.

### Paid plans only

This tool runs on the latest, most reliable premium AI models. Because each run has a real model cost, it is available to paid Apify accounts only. A run started from a free account stops immediately with an upgrade message. Upgrade your Apify subscription to a paid plan and run it again.

### Who is it for

| Use case | Who benefits |
|---|---|
| Accounts payable | Teams entering supplier invoices at scale |
| Expenses | Finance turning receipt photos into records |
| Bookkeeping | Bookkeepers digitizing client paperwork |
| Developers | Builders adding invoice capture to an app |

### Input

- **imageUrls**: a list of image URLs, each an invoice or receipt to parse.
- **maxItems**: optional cap on how many images to parse this run.

### Notes

- Only values that are actually visible in the image are reported. Clear, well-lit images read best.
- Money values are returned as numbers so you can total them directly.
- Process documents you have the right to handle, in line with applicable laws.

### Example use cases

Ready-to-run example tasks, each preconfigured for a common scenario. Open one and press run, or use it as a template:

- [Parse a standard business invoice](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples/inv-parse-standard-invoice): Parse a business invoice into JSON with vendor, invoice number, line items, tax and total for accounting workflows.
- [Parse a retail store receipt](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples/inv-parse-store-receipt): Turn a store receipt image into JSON with merchant, date, items and total for expense reports and reimbursements.
- [Parse a classic white invoice layout](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples/inv-parse-classic-invoice): Extract vendor, amounts and line items from a classic invoice layout into structured JSON for bookkeeping systems.
- [Parse a modern invoice template](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples/inv-parse-modern-invoice): Parse a modern invoice template into JSON fields for vendor, totals and line items to feed your finance pipeline.
- [Parse a banded header invoice](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples/inv-parse-band-invoice): Extract structured invoice data such as number, date, items and total from a banded header invoice into clean JSON.
- [Batch parse two invoices at once](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples/inv-parse-two-invoices-batch): Parse multiple invoice images in one run and get structured JSON with vendors, totals and line items for each file.
- [Parse a restaurant receipt](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples/inv-parse-restaurant-receipt): Convert a restaurant receipt into JSON with items, subtotal, tip and total for expense tracking and reimbursements.
- [Parse neat and classic invoices together](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples/inv-parse-neat-and-classic): Process two invoice layouts in one job and export vendor, tax and total fields as structured JSON for each invoice.
- [Parse a supplier vendor invoice](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples/inv-parse-vendor-invoice): Extract supplier name, invoice number, due date and total from a vendor invoice into JSON for accounts payable.
- [Parse an expense receipt for reporting](https://apify.com/scrapers_lat/invoice-receipt-parser-tool/examples/inv-parse-expense-receipt): Parse an expense receipt into JSON with merchant, category, date and amount to speed up expense report entry and approvals.

### Export, API and AI agents (x402 + MCP)

Export the scraped data to **JSON, CSV or Excel**, pull it as a **dataset** through the Apify **API**, or wire it into your app with **no code**. This web scraper and data extractor also works for bulk data extraction and scheduled runs.

For AI agents: this Actor is available on **x402**, Apify's agentic payment standard built with Coinbase. An AI agent can discover, pay for and run it on its own with a funded wallet and a single HTTP request: no account, no subscription, no API key and no human in the loop. It also runs as an **MCP** tool inside Claude, Cursor and other AI clients out of the box. Learn more about [x402 agentic payments on Apify](https://docs.apify.com/platform/integrations/x402).

Built by [scrapers.lat](https://scrapers.lat).

# Actor input Schema

## `maxDocuments` (type: `integer`):

Cap how many images to parse this run. Optional.

## `imageUrls` (type: `array`):

A list of image URLs, each a photo or scan of an invoice or a receipt.

## Actor input object example

```json
{
  "imageUrls": [
    "https://templates.invoicehome.com/invoice-template-us-neat-750px.png"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "imageUrls": [
        "https://templates.invoicehome.com/invoice-template-us-neat-750px.png"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/invoice-receipt-parser-tool").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "imageUrls": ["https://templates.invoicehome.com/invoice-template-us-neat-750px.png"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/invoice-receipt-parser-tool").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "imageUrls": [
    "https://templates.invoicehome.com/invoice-template-us-neat-750px.png"
  ]
}' |
apify call scrapers_lat/invoice-receipt-parser-tool --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapers_lat/invoice-receipt-parser-tool",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5kT93DGAozdv0IbwA/builds/Y6luQle66vzVEOzYY/openapi.json
