azure-ai-document-intelligence-ts

Extract text, tables, and structured fields from documents via Azure Document Intelligence.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-ai-document-intelligence-ts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-ai-document-intelligence-ts
Source: https://github.com/davidrrowley/CortexYouV3/tree/main/.agents/skills/azure-ai-document-intelligence-ts
Command: npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-ai-document-intelligence-ts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developers and automation engineers can reliably extract text, tables, and structured fields from documents without manual transcription or fragile OCR pipelines by leveraging Azure Document Intelligence prebuilt and custom models.

Core Features & Use Cases

  • Prebuilt model extraction: Use prebuilt-read, prebuilt-layout, prebuilt-invoice, prebuilt-receipt, and other models to extract text, tables, and domain fields.
  • Flexible inputs: Analyze documents from URLs or local files encoded as base64 and process single documents or batch jobs to a result container.
  • Model management & classification: Build custom document models and classifiers for specialized document types and list or manage models programmatically.
  • Operational patterns: Uses long-running pollers for asynchronous operations, helpers for pagination and artifact retrieval, and explicit error checking with isUnexpected.
  • Use Case: Automate invoice and receipt processing to extract vendor names, line items, totals, and due dates into structured outputs for downstream accounting workflows.

Quick Start

Analyze the invoice at https://example.com/invoice.pdf using the prebuilt-invoice model and return extracted fields, tables, and confidence scores.

Frequently Asked Questions about azure-ai-document-intelligence-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract structured data from invoices using TypeScript?

To extract structured data from invoices using TypeScript, you can use Azure Document Intelligence with the prebuilt-invoice model to parse vendor names, line items, and totals from URLs or base64 inputs.

Can I process batch documents and extract tables with Azure Document Intelligence?

Yes, Azure Document Intelligence supports batch processing and table extraction. You can submit multiple documents to a result container and use the prebuilt-layout model to parse tables and text asynchronously.

Do I need an Azure endpoint to extract text from PDF documents?

Yes, you need an active Azure Document Intelligence endpoint and credentials to extract text from PDF documents. The service requires authentication to process URLs or base64 file inputs and return structured outputs.

What is the best way to handle long-running OCR operations in TypeScript?

The best way to handle long-running OCR operations in TypeScript is using long-running pollers. Azure Document Intelligence uses asynchronous operations with explicit error checking via isUnexpected to manage extraction status safely.

Does Azure Document Intelligence work with custom forms and ID documents?

Yes, Azure Document Intelligence works with custom forms and ID documents. You can build custom document models and classifiers for specialized types, or use prebuilt models to extract domain fields from various forms reliably.

Why does document extraction fail when passing local files to Azure Document Intelligence?

Document extraction fails with local files if they are not properly encoded as base64. Azure Document Intelligence requires inputs as either accessible URLs or base64 encoded strings, and uses isUnexpected checks to catch validation errors.