October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk5 min

How to Extract Invoice Data from PDFs into Structured JSON

Use invoice-aware document AI to extract PDF fields and line items, map provider responses into an application-owned JSON schema, and verify critical values against the source PDF.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To extract invoice data from PDFs into structured JSON, send each PDF to an invoice-aware document AI service, map its response into a schema your application controls, and validate important values against the original document before using them. Microsoft Azure AI Document Intelligence and AWS Textract AnalyzeExpense provide invoice-oriented extraction; Google Cloud Document AI offers generic form parsing and custom-schema extraction. Their responses are useful starting points—not automatically verified accounting records.

What the extraction pipeline should produce

Provider responses differ, so define the JSON your application needs before choosing a parser. A practical invoice record may include an invoice identifier, vendor and customer, issue and due dates, currency, subtotal, tax, total, payment terms, and an array of line items. Decide how to represent missing or ambiguous values, normalize dates and currencies, and retain the original provider response for traceability.

For example, your application might use a contract shaped like this, with field names and types adapted to your own requirements:

{
  "invoice_id": "INV-1042",
  "vendor": { "name": "Example Supplier" },
  "customer": { "name": "Example Customer" },
  "issue_date": "2026-03-14",
  "due_date": null,
  "currency": "USD",
  "subtotal": 120.00,
  "tax": 9.60,
  "total": 129.60,
  "payment_terms": null,
  "line_items": [
    {
      "description": "Consulting",
      "quantity": 2,
      "unit_price": 60.00,
      "line_total": 120.00
    }
  ]
}

This is an example of an application-owned schema, not a format guaranteed by any of the providers below. Preserve raw text and evidence such as page numbers, confidence, or bounding geometry alongside normalized values where the API supplies them.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
HP Small USB Document & Photo Scanner for Portable 1-Sided Sheetfed Digital Scanning, Model HPPS100, for Home, Office & Business, PC and Mac Compatible, HP WorkScan Software Included
  • ON-THE-GO SCANNING MADE SIMPLE | Meet the Fastest, Lightest and Most Efficient Single Sheetfed Scanner in its Class. | The HPPS100 Mobile Document Scanner Lets You Convert Stacks of Papers Into Digital Files—No Heavy, Expensive Equipment Needed. | Wide Compatibility Makes it Easy to Send Docs and Images to Your PC or Mac Computer, Laptop, or Similar Windows/MacOS Devices for Amazing Versatility
  • EASY, AFFORDABLE SIMPLEX SCANNING | Despite its Slim Profile, This Office Essential Offers Reliable 15ppm [15 Pages Per Minute or 4 Seconds Per Page] Operating Speed for Small- to Medium-Batch Jobs in Black and White and Color | Simplex One-Sided Scanning Technology Delivers Premium Results in a Single Pass, Speeding Up Scan Time and Improving Your Productivity When Converting Invoices, Contracts, Plans, Reports and Letters
  • DESIGNED FOR LIGHTWEIGHT PORTABILITY | Slip Inside a Bag or Briefcase, Then Travel from Home to Office to Business and Beyond. | Compact, Portable Styling Suits Your Busy Lifestyle While Providing All the Capabilities of a Professional-Quality Document Scanner Including Beautiful 1200 dpi Resolution, Versatile Paper Size Ranging from 2” x 2.9” (Minimum) to 8.5” x 14” (Maximum) and Versatile Conversion to PDF, JPG and Other File Formats
  • STUNNING SCANS WITHOUT THE BULK | Skip the Clunky, Messy, Complex Setups. | This Scanner Boasts a Tiny Footprint, Powers Via USB 2.0 [Cable Included] and Easily Plugs and Unplugs for Amazing On-the-Go Ease | Perfect Choice for People Who Fly or Travel for Work, Commuters, Small Business Owners, Legal Practices, Tax Preparers and Unique Scanning Tasks Such as Business Cards, Photos, Bills, Brochures, Receipts and Much More
  • WORK SMARTER WITH HP WORKSCAN | Download Our Free, Easy-to-Use Software or App for Windows and MacOS to Start Scanning. | Simple, Intuitive Platform with Auto-Scan and Size Detection Allows You to Easily Adjust Document Settings; Preview and Zoom in on Scans; Crop, Edit and Optimize Image Quality; Clean Up Background, Edges and Holes; and Save to Destination with Just a Few Clicks—No Tech Savvy Required.

Choose an extraction approach

Service Documented response or approach Consider it when Check before adopting
Microsoft Azure AI Document Intelligence prebuilt invoice model Returns recognized text (readResults), page and table results (pageResults), and invoice-specific fields and line items (documentResults). The documentation identifies v4.0 as generally available and API version 2024-11-30. You want an invoice-specific model through Azure’s API or Studio workflow. Confirm the API/model version, region, tier, supported languages, current file and page limits, and whether optional key-value output fits your needs.
AWS Textract AnalyzeExpense Returns ExpenseDocuments containing SummaryFields and LineItemGroups. Fields can include standardized types, extracted values, confidence, page number, and geometry. You want normalized expense fields and line-level results in an AWS workflow. Check the current API’s document constraints, region, response behavior, and cost for your usage.
Google Cloud Document AI Form Parser extracts generic key-value pairs and tables; Custom Extractor lets you define schema entities. Available approaches include foundation, custom-model-based, and template-based extraction. Your target fields are custom, or you need to compare approaches for documents with varying layouts. Check the chosen processor’s invoice support, region, version, limits, output fields, and validation behavior.

The official documentation describes different outputs and model approaches, but does not establish a controlled accuracy comparison among these services. Choose based on your schema, line-item needs, review evidence, layout variation, language and regional needs, cloud and data-handling requirements, file constraints, integration cost, and latency; measure performance on your own invoices.

Build the pipeline step by step

  1. Define the target JSON contract

    Specify required fields, data types, missing-value behavior, date and currency normalization, and how repeated line items are represented. Keep the raw response available so a normalized record can be traced back to the extraction result.

    Rank #2
    Sale
    Epson RapidReceipt RR-60 Compact Mobile Document Scanner Receipt
    • ScanSmart AI PRO Technology — Intelligently convert and extract scanned information into smart digital data – making your documents AI-ready
    • Quickly Organize Receipts and Invoices — Turn stacks of receipts and invoices into automatically categorized digital data
    • Export to Financial Software² — Easily integrate organized receipt and invoice details into financial applications, such as QuickBooks and TurboTax
    • Smallest and Lightest in Its Class³ ― USB-powered; weighs under 10 oz
    • Fast Scanning — Scan up to 10 pages per minute⁴ in Automatic Feeding Mode
  2. Select a prebuilt model or custom extraction

    Start with an invoice-specific model when common invoice fields are sufficient. Consider a custom schema when your application needs fields the standard response does not capture. Google distinguishes generic Form Parser extraction from Custom Extractor schemas; Microsoft documents a prebuilt invoice model, while AWS AnalyzeExpense returns standardized expense fields and line-item groups.

  3. Check the PDF against the selected endpoint’s constraints

    Validate file type, size, page count, and password status before submission. Limits vary by service, version, and tier; do not carry a limit from one endpoint to another. Microsoft’s documentation describes PDF and TIFF inputs and notes that password-locked PDFs must be unlocked. Its general input guidance lists up to 2,000 pages for PDFs/TIFFs, an S0 file-size limit of up to 500 MB and an F0 limit of up to 4 MB, while the invoice-specific section lists PDF/TIFF processing up to 2,000 pages and a file cap below 50 MB. Because requirements are presented in different sections and can depend on version and tier, verify the limit for the endpoint you will actually use.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
    Rank #3
    Sale
    ScanSnap iX2500 Wireless or USB High-Speed Document Scanner, Black
    • OUR MOST ADVANCED SCANSNAP. Large touchscreen, fast 45ppm double-sided scanning, 100-sheet document feeder, Wi-Fi and USB connectivity, automatic optimizations, and support for cloud services. Upgraded replacement for the discontinued iX1600
    • CUSTOMIZABLE. SHARABLE. Select personalized profiles from the touchscreen. Send to PC, Mac, mobile devices, and clouds. QUICK MENU lets you quickly scan-drag-drop to your favorite computer apps
    • STABLE WIRELESS OR USB CONNECTION. Built-in Wi-Fi 6 for the fastest and most secure scanning. Connect to smart devices or cloud services without a computer. USB-C connection also available
    • PHOTO AND DOCUMENT ORGANIZATION MADE EFFORTLESS. Easily manage, edit, and use scanned data from documents, receipts, photos, and business cards. Automatically optimize, name, and sort files
    • AVOIDS PAPER JAMS AND DAMAGE. Features a brake roller system to feed paper smoothly, a multi-feed sensor that detects pages stuck together, and skew detection to prevent paper damage and data loss
  4. Map fields and preserve evidence

    Translate provider-specific names into your own schema without discarding source context. AWS documents confidence, page number, geometry, and, where detected, the printed label for fields. Microsoft’s response separates recognized text, page-level results, and invoice-specific results. Retaining this evidence can help a reviewer locate a value in the PDF.

  5. Validate values that affect payment or records

    Check the invoice identifier, vendor, dates, currency, subtotal, tax, total, payment terms, and line extensions against the page or region from which each value was extracted. Route missing, low-confidence, or inconsistent fields for human review rather than treating extraction as proof of correctness. These checks are prudent pipeline design; the documented metadata does not amount to a vendor guarantee of error-free accounting.

    Rank #4
    Plustek PS186 Desktop Document Scanner, with 50-Pages Auto Document Feeder (ADF). for Windows 7/8 / 10/11 (Intel/AMD only)
    • Up to 255 customize favorite scan file setting with "Single Touch" , Support Windows 7/8/10
    • Turn paper documents into searchable, editable files - save scans as searchable PDF files; OCR function included
    • Info Barcode function - automatic categorization of complicate documentation and data with 1D or 2D Barcode page.
    • Intelligent color and image adjustments — Auto Rotate, Crop, Deskew and blank page remove with Plustek Image Processing Technology
    • Easy send scanned files to FTP server or personal NAS (FTP) with PDFs , Jpeg , TIFF or Png format. User can download scanner driver from Plustek website
  6. Test representative documents and keep an audit trail

    Evaluate invoices from different vendors, layouts, languages, and page counts, including scanned and digitally generated PDFs. Measure field-level results against a reviewed set from your own document mix; the cited product pages do not provide an accuracy percentage or head-to-head benchmark. For traceability, retain a source-document reference, model or processor version, extraction time, raw response, normalized record, and any corrections.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When layouts vary or fields are custom

Google Cloud Document AI separates general form understanding from schema-targeted extraction. Form Parser returns generic keys, values, tables, and selection marks without a user-defined field schema; the documentation says it supports up to 11 generic entities. Custom Extractor lets you define target entities and offers foundation, custom-model-based, and template-based approaches. Google recommends starting with a foundation model for variable layouts. Its documented training-document guidance says zero- to few-shot foundation-model prediction can use up to five labeled documents, while fine-tuned prediction uses more than ten; these are product guidance figures, not accuracy guarantees. Template approaches are intended for fixed layouts, while fine-tuning and document needs depend on layout variability.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
  • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
  • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
  • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
  • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)

A custom approach is useful when standard invoice fields omit business-specific data, but it does not remove the need to define missing-value behavior, verify extracted amounts, or test the model on documents representative of your actual workflow.

Check language, limits, and deployment fit

Before committing to a provider, confirm the exact processor or model, API version, region, language coverage, page and file limits, and output details for your deployment. Microsoft’s current invoice-model documentation lists 27 languages; treat that as the documented capability of that model, not a claim about every service or version. Its page also identifies v4.0 as GA and API version 2024-11-30. Verify current endpoint requirements rather than assuming limits from a different tier or API version apply.

Also evaluate where documents are processed and stored, whether the service and region meet your organization’s data-handling requirements, and the operational cost and latency for expected volume. The cited documentation establishes extraction behavior and product constraints, not a complete security, retention, or cost assessment for your particular deployment.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.