Skip to main content

AI-Receipt Parser in Power Automate

PDF4me AI-Receipt Parser extracts structured data from receipts using AI-powered machine learning through Power Automate flows. Process receipt PDFs or images via Power Automate triggers, binary data, base64 strings, or public URLs to automatically extract merchant information, transaction dates, receipt numbers, line items, financial totals, payment methods, and specialized receipt data from supported receipt types (meal, supplies, hotel, fuel and energy, transportation, communication, subscriptions, entertainment, training, healthcare, generic) with high accuracy and intelligent field recognition. This solution is ideal for receipt processing automation, expense management digitization, automated expense tracking, invoice processing, transaction data extraction, merchant information extraction, expense reporting automation, and receipt management 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 receipt processing services.

AI-Receipt Parser Power Automate

Key Features

  • AI-Powered Extraction: Advanced machine learning technology for accurate receipt data extraction
  • Multi-Format Support: Process receipts in PDF, PNG, JPG, and JPEG formats
  • Merchant Information: Extract merchant name, address, phone, website, store number, and cashier name
  • Transaction Details: Extract transaction date, time, receipt number, and payment method
  • Line Item Analysis: Extract detailed line items with names, quantities, prices, categories, descriptions, and item codes
  • Financial Totals: Extract subtotal, tax amount, total amount, and payment information
  • Specialized Receipt Types: Extract data from hotel receipts, fuel receipts, healthcare receipts, training receipts, and more
  • Item Details: Extract item codes, SKUs, brands, sizes, colors, and categories
  • Flexible Receipt Types: Support for supplies, retail, restaurant, hotel, fuel, healthcare, training, and custom receipt types
  • Custom Field Extraction: Extract additional custom fields beyond standard receipt data
  • Microsoft 365 Integration: Seamlessly integrate extracted data with SharePoint, Excel, Dynamics 365, and Power BI

Parameters

Complete list of parameters for the AI-Receipt Parser action. Configure these parameters to control receipt 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

ParameterTypeDescriptionExample
Receipt File Content***BinarySource Receipt Binary Data
• Map receipt 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')
Receipt Name***StringReceipt File Identifier with Extension
• Specify the name of the input receipt 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
receipt_2024_03_15.pdf

Advanced Parameters

ParameterTypeDescriptionExample
Body/receiptTypeStringOptional Receipt Type
• Optional receipt type for improved parsing accuracy
• Specify receipt type to enhance extraction precision
• Supported receipt types: "meal", "supplies", "hotel", "fuel and energy", "transportation", "communication", "subscriptions", "entertainment", "training", "healthcare", "generic"
• Helps AI engine optimize field recognition for specific receipt formats
• Improves accuracy when processing known receipt types
supplies
Body/analyzeItemsBooleanLine Item Analysis Enable
• Enable or disable detailed line item analysis and extraction
• Yes = enables extraction of individual line items with names, quantities, prices, and descriptions
• No = processes receipt without detailed line item extraction
• When enabled, extracts comprehensive item details including SKU, brand, size, color, and category
Yes
Body/extractMerchantInfoBooleanMerchant Information Extraction Enable
• Enable or disable merchant information extraction
• Yes = enables extraction of merchant name, address, phone, website, store number, and cashier name
• No = processes receipt without merchant information extraction
• When enabled, extracts detailed merchant information for business intelligence and analytics
Yes
Body/calculateTotalsBooleanFinancial Totals Calculation Enable
• Enable or disable financial totals calculation and extraction
• Yes = enables extraction and calculation of subtotal, tax amount, and total amount
• No = processes receipt without financial totals calculation
• When enabled, extracts comprehensive financial information including payment method and card details
Yes
Body/customFieldKeysArrayOptional Custom Field Keys List
• Optional list of custom field keys to extract from the receipt
• Specify additional fields beyond standard receipt data
• Supports multiple custom field keys for enhanced data extraction
• Enables extraction of domain-specific or custom receipt fields
• Each item in the array represents a custom field key to extract
["customField1", "customField2"]

Output

The PDF4me AI-Receipt Parser action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
receiptTypeStringThe type of receipt extracted (e.g., supplies, retail, restaurant, hotel, fuel, healthcare, training)
transactionDateStrStringThe transaction date extracted and formatted in ISO 8601 format (YYYY-MM-DD)
transactionTimeStringThe transaction time extracted from the receipt (HH:MM:SS format)
receiptNumberStringThe receipt number or transaction identifier extracted from the receipt
analyzeItemsArrayArray of receipt item objects with name, quantity, unit price, total price, category, description, item code, brand, size, color, and SKU
merchantInfoListArrayArray of merchant information objects with merchant name, address, phone, website, cashier name, and store number
financialInfoListArrayArray of financial information objects with subtotal, tax amount, total amount, payment method, and card last four digits
merchantNameStringThe name of the merchant extracted from the receipt
merchantAddressStringThe address of the merchant extracted from the receipt
merchantPhoneStringThe phone number of the merchant extracted from the receipt
merchantWebsiteStringThe website URL of the merchant extracted from the receipt
storeNumberStringThe store number or location identifier extracted from the receipt
cashierNameStringThe name of the cashier extracted from the receipt
subtotalNumberThe subtotal amount before taxes, with precise decimal handling
taxAmountNumberThe tax amount charged, with precise decimal handling
totalAmountNumberThe total amount after taxes, with precise decimal handling
paymentMethodStringThe payment method used (e.g., Cash, Credit Card, Debit Card)
cardLastFourStringThe last four digits of the payment card, if applicable
roomNumberStringThe room number for hotel receipts
checkInDateStringThe check-in date for hotel receipts, formatted in ISO 8601 format (YYYY-MM-DD)
checkOutDateStringThe check-out date for hotel receipts, formatted in ISO 8601 format (YYYY-MM-DD)
fuelTypeStringThe type of fuel for fuel receipts (e.g., Regular, Premium, Diesel)
fuelQuantityNumberThe quantity of fuel purchased, with precise decimal handling
fuelUnitStringThe unit of fuel measurement (e.g., Gallons, Liters)
vehicleNumberStringThe vehicle number or license plate for fuel receipts
serviceTypeStringThe type of service for service receipts
subscriptionPeriodStringThe subscription period for subscription receipts
trainingProviderStringThe training provider name for training receipts
courseNameStringThe course name for training receipts
healthcareProviderStringThe healthcare provider name for healthcare receipts
patientNameStringThe patient name for healthcare receipts
insuranceInfoStringThe insurance information for healthcare receipts
additionalInfoObjectDictionary containing additional extracted fields beyond standard receipt data
warningsArrayArray of warning messages indicating potential data quality issues or extraction challenges encountered during processing
fallbackUsedBooleanBoolean flag indicating whether fallback extraction methods were used during processing
rawOcrTextStringThe raw OCR text extracted from the receipt document
jobIdStringUnique identifier for the AI processing job, used for tracking and debugging
jobIdExtStringExternal job identifier for integration with third-party systems, if applicable
successBooleanBoolean flag indicating the success or failure of the AI-powered receipt data extraction
messageStringDescriptive message indicating the result of the AI-powered receipt data extraction process

Workflow Examples

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

Automated Expense Management Workflow

Streamline expense management with AI-powered receipt data extraction:

Complete Workflow Steps:

  1. Trigger: Receipt uploaded to SharePoint or received via email
  2. AI Receipt Parser: Extract merchant, transaction, line items, and financial totals using PDF4me AI
  3. Receipt Type Detection: Identify receipt type for appropriate processing workflow
  4. Expense Categorization: Categorize expenses using extracted merchant and item information
  5. Data Validation: Validate extracted totals and payment information
  6. Create Expense Record: Insert receipt data into Dynamics 365 Finance or expense management system
  7. Update SharePoint: Store extracted receipt data in SharePoint list with metadata
  8. Approval Workflow: Route high-value expenses for manager approval
  9. Email Notification: Notify finance team with expense processing summary
  10. Archive: Move processed receipt to archive folder with extracted metadata

Business Benefits:

  • Automates expense data entry from receipts
  • Reduces manual data entry time by 90%
  • Eliminates human errors in expense processing
  • Accelerates expense approval cycles
  • Maintains complete audit trail of all processed receipts

Industry Use Cases & Applications

Finance & Accounting Use Cases

  • Expense Processing: Automate expense processing using extracted receipt data
  • Tax Reporting: Generate tax reports from extracted receipt information
  • Financial Reporting: Generate financial reports from extracted receipt data
  • Audit Compliance: Maintain audit trails using extracted receipt data
  • Budget Management: Track expenses using extracted receipt information

Get Help