Skip to main content

AI-Pay Stub, Payslip Parser in Power Automate

PDF4me AI-Pay Stub, Payslip Parser extracts structured data from pay stubs and payslips using AI-powered machine learning through Power Automate flows. Process pay stub PDFs or images via Power Automate triggers, binary data, base64 strings, or public URLs to automatically extract gross pay, net pay, tax information, employee details, employer information, earnings breakdown, deductions, benefits, year-to-date totals, and other pay stub fields with high accuracy and intelligent field recognition. This solution is ideal for pay stub processing automation, payroll digitization, employee verification, income verification, tax document processing, automated payroll data extraction, wage statement processing, and pay stub 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 pay stub processing services.

AI-Pay Stub, Payslip Parser Power Automate

Key Features

  • AI-Powered Extraction: Advanced machine learning technology for accurate pay stub data extraction
  • Multi-Format Support: Process pay stubs and payslips in PDF, PNG, JPG, and JPEG formats
  • Comprehensive Financial Information: Extract gross pay, net pay, pay period, and pay date
  • Tax Details Extraction: Extract federal income tax, state income tax, social security tax, Medicare tax, and local city tax
  • Employee Information: Extract employee name, ID/SSN, address, and job title
  • Employer Information: Extract company name, employer address, and employer EIN
  • Earnings Breakdown: Extract regular hours, overtime hours, rates, and total hours
  • Deductions & Benefits: Extract health insurance, retirement 401k, other benefits, and garnishments
  • Year-to-Date Totals: Extract YTD gross pay, net pay, federal tax, and state tax
  • Additional Details: Extract check number, direct deposit information, vacation/sick time, and commission/bonus
  • Flexible Data Structure: Dictionary-based field extraction for dynamic and extensible data access
  • Microsoft 365 Integration: Seamlessly integrate extracted data with SharePoint, Excel, Dynamics 365, and Power BI

Parameters

Complete list of parameters for the AI-Pay Stub, Payslip Parser action. Configure these parameters to control pay stub 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
Pay Stub File Content***BinarySource Pay Stub/Payslip Binary Data
• Map pay stub or payslip 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')
Pay Stub Name***StringPay Stub/Payslip File Identifier with Extension
• Specify the name of the input pay stub or payslip 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
paystub_2024_03.pdf

Advanced Parameters

ParameterTypeDescriptionExample
Body/customFieldKeysArrayOptional Custom Field Keys List
• Optional list of custom field keys to extract from the pay stub or payslip
• Specify additional fields beyond standard pay stub data
• Supports multiple custom field keys for enhanced data extraction
• Enables extraction of domain-specific or custom pay stub fields
• Each item in the array represents a custom field key to extract
["customField1", "customField2"]

Output

The PDF4me AI-Pay Stub, Payslip Parser action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
fieldsObjectDictionary object containing extracted pay stub fields where each key is a field name and each value is a FieldData object with a Value property
grossPayNumberThe gross pay amount before deductions, with precise decimal handling
netPayNumberThe net pay amount after all deductions, with precise decimal handling
payPeriodStringThe pay period for the pay stub (e.g., "Bi-weekly", "Monthly", "2024-01-01 to 2024-01-15")
payDateStrStringThe pay date extracted and formatted in ISO 8601 format (YYYY-MM-DD)
federalIncomeTaxNumberThe federal income tax amount deducted, with precise decimal handling
stateIncomeTaxNumberThe state income tax amount deducted, with precise decimal handling
socialSecurityTaxNumberThe Social Security tax amount deducted, with precise decimal handling
medicareTaxNumberThe Medicare tax amount deducted, with precise decimal handling
localCityTaxNumberThe local or city tax amount deducted, with precise decimal handling
employeeNameStringThe name of the employee extracted from the pay stub
employeeIdSsnStringThe employee ID or Social Security Number (often masked for security)
employeeAddressStringThe address of the employee extracted from the pay stub
jobTitleStringThe job title or position of the employee
companyNameStringThe name of the company or employer extracted from the pay stub
employerAddressStringThe address of the employer extracted from the pay stub
employerEinStringThe Employer Identification Number (EIN) extracted from the pay stub
regularHoursNumberThe number of regular hours worked during the pay period
overtimeHoursNumberThe number of overtime hours worked during the pay period
regularRateNumberThe regular hourly rate of pay, with precise decimal handling
overtimeRateNumberThe overtime hourly rate of pay, with precise decimal handling
totalHoursNumberThe total hours worked during the pay period
healthInsuranceNumberThe health insurance deduction amount, with precise decimal handling
retirement401kNumberThe retirement 401k deduction amount, with precise decimal handling
otherBenefitsNumberThe amount deducted for other benefits, with precise decimal handling
garnishmentsNumberThe amount deducted for garnishments, with precise decimal handling
ytdGrossPayNumberThe year-to-date gross pay total, with precise decimal handling
ytdNetPayNumberThe year-to-date net pay total, with precise decimal handling
ytdFederalTaxNumberThe year-to-date federal tax total, with precise decimal handling
ytdStateTaxNumberThe year-to-date state tax total, with precise decimal handling
checkNumberStringThe check number or payment reference number
directDepositInfoStringThe direct deposit information including account details
vacationSickTimeStringThe vacation and sick time balance information
commissionBonusNumberThe commission or bonus amount, with precise decimal handling
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 pay stub 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 pay stub data extraction
messageStringDescriptive message indicating the result of the AI-powered pay stub data extraction process

Workflow Examples

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

Automated Payroll Processing Workflow

Streamline payroll processing with AI-powered pay stub data extraction:

Complete Workflow Steps:

  1. Trigger: Pay stub uploaded to SharePoint or received via email
  2. AI Pay Stub Parser: Extract earnings, taxes, deductions, and employee information using PDF4me AI
  3. Data Validation: Validate extracted gross pay, net pay, and tax amounts
  4. Employee Verification: Verify employee name and ID against employee database
  5. Create Payroll Record: Insert pay stub data into Dynamics 365 Finance or payroll system
  6. Update SharePoint: Store extracted pay stub data in SharePoint list with metadata
  7. Tax Calculation Verification: Verify tax calculations match payroll system records
  8. Approval Workflow: Route pay stubs for manager approval if discrepancies found
  9. Email Notification: Notify payroll team with pay stub processing summary
  10. Archive: Move processed pay stub to archive folder with extracted metadata

Business Benefits:

  • Automates pay stub data entry for payroll processing
  • Reduces manual data entry time by 90%
  • Eliminates human errors in payroll processing
  • Accelerates payroll processing cycles
  • Maintains complete audit trail of all processed pay stubs

Industry Use Cases & Applications

Human Resources & Payroll Use Cases

  • Payroll Processing: Automate payroll processing using extracted pay stub data
  • Employee Verification: Verify employee information using extracted pay stub details
  • Benefits Administration: Manage benefits using extracted deduction information
  • Tax Reporting: Generate tax reports from extracted pay stub data
  • Employee Onboarding: Streamline employee onboarding using pay stub information

Get Help