Cloud service · Azure · Updated

Azure Document Intelligence in Foundry Tools - Azure Document Intelligence in Foundry Tools is a managed document-processing service that extracts text, layout, and structured fields using OCR, prebuilt models, and custom models.

In short

Azure Document Intelligence converts supported documents and images into structured results for applications, business workflows, and search pipelines. It provides general-purpose text and layout extraction, pretrained models for common document types, and trainable extraction and classification models for organization-specific documents.

Cloud Services Hub →

8 key features of Azure Document Intelligence in Foundry Tools

01
Printed and handwritten text extraction

Use the Read model to extract text lines, words, and document locations from supported files. Evaluate handwriting and language coverage against representative samples before setting automation thresholds.

02
Layout and document structure

Extract tables, selection marks, paragraphs, and paragraph roles with the Layout model. Markdown output can preserve useful structure for document chunking and downstream language-model processing.

03
Prebuilt document models

Extract predefined fields from document families such as invoices, receipts, identity documents, and supported tax forms. Typed results reduce parsing work, but applications still need to validate required fields and business constraints.

04
Custom extraction models

Train models to extract fields defined by your organization using labeled examples. Choose template models for stable layouts or neural models for documents with greater layout variation.

05
Custom classification and model composition

Train classifiers to identify document types before extraction, and use composed extraction models to group compatible custom models. Classification and extraction remain distinct operations when building an explicit routing workflow.

06
Optional extraction capabilities

Enable supported options such as query fields, high-resolution OCR, formula extraction, font properties, and barcode extraction. Availability and additional charges depend on the selected model, capability, and API version.

07
Searchable PDF output

Use the Read model's supported searchable PDF capability to add a searchable text layer to scanned PDFs. Retrieve and retain the generated artifact separately from the structured analysis response.

08
Studio, REST, and SDK development

Use Document Intelligence Studio for experimentation, labeling, and model evaluation, then integrate through REST or supported SDKs. SDK pollers simplify asynchronous analysis, but applications still need durable operation tracking and error handling.

Where Azure Document Intelligence in Foundry Tools is used

  1. 01
    Accounts payable processing

    Extract invoice numbers, supplier details, totals, and line items with the invoice model. Reconcile amounts and purchase-order references, then send exceptions to a reviewer before posting to an accounting system.

  2. 02
    Application and loan package intake

    Classify incoming documents into supported business categories and route them to prebuilt or custom extraction models. Track missing documents and validate extracted applicant information without treating extraction as an underwriting decision.

  3. 03
    Search and retrieval-augmented generation

    Extract text and structure from PDFs and scans, then create chunks aligned with headings, paragraphs, and tables. Index those chunks with source document and page references so retrieved passages can be traced back to the original.

  4. 04
    Organization-specific form processing

    Train custom models for inspection forms, purchase orders, or onboarding documents with fields not covered by prebuilt schemas. Route uncertain or invalid values to human review and use reviewed examples to improve future model versions.

  5. 05
    Archive digitization

    Extract text from scanned records for indexing, auditing, and document discovery. Where supported, generate searchable PDFs while retaining original scans and applying the organization's retention and access policies.

How Azure Document Intelligence in Foundry Tools is priced

Free tier

The F0 tier provides a limited monthly allowance for evaluation and development, with lower quotas and document-processing limits than paid resources. Confirm the current allowance and model restrictions before using it for testing.

Pay-as-you-go analysis

Paid analysis is generally metered by pages processed, with rates varying by model category and selected capabilities. Page accounting depends on the input format; estimate costs using the relevant billing rules rather than file count alone.

Optional capability charges

Some optional capabilities incur additional charges beyond base extraction. Check the pricing for features such as high-resolution OCR, formula extraction, font extraction, and query fields before enabling them across an entire workload.

Custom neural model training

Custom neural training can incur charges when applicable included training allowances are exceeded. Account for retraining frequency and training duration, and check the current v4.0 training limits and billing rules when planning model development.

Services Azure Document Intelligence in Foundry Tools works with

A common architecture separates document storage, analysis, validation, and downstream delivery. Store incoming files in Azure Blob Storage, trigger processing through Azure Functions or Logic Apps, and submit each document to the appropriate Document Intelligence model. Persist the operation identifier and poll asynchronously. A queue between intake and processing can absorb traffic spikes and keep request rates within service quotas.

After analysis, retain the raw result and apply schema validation, confidence thresholds, and business rules. Route exceptions to a review workflow, then write approved fields into Azure SQL Database or another system of record. Use stable document identifiers and idempotent writes to prevent retries from creating duplicate business records. Keep source references so reviewers can compare extracted values with the original pages.

For search and RAG, use Layout output to build structure-aware chunks and load them into Azure AI Search. An application can retrieve relevant chunks and send them to Azure OpenAI for summarization or question answering. Preserve source metadata, enforce access controls during retrieval, and treat document text as untrusted input. Across these patterns, configure storage authorization, service authentication, private networking, and retention independently rather than assuming one service connection secures the entire pipeline.

Azure Blob Storage

Use Blob Storage to hold source documents, labeled training datasets, and persisted analysis results. For example, store supplier invoices in an intake container and write the returned JSON into a separate results container. Document access must be explicitly authorized through a supported mechanism; a blob URL alone does not grant access.

Azure Functions

Run custom ingestion and validation code in Azure Functions using the Document Intelligence SDK or REST API. For example, a blob-triggered function can submit a new invoice for analysis and persist its operation identifier. Use durable orchestration or separate polling work rather than keeping an HTTP request open until processing finishes.

Logic Apps

Use Logic Apps to coordinate document intake, API calls, approvals, and downstream system updates through available connectors or HTTP actions. For example, an invoice arriving in a monitored mailbox can be stored, analyzed, and routed for approval when its total exceeds a business threshold. Configure asynchronous polling and authentication explicitly when using HTTP actions.

Azure OpenAI in Foundry Models

Pass extracted text or retrieved document chunks to an Azure OpenAI deployment for supported generative tasks. For example, extract a contract with Layout, retrieve relevant clauses, and ask a language model to summarize them with source references. This is an application-level pipeline: OCR output is not automatically grounded, validated, or safe from document-borne prompt injection.

Azure SQL Database

Write validated field values into relational tables using application code or workflow database actions. For example, store invoice headers and line items only after checking totals, required fields, and duplicate document identifiers. Retain a reference to the original document and extraction result so corrections remain auditable.

Azure Container Instances

Supported Document Intelligence models can run in Azure Container Instances using Microsoft's Document Intelligence container images. The container exposes a document analysis endpoint and, in connected mode, uses an Azure Document Intelligence resource for usage metering.

Azure Content Understanding in Foundry Tools

Document Intelligence provides deterministic extraction for structured documents as part of Azure Content Understanding's capabilities. Content Understanding complements it with language-model-based analyzers for complex documents and other types of media.

Azure DNS

A Document Intelligence resource with a private endpoint can use the Azure Private DNS zone `privatelink.cognitiveservices.azure.com`. Clients on linked virtual networks can then use the resource's normal hostname and have it resolve to the private endpoint's IP address.

Azure Key Vault

Document Intelligence can use a customer-managed encryption key stored in Azure Key Vault to protect supported data at rest. The Document Intelligence resource uses its managed identity to access the configured key.

Azure Kubernetes Service (AKS)

Document Intelligence provides container images for supported models that can be deployed to AKS. For example, an AKS workload can send documents to a Layout model endpoint running in the cluster.

Alternatives to Azure Document Intelligence in Foundry Tools in other clouds

AWS

Amazon TextractAmazon Textract

Amazon Textract and Azure Document Intelligence extract printed and handwritten text, tables, and structured fields from documents. Textract offers synchronous analysis for single pages and asynchronous analysis for multipage documents, while Azure uses asynchronous analysis; Textract adapts pretrained Queries, while Azure lets teams train custom template or neural extraction models.

Compare fact by fact
Azure Document Intelligence in Foundry ToolsAmazon Textract
Analysis modeAsync with pollingSync for single pages; async available
Custom extractionTrainable template or neural modelsAdapters for pretrained Queries
Loan package routingSeparate classification and extractionAutomatic mortgage page routing
Free tierF0 tier with a monthly allowance3 months for new AWS customers

What is Azure Document Intelligence in Foundry Tools

2 min read

Azure Document Intelligence in Foundry Tools provides APIs for extracting information from documents without building an OCR and document-analysis pipeline from scratch. Applications submit a supported file or an accessible document URL, select a model, and retrieve structured analysis results. The service supports printed and handwritten text, document structure, and business fields, with capabilities varying by model, input format, language, and API version.

Choose the model according to the information required downstream. The Read model, identified as prebuilt-read, extracts text, words, and their locations. The Layout model, prebuilt-layout, adds structural information such as paragraphs, paragraph roles, tables, and selection marks. Layout can produce Markdown output, which is useful when preparing documents for search indexing or retrieval-augmented generation because it preserves more structure than a plain text stream.

Prebuilt models extract fields from common document types, including invoices, receipts, identity documents, and supported US tax and mortgage forms. These models return predefined schemas with typed values where applicable, such as dates and currency amounts. Check the supported document variants and locales before selecting a model; a model intended for one jurisdiction or document family should not be assumed to support every equivalent form worldwide.

For business-specific schemas, train a custom extraction model using representative labeled documents. Custom template models suit documents with consistent visual layouts, while custom neural models support more varied layouts and document structures. Custom classifiers identify document types and can support workflows that route different documents to different extraction models. Composed extraction models group compatible custom models behind a single model identifier.

Analysis is asynchronous. Production code should submit an analysis request, persist the operation identifier or result URL, and poll for completion using the REST API or an SDK poller. Handle throttling with bounded concurrency and retry delays, and avoid resubmitting a document simply because a polling request failed. Validate file size, page count, and supported formats before submission, and use page ranges when only part of a document requires analysis.

Treat extracted data as evidence requiring validation rather than guaranteed business truth. Retain source references and relevant confidence scores so reviewers can inspect uncertain values against the original document. Apply schema checks and business rules, such as reconciling invoice totals, before writing results into operational systems. Measure field-level accuracy on a held-out dataset that reflects production scan quality, languages, and layout variations.

Use Document Intelligence Studio to explore models, label training data, and test extraction before integrating through REST or the Python, .NET, Java, or JavaScript SDKs. Secure service access with Microsoft Entra ID and appropriate role assignments where supported, or protect resource keys when key authentication is required. Plan networking and storage access together: private endpoints and restricted storage require compatible connectivity and authorization. Pin the API version and model identifiers, monitor latency and throttling, and budget for analyzed pages, optional capabilities, and applicable custom-model training charges.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.