AI-Invoice Parser in Power Automate
PDF4me AI-Invoice Parser extracts structured data from invoices using AI-powered machine learning through Power Automate flows. Process invoice PDFs or images via Power Automate triggers, binary data, base64 strings, or public URLs to automatically extract vendor details, invoice numbers, line items, amounts, dates, payment terms, tax information, and other invoice fields with high accuracy and intelligent field recognition. This solution is ideal for accounts payable automation, invoice digitization, financial data extraction, accounting system integration, automated data entry, and invoice processing workflows that require AI-powered extraction with structured output and seamless Microsoft 365 integration.
Authenticating Your API Request
To access the PDF4me Web API through Power Automate, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Power Automate flows and PDF4me's powerful AI-powered invoice processing services.

Key Features
- AI-Powered Extraction: Advanced machine learning technology for accurate invoice data extraction
- Multi-Format Support: Process invoices in PDF, PNG, JPG, and JPEG formats
- Comprehensive Field Recognition: Extract vendor details, line items, amounts, dates, taxes, and payment terms
- Intelligent Date Parsing: Automatic recognition and formatting of invoice and due dates
- Tax Calculation Extraction: Identify CGST, SGST, and other tax components with rates
- Line Item Details: Extract detailed line items with descriptions, quantities, prices, and HSN codes
- Confidence Scores: Receive confidence metrics for extracted fields to assess data quality
- Microsoft 365 Integration: Seamlessly integrate extracted data with SharePoint, Excel, and Dynamics 365
Parameters
Complete list of parameters for the AI-Invoice Parser action. Configure these parameters to control invoice processing and data extraction.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
Document Source Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| Invoice File Content*** | Binary | Source Invoice Binary Data • Map invoice file content from previous Power Automate action • Supports dynamic expressions: body('Get_file_content')• Compatible with Dropbox, SharePoint, OneDrive, and email attachments • Supports .pdf, .png, .jpg, .jpeg formats | body('Get_file_content') |
| Invoice Name*** | String | Invoice File Identifier with Extension • Specify the name of the input invoice file with proper extension • Used for format detection and AI processing optimization • Supports dynamic naming from flow variables • Must include file extension (.pdf, .png, .jpg, .jpeg) • Enables document tracking in logs and audit trails | invoice_2024_001.pdf |
Advanced Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| Body/customFieldKeys | Array | Optional Custom Field Keys List • Optional list of custom field keys to extract from the invoice • Specify additional fields beyond standard invoice data • Supports multiple custom field keys for enhanced data extraction • Enables extraction of domain-specific or custom invoice fields • Each item in the array represents a custom field key to extract | ["customField1", "customField2"] |
Output
The PDF4me AI-Invoice Parser action returns comprehensive output data for seamless Power Automate flow integration:
- Table
- JSON
- Flow Integration
Table View
Response data in a structured table format:
| Parameter | Type | Description |
|---|---|---|
| invoiceNumber | String | The unique invoice number or reference identifier extracted from the invoice document |
| vendorName | String | The complete name of the vendor or supplier extracted from the invoice |
| vendorAddress | String | The complete address of the vendor including street, city, state, and postal code |
| vendorEmail | String | The email address of the vendor extracted from the invoice |
| vendorPhone | String | The phone number of the vendor extracted from the invoice |
| billToName | String | The name of the entity being billed, extracted from the invoice |
| billToAddress | String | The complete billing address including street, city, state, and postal code |
| billToState | String | The state or province of the billing address extracted from the invoice |
| billToPincode | String | The postal code or ZIP code of the billing address |
| invoiceDate | String | The date when the invoice was issued, formatted in ISO 8601 format (YYYY-MM-DD) |
| dueDate | String | The payment due date extracted from the invoice (YYYY-MM-DD format) |
| subTotal | Number | The subtotal amount before taxes and fees, with precise decimal handling |
| cgst | Number | The Central Goods and Services Tax amount extracted from the invoice |
| sgst | Number | The State Goods and Services Tax amount extracted from the invoice |
| cgstRate | Number | The Central GST rate percentage extracted from the invoice |
| sgstRate | Number | The State GST rate percentage extracted from the invoice |
| total | Number | The final total amount including all taxes and fees |
| currency | String | The currency code (ISO 4217) of the invoice amounts (e.g., USD, EUR, INR) |
| paymentTerms | String | The payment terms and conditions extracted from the invoice (e.g., "Net 30") |
| lineItems | Array | Array of individual line items with descriptions, quantities, unit prices, HSN codes, and tax details |
| confidence | Object | Object containing confidence scores for specific extracted fields (0-1 scale) |
| jobId | String | Unique identifier for the AI processing job, used for tracking and debugging |
| jobIdExt | String | External job identifier for integration with third-party systems, if applicable |
| success | Boolean | Boolean flag indicating the success or failure of the AI-powered invoice data extraction |
| message | String | Descriptive message indicating the result of the AI-powered invoice data extraction process |
JSON Response Format
The raw JSON response from the action:
{
"invoiceNumber": "INV-2024-001",
"vendorName": "Sample Corporation Ltd.",
"vendorAddress": "123 Business Street, New York, NY 10001",
"vendorEmail": "[email protected]",
"vendorPhone": "+1-555-123-4567",
"billToName": "Customer Company Inc.",
"billToAddress": "456 Customer Avenue, Los Angeles, CA 90210",
"billToState": "California",
"billToPincode": "90210",
"invoiceDate": "2024-01-15",
"dueDate": "2024-02-14",
"subTotal": 1250.00,
"cgst": 125.00,
"sgst": 125.00,
"cgstRate": 10,
"sgstRate": 10,
"total": 1500.00,
"currency": "USD",
"paymentTerms": "Net 30",
"lineItems": [
{
"hsnCode": "12345678",
"description": "Software License - Premium Package",
"unitPrice": 1000.00,
"discount": 50.00,
"quantity": 1,
"taxableValue": 950.00,
"cgstAmount": 95.00,
"sgstAmount": 95.00,
"total": 1140.00
},
{
"hsnCode": "87654321",
"description": "Support Services - Annual",
"unitPrice": 300.00,
"discount": 0.00,
"quantity": 1,
"taxableValue": 300.00,
"cgstAmount": 30.00,
"sgstAmount": 30.00,
"total": 360.00
}
],
"confidence": {
"invoiceNumber": 0.95,
"vendorName": 0.98,
"total": 0.92
},
"jobId": "12345678-1234-1234-1234-123456789012",
"jobIdExt": "EXT-2024-001",
"success": true,
"message": "Invoice data extracted successfully using AI technology"
}
Power Automate Flow Usage
The extracted invoice data enables powerful automation across Microsoft ecosystem:
- SharePoint Lists: Store extracted invoice data in SharePoint lists for team collaboration
- Excel Integration: Export invoice line items to Excel workbooks for analysis
- Dynamics 365: Create vendor invoices and accounts payable records automatically
- SQL Database: Insert extracted invoice data into SQL Server databases
- Power BI: Feed invoice data into Power BI dashboards for spend analysis
- Email Notifications: Send extracted invoice summaries via Outlook
- Approval Workflows: Route invoices based on extracted amounts using Power Automate approvals
- Document Storage: Link extracted data with original invoices in SharePoint document libraries
Workflow Examples
The PDF4me AI-Invoice Parser action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Accounts Payable Automation
- Expense Tracking & Analysis
- Vendor Invoice Management
Automated Accounts Payable Processing Workflow
Transform your accounts payable operations with AI-powered invoice data extraction:
Complete Workflow Steps:
- Trigger: New invoice email received in Outlook mailbox
- Get Attachment: Retrieve invoice PDF attachment from email
- AI Invoice Parser: Extract structured data from invoice using PDF4me AI
- Validate Data: Check extracted amounts and dates using Power Automate conditions
- Create Record: Insert invoice data into Dynamics 365 Finance or ERP system
- Update SharePoint: Store extracted invoice data in SharePoint list with metadata
- Approval Request: Send approval request based on invoice total amount
- Email Notification: Notify accounts payable team with extracted invoice summary
- Archive: Move processed invoice to SharePoint archive folder
Business Benefits:
- Automates invoice data entry for 1000+ invoices monthly
- Reduces manual data entry time by 90%
- Eliminates human errors in invoice processing
- Accelerates invoice approval cycles
- Maintains complete audit trail of extracted data
Automated Expense Tracking Workflow
Streamline expense management with intelligent invoice data extraction:
Complete Workflow Steps:
- Trigger: Invoice uploaded to SharePoint document library
- AI Invoice Parser: Extract vendor, amount, date, and line items from invoice
- Excel Update: Append extracted data to Excel workbook in OneDrive
- Category Matching: Match vendor name to expense category using Power Automate
- Budget Check: Compare invoice total against department budget limits
- Power BI Update: Send extracted data to Power BI dataset for real-time dashboards
- Approval Routing: Route invoices over threshold to manager for approval
- Notification: Send expense summary email to finance team
- Archive: Move invoice to processed folder with extracted metadata
Business Benefits:
- Real-time expense tracking and budget monitoring
- Automatic expense categorization based on vendor data
- Instant visibility into spending patterns via Power BI
- Proactive budget alerts before overspending
- Automated compliance with expense policies
Automated Vendor Invoice Management Workflow
Centralize and organize vendor invoices with AI-powered extraction:
Complete Workflow Steps:
- Trigger: Invoice received via email from vendor
- AI Invoice Parser: Extract vendor details, invoice number, and amounts
- Vendor Lookup: Match extracted vendor name to vendor master list in SharePoint
- Duplicate Check: Verify if invoice number already exists in system
- Create Record: Add invoice record to SharePoint list with all extracted fields
- Link Document: Associate original invoice PDF with extracted data record
- Due Date Alert: Calculate days until due date and set reminder
- Vendor Portal: Update vendor portal with invoice status and payment information
- Reporting: Generate vendor spend report from extracted invoice data
Business Benefits:
- Centralized vendor invoice repository with searchable extracted data
- Automatic duplicate detection prevents duplicate payments
- Proactive payment reminders based on extracted due dates
- Comprehensive vendor spend analytics and reporting
- Improved vendor relationship management
Industry Use Cases & Applications
- Finance & Accounting
- Procurement & Supply Chain
- Healthcare & Medical
- Real Estate & Construction
Finance & Accounting Use Cases
- Invoice Processing: Automate invoice data extraction for accounts payable workflows
- Expense Management: Extract expense details from vendor invoices automatically
- Financial Reporting: Feed extracted invoice data into financial reporting systems
- Audit Compliance: Maintain structured invoice data for audit trails
Procurement & Supply Chain Use Cases
- Purchase Order Matching: Match extracted invoice data to purchase orders
- Vendor Performance: Track vendor invoice accuracy and payment terms
- Spend Analysis: Analyze purchasing patterns from extracted invoice data
- Contract Compliance: Verify invoice terms against vendor contracts
Healthcare & Medical Use Cases
- Medical Billing: Extract invoice data from medical equipment and supply invoices
- Insurance Processing: Process healthcare provider invoices automatically
- Expense Tracking: Track medical supply expenses from extracted invoice data
- Compliance Reporting: Generate compliance reports from structured invoice data
Real Estate & Construction Use Cases
- Contractor Invoices: Extract data from contractor and supplier invoices
- Project Costing: Track project expenses from extracted invoice line items
- Budget Management: Monitor project budgets using extracted invoice amounts
- Payment Processing: Automate payment workflows based on extracted invoice data