An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
No public known-issue entry or release note currently identifies this exact Box 8/Box 10 misassignment, so reject AllocatedTips when its returned polygon falls in the Box 10 region and open a Microsoft support case with the reproducible sample.
Recommended production guardrail
Treat field confidence as a review signal, not as proof that the value belongs to Box 8. Confidence measures statistical certainty of the prediction; a confidently recognized 1000.00 can still be assigned to the wrong semantic field.^1^
For each supported W-2 layout:
- Define normalized regions of interest for Box 8 and Box 10.
- Read the
boundingRegionspolygon returned for the Allocated Tips field. - Normalize its coordinates using the corresponding page width and height.
- Accept it only when the polygon overlaps the expected Box 8 region.
- If it overlaps Box 10—or substantially overlaps the
DependentCareBenefitspolygon—set Allocated Tips tonulland optionally route the document for review. - Maintain separate regions for materially different W-2 layouts.
Document Intelligence exposes page dimensions and polygon coordinates for spatial validation.^2^
A simplified validation pattern:
static bool AcceptAllocatedTips(
Polygon tips, Rectangle box8, Polygon? dependentCare)
{
const double minBox8Overlap = 0.60;
const double maxBox10Overlap = 0.20;
if (Overlap(tips, box8) < minBox8Overlap)
return false;
if (dependentCare != null &&
Overlap(tips, dependentCare) > maxBox10Overlap)
return false;
return true;
}
Overlap should calculate polygon intersection area divided by the candidate field area. Tune thresholds against representative digital PDFs and scans rather than relying on the illustrative values above.
Also retain the confidence threshold as a second guard:
- Wrong region: reject regardless of confidence.
- Correct region, low confidence: manual review.
- Correct region, acceptable confidence: accept.
Known issue and planned fix status
prebuilt-tax.us.w2 with API 2024-11-30 is a documented v4.0 GA combination.^3^
However:
- The current public known-issues page does not list the Box 8/Box 10 behavior.^4^
- The March 2026 tax-model update mentions 2025 forms and multi-copy extraction improvements, but does not identify a fix for this field-mapping case.^5^
Therefore, no public fix version or delivery date can currently be confirmed.
Open Azure portal → Help + support → Create a support request and include:
- Resource region and resource ID.
- API version and exact model ID.
- Redacted or synthetic input file.
- Complete analyze-result JSON, including polygons, spans, confidence, page dimensions, and operation/request correlation identifiers.
- Expected Box 8
nullversus actual value. - Confirmation that the same value and polygon correspond to Box 10.
- Results from several W-2 layouts, if available.
This gives the product team enough information to determine whether the behavior is document-layout-specific or a model regression.
Query fields
Do not make query fields the primary workaround here. Although the model capability matrix marks query fields as supported for prebuilt-tax.us.w2, the add-on documentation specifically says Studio query-field extraction excludes US tax W-2, 1098, and 1099 models.^6^^7^
Even where query fields are available through the API, they are intended to extend a schema or request specific fields, not to enforce that a value came from a particular numbered W-2 box. Geometry validation remains necessary.
When to use a custom model
Use a custom neural model if:
- This affects enough documents that per-layout region rules become difficult to maintain.
- Your W-2 layouts come from a known set of issuers.
- Box 8 and Box 10 accuracy is business-critical.
Custom neural models are explicitly suitable for W-2 forms that share the same information but vary in appearance, and they support region labeling with API 2024-11-30.^8^
Include representative examples where:
- Box 8 is blank and Box 10 is populated.
- Box 8 is populated and Box 10 is blank.
- Both are populated.
- Both are blank.
- Digital and scanned variants are represented.
A custom model still requires evaluation and confidence/geometry guardrails for financial processing; it is not an automatic guarantee against field confusion.
References
- Interpret and improve accuracy and confidence scores
- What is the Document Intelligence layout model?
- Document Intelligence US tax documents data extraction - Foundry Tools | Microsoft Learn
- Azure AI Document Intelligence in Foundry Tools known issues - Foundry Tools | Microsoft Learn
- What's new in Document Intelligence - Foundry Tools | Microsoft Learn
- Document processing models
- Document Intelligence add-on capabilities
- Document Intelligence custom neural model