AI-Tax Document Parser in Power Automate
AI-Tax Document Parser is a Power Automate action by PDF4me that reads a tax document with AI and returns the form type, tax year, and a structured fields dictionary. Use it on W2, 1099, 1040, 1098, 1095, or W-4 forms to move data straight into SharePoint, Excel, Dynamics 365, or Power BI without manual entry.
What this action does
PDF4me AI-Tax Document Parser reads a tax document (PDF, PNG, JPG, or JPEG) and returns formType, taxYear, and a fields dictionary of extracted values. Supports W2, 1099, 1099-SSA, 1040, 1040-SR, 1040-NR, 1098, 1098-E, 1098-T, 1095A, 1095C, W-4, and UnifiedTaxUS. Optionally set Body/TaxModel for higher accuracy on a known form, or Body/customFieldKeys to pull additional fields beyond the standard set.
How Do I Authenticate My Power Automate Flow?
Every PDF4me action in Power Automate requires a valid connection. Create or select one that holds your PDF4me API key so the flow can authenticate AI tax document processing requests securely.
Important Facts You Should Not Miss

Map File Content and Body/Document/Name, then expand Advanced parameters for Body/TaxModel and Body/customFieldKeys.
Parameters
Required: File Content and Body/Document/Name must always be provided. Body/TaxModel and Body/customFieldKeys are optional Advanced parameters.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File Content | Required | Binary content of the tax document, mapped from a previous action (Get file content, SharePoint, OneDrive, email attachment). Supports .pdf, .png, .jpg, .jpeg. | body('Get_file_content') |
| Body/Document/Name | Required | Filename of the tax document including its extension. Used for format detection and processing. | tax_document_2024.pdf |
| Body/TaxModel | Optional | Advanced parameter. Known form type to improve extraction accuracy. Leave blank to let the AI auto-detect the form type. | W2 |
| Body/customFieldKeys | Optional | Advanced parameter. Array of additional field names to extract beyond the standard tax data set. | ["customField1", "customField2"] |
Supported Tax Forms
| Form Group | Body/TaxModel codes | Typical fields |
|---|---|---|
| Wage statement | W2 | Wages, federal/state tax withheld, Social Security wages, Medicare wages. |
| Information returns | 1099, 1099-SSA | Income amounts, payer information, tax withheld, recipient information. |
| Individual return | 1040, 1040-SR, 1040-NR | Adjusted gross income, taxable income, tax owed, refund amount, filing status. |
| Interest and education | 1098, 1098-E, 1098-T | Mortgage interest paid, student loan interest, tuition payments. |
| Health coverage | 1095A, 1095C | Health insurance coverage information, employer information. |
| Withholding | W-4 | Withholding allowances, additional withholding, filing status. |
Output Fields
| Field | Type | What it contains |
|---|---|---|
formType | String | The detected or specified tax form type, for example W2, 1099, or 1040. |
taxYear | String | The tax year the document applies to, for example 2024. |
fields | Object | Dictionary of extracted values, keyed by field name, plus any custom fields requested. |
warnings | Array | Messages flagging potential data quality issues or extraction challenges. Empty when none. |
fallbackUsed | Boolean | true if fallback extraction logic was used for this document. |
rawOcrText | String | The raw OCR text extracted from the document. |
jobId | String | Unique identifier for the AI processing job. |
success | Boolean | true if extraction completed, false if it failed. |
message | String | Descriptive result message for the processing run. |
How Do I Set Up AI-Tax Document Parser in Power Automate?
- Add PDF4me → AI-Tax Document Parser to your Power Automate flow.
- Map File Content from a previous action (SharePoint, OneDrive, or an email attachment).
- Set Body/Document/Name with the file's extension (.pdf, .png, .jpg, or .jpeg).
- Optionally expand Advanced parameters and set Body/TaxModel to a known form code for higher accuracy.
- Optionally set Body/customFieldKeys for any fields beyond the standard set. Run the flow, the parsed result returns as formType, taxYear, and fields.
Typical Setups
Workflow ExamplesCommon Power Automate flow patterns using AI-Tax Document Parser.
- A flow triggers when an employee uploads a W2 to a SharePoint intake folder.
- AI-Tax Document Parser runs with Body/TaxModel set to W2 for higher accuracy.
- The extracted wages and withholding fields are written to a SharePoint list.
- A Condition checks the warnings array and routes low-confidence rows to manual review.
- A flow triggers for each 1099 attachment received via Outlook.
- AI-Tax Document Parser extracts payer information and income amounts into a fields dictionary.
- The data is inserted into an Excel workbook for accounting reconciliation.
- A flow triggers when a filed 1040 return lands in a records library.
- AI-Tax Document Parser extracts filing status, adjusted gross income, and refund amount.
- A Dynamics 365 record is created with the extracted tax year and summary fields for audit lookup.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Action | AI-Tax Document Parser |
| Required fields | File Content, Body/Document/Name |
| Optional advanced fields | Body/TaxModel, Body/customFieldKeys |
| Supported form codes | W2, 1099, 1099-SSA, 1040, 1040-SR, 1040-NR, 1098, 1098-E, 1098-T, 1095A, 1095C, W-4, UnifiedTaxUS |
| Supported file types | .pdf, .png, .jpg, .jpeg |
| Output | formType, taxYear, fields, warnings, fallbackUsed, rawOcrText, jobId, success, message |
Common Questions
Industry Use Cases & Applications
- Accounting & Tax Services
- Human Resources & Payroll
- Finance & Banking
- Government & Public Sector
- Healthcare & Insurance
- Tax Return Processing: Automate tax return processing using extracted tax document data
- Tax Filing: Automate tax filing preparation using extracted tax form information
- Tax Compliance: Ensure tax compliance using extracted tax document data
- Tax Reporting: Generate tax reports from extracted tax document information
- Audit Preparation: Prepare audits using extracted tax document data
- Employee Tax Processing: Process employee tax documents (W2, 1099) automatically
- Tax Document Management: Manage employee tax documents using extracted tax data
- Tax Reporting: Generate employee tax reports from extracted tax information
- Compliance Tracking: Track tax compliance using extracted tax document data
- Tax Documentation: Maintain employee tax documentation using extracted tax data
- Tax Document Processing: Process tax documents for financial services using extracted tax data
- Tax Compliance: Ensure tax compliance for financial transactions using extracted tax information
- Tax Reporting: Generate tax reports from extracted tax document data
- Tax Analytics: Analyze tax data using extracted tax document information
- Financial Reporting: Generate financial reports including tax information
- Tax Processing: Process tax documents for government services using extracted tax data
- Tax Compliance: Ensure tax compliance for government programs using extracted tax information
- Tax Reporting: Generate tax reports for government agencies from extracted tax document data
- Public Records: Manage public tax records using extracted tax information
- Audit Trails: Maintain audit trails for government tax processing
- Healthcare Tax Processing: Process healthcare tax documents (1095A, 1095C) using extracted tax data
- Insurance Tax Compliance: Ensure insurance tax compliance using extracted tax information
- Tax Reporting: Generate healthcare tax reports from extracted tax document data
- Compliance Tracking: Track healthcare tax compliance using extracted tax information
- Tax Documentation: Maintain healthcare tax documentation using extracted tax data