Skip to main content

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.

Related Blog Posts(2)

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.

AI-Invoice Parser Power Automate

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​

ParameterRequiredWhat it doesExample
File ContentOptionalContent 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 NameOptionalName of the invoice file, including its extension (for example `invoice.pdf`). Map it from the file name returned by a previous action.invoice.pdf
customFieldKeysOptionalOptional list of custom field keys to extract.your value
Customisation NoteOptionalOptional 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 View

Response data in a structured table format:

FieldTypeWhat it contains
Invoice NumberTextInvoice Number as read from the invoice.
Invoice DateDate-timeInvoice Date as read from the invoice.
Order IDTextOrder ID as read from the invoice.
Vendor NameTextVendor Name as read from the invoice.
Vendor AddressTextVendor Address as read from the invoice.
Vendor PhoneTextVendor Phone as read from the invoice.
Vendor E-mailTextVendor E-mail as read from the invoice.
Vendor GSTN NumberTextVendor GSTN Number as read from the invoice.
Vendor PAN NumberTextVendor PAN Number as read from the invoice.
Vendor CIN NumberTextVendor CIN Number as read from the invoice.
Vendor Vat or Uid NumberTextVendor Vat or Uid Number as read from the invoice.
Bill ToTextBill To as read from the invoice.
Bill To AddressTextBill To Address as read from the invoice.
Bill To PhoneTextBill To Phone as read from the invoice.
Bill To E-mailTextBill To E-mail as read from the invoice.
Bill To StateTextBill To State as read from the invoice.
Bill To PincodeTextBill To Pincode as read from the invoice.
lineItemsArrayLine items found in the invoice, one item per entry. Use Apply to each to go through the items.
lineItems[].HSN CodeTextHSN (Harmonized System of Nomenclature) code
lineItems[].DescriptionTextItem description
lineItems[].Unit PriceNumberUnit price of the item
lineItems[].DiscountNumberDiscount amount
lineItems[].QuantityNumberQuantity of items
lineItems[].Taxable ValueNumberTaxable value of the line item
lineItems[].CGST AmountNumberCGST amount for this line item
lineItems[].SGST AmountNumberSGST amount for this line item
lineItems[].TotalNumberTotal amount for this line item
lineItems[].Order NumberTextOrder Number as read from the invoice.
lineItems[].Unit Of MeasureTextUnit Of Measure as read from the invoice.
lineItems[].Item NumberTextItem Number as read from the invoice.
lineItems[].Line PositionTextLine Position as read from the invoice.
lineItems[].Customs Tariff CodeTextCustoms Tariff Code as read from the invoice.
lineItems[].Line AmountNumberLine Amount as read from the invoice.
Sub TotalNumberSub Total as read from the invoice.
CGST AmountNumberCGST Amount as read from the invoice.
SGST AmountNumberSGST Amount as read from the invoice.
CGST RateNumberCGST Rate as read from the invoice.
SGST RateNumberSGST Rate as read from the invoice.
Total AmountNumberTotal Amount as read from the invoice.
Store NumberTextStore Number as read from the invoice.
Delivery DateTextDelivery Date as read from the invoice.
Financial ChargesNumberFinancial Charges as read from the invoice.
Line TotalNumberLine Total as read from the invoice.
Purchase Order Ref NoTextPurchase Order Ref No as read from the invoice.
Customer Reference NoTextCustomer Reference No as read from the invoice.
Department CodeTextDepartment Code as read from the invoice.
Vat or Uid NumberTextVat or Uid Number as read from the invoice.
Payment DeadlineDate-timePayment Deadline as read from the invoice.
IBANTextIBAN as read from the invoice.
External Invoice NumberTextExternal Invoice Number as read from the invoice.
Total Tax AmountNumberTotal Tax Amount as read from the invoice.
CustomFieldsDataArrayCustom fields returned for the invoice, as key and value pairs.
CustomFieldsData[].keyTextKey of the custom field.
CustomFieldsData[].valueTextValue of the custom field.

Workflow Examples​

The PDF4me AI-Invoice Parser action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:

Automated Accounts Payable Processing Workflow

Transform your accounts payable operations with AI-powered invoice data extraction:

Complete Workflow Steps:

  1. Trigger: New invoice email received in Outlook mailbox
  2. Get Attachment: Retrieve invoice PDF attachment from email
  3. AI Invoice Parser: Extract structured data from invoice using PDF4me AI
  4. Validate Data: Check extracted amounts and dates using Power Automate conditions
  5. Create Record: Insert invoice data into Dynamics 365 Finance or ERP system
  6. Update SharePoint: Store extracted invoice data in SharePoint list with metadata
  7. Approval Request: Send approval request based on invoice total amount
  8. Email Notification: Notify accounts payable team with extracted invoice summary
  9. 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

Industry Use Cases & Applications​

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

Get Help​