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.
Document Source Parameters
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File Content | Optional | Content of the invoice file to process. Map it from the file content returned by a previous action, such as SharePoint or OneDrive Get file content. | @{body('Get_file_content')?['$content']} |
| File Name | Optional | Name of the invoice file, including its extension (for example `invoice.pdf`). Map it from the file name returned by a previous action. | invoice.pdf |
| customFieldKeys | Optional | Optional list of custom field keys to extract. | your value |
| Customisation Note | Optional | Optional customisation note for the extraction. | your value |
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:
| Field | Type | What it contains |
|---|---|---|
| Invoice Number | Text | Invoice Number as read from the invoice. |
| Invoice Date | Date-time | Invoice Date as read from the invoice. |
| Order ID | Text | Order ID as read from the invoice. |
| Vendor Name | Text | Vendor Name as read from the invoice. |
| Vendor Address | Text | Vendor Address as read from the invoice. |
| Vendor Phone | Text | Vendor Phone as read from the invoice. |
| Vendor E-mail | Text | Vendor E-mail as read from the invoice. |
| Vendor GSTN Number | Text | Vendor GSTN Number as read from the invoice. |
| Vendor PAN Number | Text | Vendor PAN Number as read from the invoice. |
| Vendor CIN Number | Text | Vendor CIN Number as read from the invoice. |
| Vendor Vat or Uid Number | Text | Vendor Vat or Uid Number as read from the invoice. |
| Bill To | Text | Bill To as read from the invoice. |
| Bill To Address | Text | Bill To Address as read from the invoice. |
| Bill To Phone | Text | Bill To Phone as read from the invoice. |
| Bill To E-mail | Text | Bill To E-mail as read from the invoice. |
| Bill To State | Text | Bill To State as read from the invoice. |
| Bill To Pincode | Text | Bill To Pincode as read from the invoice. |
| lineItems | Array | Line items found in the invoice, one item per entry. Use Apply to each to go through the items. |
| lineItems[].HSN Code | Text | HSN (Harmonized System of Nomenclature) code |
| lineItems[].Description | Text | Item description |
| lineItems[].Unit Price | Number | Unit price of the item |
| lineItems[].Discount | Number | Discount amount |
| lineItems[].Quantity | Number | Quantity of items |
| lineItems[].Taxable Value | Number | Taxable value of the line item |
| lineItems[].CGST Amount | Number | CGST amount for this line item |
| lineItems[].SGST Amount | Number | SGST amount for this line item |
| lineItems[].Total | Number | Total amount for this line item |
| lineItems[].Order Number | Text | Order Number as read from the invoice. |
| lineItems[].Unit Of Measure | Text | Unit Of Measure as read from the invoice. |
| lineItems[].Item Number | Text | Item Number as read from the invoice. |
| lineItems[].Line Position | Text | Line Position as read from the invoice. |
| lineItems[].Customs Tariff Code | Text | Customs Tariff Code as read from the invoice. |
| lineItems[].Line Amount | Number | Line Amount as read from the invoice. |
| Sub Total | Number | Sub Total as read from the invoice. |
| CGST Amount | Number | CGST Amount as read from the invoice. |
| SGST Amount | Number | SGST Amount as read from the invoice. |
| CGST Rate | Number | CGST Rate as read from the invoice. |
| SGST Rate | Number | SGST Rate as read from the invoice. |
| Total Amount | Number | Total Amount as read from the invoice. |
| Store Number | Text | Store Number as read from the invoice. |
| Delivery Date | Text | Delivery Date as read from the invoice. |
| Financial Charges | Number | Financial Charges as read from the invoice. |
| Line Total | Number | Line Total as read from the invoice. |
| Purchase Order Ref No | Text | Purchase Order Ref No as read from the invoice. |
| Customer Reference No | Text | Customer Reference No as read from the invoice. |
| Department Code | Text | Department Code as read from the invoice. |
| Vat or Uid Number | Text | Vat or Uid Number as read from the invoice. |
| Payment Deadline | Date-time | Payment Deadline as read from the invoice. |
| IBAN | Text | IBAN as read from the invoice. |
| External Invoice Number | Text | External Invoice Number as read from the invoice. |
| Total Tax Amount | Number | Total Tax Amount as read from the invoice. |
| CustomFieldsData | Array | Custom fields returned for the invoice, as key and value pairs. |
| CustomFieldsData[].key | Text | Key of the custom field. |
| CustomFieldsData[].value | Text | Value of the custom field. |
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",
"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