Document AI · Microsoft

Azure Document Intelligence

Microsoft’s enterprise document-AI suite — prebuilt invoice, receipt and contract models plus custom neural training, SLA-backed and Azure-native.

Illustration of a vast corporate document empire
ParamsTask typeLicenseReleasedAccessPricing
UndisclosedOCR, forms, invoices, contracts, custom modelsProprietary, paid (Azure)2023+ (continuously updated)Managed API (Azure AI Services)Per page, tiered (~$1.50–$10+ / 1K pages, as of Nov 2026)

What it is

Azure Document Intelligence (formerly Form Recognizer) is Microsoft’s managed document-AI service. It converts PDFs and images into structured, schema-aware data: layout, tables, key-value pairs, and — crucially — prebuilt models for invoices, receipts, ID documents, tax forms and contracts, plus custom neural models you can train on your own labeled samples. It is the default answer when a procurement team needs an SLA, an Azure contract and a support phone number.

Architecture and how it reads documents

Microsoft does not disclose model internals. Functionally it operates as a hosted pipeline: a layout analysis stage detects text, tables, selection marks and reading order; specialized neural heads then extract entities bound to a schema (invoice total, vendor, line items). Custom models use a neural architecture trained from a small set of labeled examples (tens, not thousands, for the neural tier). Compared with end-to-end open VLMs it’s more rigid and more reliable — schema-first rather than free-form markdown. Details hedged as of Nov 2026.

Accuracy and table/handwriting handling

On its home turf — standard invoice, receipt and form layouts — accuracy is high 90s for printed templates, as of Nov 2026. Tables are extracted with cell-level structure reliably. Handwriting works but is mid-pack versus Google Document AI, particularly for cursive. Custom neural models adapt well to proprietary forms after modest labeling effort. Complex multi-page contracts get parsed for layout and entities, though clause understanding still requires a reasoning model on top.

Strengths

  • Prebuilt schemas. Invoice, receipt, ID, tax and contract models work out of the box — the fastest path from PDF to structured JSON.
  • Custom neural models. Train on your own forms with modest labeled data; no ML team required.
  • Enterprise posture. SLA, regional data residency, compliance certifications, Microsoft support.
  • Azure-native plumbing. Pipes straight into Logic Apps, Functions, Synapse and Power Automate.

Weaknesses

  • Per-page pricing at volume. A million pages is a five-figure line item; open weights start looking strategic.
  • Azure lock-in. Models, training data and pipelines live inside Azure AI Services.
  • Overkill for simple OCR. If you just need text out of a clean PDF, you’re paying invoice-model prices for a text task.
  • Handwriting trails Google. Legible prints fine; doctors’ notes do not.

Best for / avoid for

Best for: accounts-payable invoice automation, contract ingestion at enterprise scale, receipt capture, identity/KYC workflows, and any pipeline needing an auditable, SLA-backed extraction service inside Azure.

Avoid for: one-off OCR jobs, budget-constrained startups at high page volume, air-gapped environments, and free-form document reasoning (pair it with an LLM for that).

Variants

Layout model (general structure + text), prebuilt models (invoice, receipt, ID, tax, contract, health insurance card), and custom models (template and neural). Custom neural is the flagship for proprietary forms; composed models stitch several extractors into one endpoint.

Pricing and access

Per-page billing with tiers, as of Nov 2026: read/layout roughly $1.50 per 1,000 pages; prebuilt invoice/receipt roughly $10 per 1,000 pages; custom neural extraction roughly $8–$10+ per 1,000 pages; custom training billed per labeled sample set. Free tiers (a few hundred pages/month) exist for evaluation. Confirm current numbers on the Azure pricing page — they shift, and regional pricing varies.

How to run it

Python SDK for the prebuilt invoice path:

from azure.ai.documentintelligence import DocumentIntelligenceClient
from azure.core.credentials import AzureKeyCredential

client = DocumentIntelligenceClient(
    endpoint="https://YOUR-RESOURCE.cognitiveservices.azure.com",
    credential=AzureKeyCredential("KEY"))

with open("invoice.pdf", "rb") as f:
    poller = client.begin_analyze_document("prebuilt-invoice", body=f)
result = poller.result()
for inv in result.documents:
    print(inv.fields.get("InvoiceTotal"))
    for item in inv.fields.get("Items", {}).get("valueArray", []):
        print(item.get("valueObject", {}).get("Description"))

For custom models, label samples in Azure AI Studio, train, and call the resulting model id the same way. Cache results by document hash and set failure retries around table extraction — transient 5xxs happen on dense pages.

Benchmarks snapshot

Models-data (as of Nov 2026): “Azure-internal + analyst benchmarks (Gartner MQ leaders).” Public third-party benchmarking is thin; commonly reported figures put prebuilt invoice extraction in the ~90%+ field-accuracy range on standard templates and layout analysis comparably high. Treat exact numbers as vendor-adjacent estimates and validate on your own document set — template drift breaks every prebuilt model eventually.

How it stacks up

vs Google Document AI: Google wins on handwriting and ID proofing; Azure wins on Microsoft-ecosystem integration and custom-neural ergonomics. Both are enterprise-priced and enterprise-locked.

vs AWS Textract: Textract has the better queries API and deep AWS plumbing; Azure has deeper prebuilt contract/invoice coverage and custom models.

vs open weights (DeepSeek-OCR, dots.ocr): open models win on cost and privacy at volume; Azure wins on SLAs, compliance and zero plumbing. The honest split: structured enterprise forms → Azure; bulk messy text → self-hosted open.

PeaBox fit

Use Azure DI for the “paperwork that must be right” lane: invoices, receipts, contracts flowing through governed ingestion. Extracted JSON feeds the PeaBox AI Workbench for review and analysis. For bulk corpus digitization where nobody is auditing field-level accuracy, reach for open weights instead.

The practitioner’s take

If your documents are invoices, receipts or standard contracts and your company lives in Azure, this is the path of least resistance and it is genuinely good. The trap is using it as a general OCR engine — you pay specialist prices for a commodity task. Pilot the prebuilt invoice model on fifty of your ugliest real invoices; if field accuracy holds, sign the contract and move on. If not, that’s your cue to evaluate Google or open weights.

More from the atlas