Convert scanned invoices to structured JSON & Excel
Stamps, handwriting, and dense line-item grids make invoices painful to digitise by hand. Scan Hero reads scanned PDFs, photos, and PNG/JPG invoices and returns clean header fields, an itemised table, and reconciled totals — as JSON for your ERP or as a multi-sheet Excel workbook.
Every conversion runs on Anthropic’s Claude models, so the output understands context: it ignores AP scribbles, normalises vendor and tax fields, and keeps line items aligned. Upload a file or call the REST API — no OCR pipeline to build.
Example: Scanned invoices → structured tables & JSON
Stamps, handwriting, and dense line-item grids become clean header fields, item tables, and totals—ready for ERP, AP workflows, or automation.

Invoice header
| Field | Value |
|---|---|
| Vendor | GlobalTech Solutions LLC |
| Invoice number | INV-2024-07891 |
| Invoice date | 2024-05-03 |
| Due date | 2024-06-02 |
| Customer ID | CUST-88919 |
| PO number | PO-55421 |
| Bill to | Acme Corporation — Shelbyville, KY |
| Ship to | Acme Corporation — 150 Logistics Way |
| Salesperson | Michael T. |
| Ship via | FedEx Ground |
| Tracking | 1234 5678 9012 |
| Shipped date | 2024-05-02 |
| Currency | USD |
Line items
| Line | Part / description | Qty | UOM | Unit price | Discount | Amount |
|---|---|---|---|---|---|---|
| 1 | GTX-1000 Server Rack (42U, PDU, shelf, cable mgmt) | 2 | EA | 1,250.00 | 0% | 2,500.00 |
| 2 | SFP-10G-SR Module (10GBase-SR, 850nm, 300m) | 10 | EA | 85.50 | 5% | 812.25 |
| 3 | CAT6A-PLENUM-BLUE (1000 ft box) | 3 | BX | 195.00 | 0% | 585.00 |
| 4 | INSTALL-SVC (on-site hourly) | 8 | HR | 125.00 | 0% | 1,000.00 |
| 5 | SHIP-HANDLING | 1 | EA | 75.00 | 0% | 75.00 |
Totals
| Amount (USD) | |
|---|---|
| Subtotal | 4,972.25 |
| Discount | -40.61 |
| Shipping | 75.00 |
| Sales tax (KY 6%) | 298.00 |
| Total due | 5,304.64 |
Sample output
{
"document_type": "invoice",
"invoice_number": "INV-2024-07891",
"invoice_date": "2024-05-03",
"due_date": "2024-06-02",
"vendor": {
"name": "GlobalTech Solutions LLC",
"address": "7447 Industrial Parkway, Suite 200, Plainfield, IN 46168"
},
"bill_to": { "name": "Acme Corporation", "city": "Shelbyville", "state": "KY" },
"line_items": [
{ "line": 1, "sku": "GTX-1000", "qty": 2, "amount": 2500.0 },
{ "line": 2, "sku": "SFP-10G-SR", "qty": 10, "amount": 812.25 }
],
"subtotal": 4972.25,
"tax_amount": 298.0,
"total_due": 5304.64,
"currency": "USD"
}How it works
- 1
Upload your file
Drag it into the browser or send it through the REST API. See the credit cost before you convert.
- 2
Claude reads it
Anthropic’s Claude models extract and restructure the content — context-aware, not just raw OCR text.
- 3
Download clean output
Get exactly the format you chose, and refine it with an AI prompt in seconds if needed.
Frequently asked questions
Can Scan Hero extract data from a photo of an invoice?
Yes. Upload a PNG, JPG, or HEIC photo or a scanned PDF. Claude Vision reads the layout, normalises the vendor, dates, line items, and totals, and returns structured JSON or an Excel workbook.
Does the JSON match my own schema?
You can define a Template describing the exact fields you need, then convert against it to get JSON validated to your shape — ideal for direct ERP or accounts-payable import.
How are handwriting and stamps handled?
Handwritten AP notes and stamps are ignored unless they are part of the line-item data. The structured output focuses on the printed invoice content.
More conversions
Convert identity cards to a CSV row
Convert bank statements to Excel
Convert contract PDFs to editable Word
Convert Excel spreadsheets to Markdown tables
Convert presentations to structured Markdown
Convert handwritten notes and scans to text
Browse all conversion workflows, read the guides, or see the examples gallery.
Start converting in seconds
100 free credits on sign-up. No code, no card, no commitment.
Get started free