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.

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.
Document Source Parameters
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File Content | Optional | Content of the pay stub 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 pay stub file, including its extension (for example `payslip.pdf`). Map it from the file name returned by a previous action. | payslip.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-Pay Stub, Payslip 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 |
|---|---|---|
| Gross Pay | Number | Gross Pay as read from the pay stub. |
| Net Pay | Number | Net Pay as read from the pay stub. |
| Pay Period | Text | Pay Period as read from the pay stub. |
| Pay Date | Text | Pay date as string |
| Federal Income Tax | Number | Federal Income Tax as read from the pay stub. |
| State Income Tax | Number | State Income Tax as read from the pay stub. |
| Social Security Tax | Number | Social Security Tax as read from the pay stub. |
| Medicare Tax | Number | Medicare Tax as read from the pay stub. |
| Local City Tax | Number | Local City Tax as read from the pay stub. |
| Employee Name | Text | Employee Name as read from the pay stub. |
| Employee Id Ssn | Text | Employee Id Ssn as read from the pay stub. |
| Employee Address | Text | Employee Address as read from the pay stub. |
| Job Title | Text | Job Title as read from the pay stub. |
| Company Name | Text | Company Name as read from the pay stub. |
| Employer Address | Text | Employer Address as read from the pay stub. |
| Employer Ein | Text | Employer Ein as read from the pay stub. |
| Regular Hours | Number | Regular Hours as read from the pay stub. |
| Overtime Hours | Number | Overtime Hours as read from the pay stub. |
| Regular Rate | Number | Regular Rate as read from the pay stub. |
| Overtime Rate | Number | Overtime Rate as read from the pay stub. |
| Total Hours | Number | Total Hours as read from the pay stub. |
| Health Insurance | Number | Health Insurance as read from the pay stub. |
| Retirement 401k | Number | Retirement 401k as read from the pay stub. |
| Other Benefits | Number | Other Benefits as read from the pay stub. |
| Garnishments | Number | Garnishments as read from the pay stub. |
| Ytd Gross Pay | Number | Ytd Gross Pay as read from the pay stub. |
| Ytd Net Pay | Number | Ytd Net Pay as read from the pay stub. |
| Ytd Federal Tax | Number | Ytd Federal Tax as read from the pay stub. |
| Ytd State Tax | Number | Ytd State Tax as read from the pay stub. |
| Check Number | Text | Check Number as read from the pay stub. |
| Direct Deposit Info | Text | Direct Deposit Info as read from the pay stub. |
| Vacation Sick Time | Text | Vacation Sick Time as read from the pay stub. |
| Commission Bonus | Number | Commission Bonus as read from the pay stub. |
| Pay Date | Text | Pay date as string |
| Raw OCR Text | Text | Raw OCR text extracted from document |
| CustomFieldsData | Array | Custom fields returned for the pay stub, 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:
{
"fields": {
"grossPay": {
"value": "5000.00"
},
"netPay": {
"value": "3750.00"
},
"payPeriod": {
"value": "Bi-weekly"
},
"payDate": {
"value": "2024-03-15"
}
},
"grossPay": 5000.00,
"netPay": 3750.00,
"payPeriod": "Bi-weekly",
"payDateStr": "2024-03-15",
"federalIncomeTax": 650.00,
"stateIncomeTax": 250.00,
"socialSecurityTax": 310.00,
"medicareTax": 72.50,
"localCityTax": 50.00,
"employeeName": "John Michael Smith",
"employeeIdSsn": "XXX-XX-1234",
"employeeAddress": "123 Main Street, New York, NY 10001",
"jobTitle": "Software Engineer",
"companyName": "Tech Corporation Inc.",
"employerAddress": "456 Business Park, New York, NY 10002",
"employerEin": "12-3456789",
"regularHours": 80.00,
"overtimeHours": 5.00,
"regularRate": 50.00,
"overtimeRate": 75.00,
"totalHours": 85.00,
"healthInsurance": 200.00,
"retirement401k": 250.00,
"otherBenefits": 50.00,
"garnishments": 0.00,
"ytdGrossPay": 30000.00,
"ytdNetPay": 22500.00,
"ytdFederalTax": 3900.00,
"ytdStateTax": 1500.00,
"checkNumber": "12345",
"directDepositInfo": "Account ending in 1234",
"vacationSickTime": "Vacation: 10 days, Sick: 5 days",
"commissionBonus": 500.00,
"warnings": [],
"fallbackUsed": false,
"rawOcrText": "PAY STUB...",
"jobId": "12345678-1234-1234-1234-123456789012",
"jobIdExt": "PAY-2024-001",
"success": true,
"message": "Pay stub data extracted successfully using AI technology"
}
Power Automate Flow Usage
The extracted pay stub data enables powerful automation across Microsoft ecosystem:
- SharePoint Lists: Store extracted pay stub data in SharePoint lists for payroll management
- Excel Integration: Export pay stub data to Excel workbooks for payroll analysis and reporting
- Dynamics 365: Create payroll records in Dynamics 365 Finance automatically
- SQL Database: Insert extracted pay stub data into SQL Server databases for payroll systems
- Power BI: Feed pay stub data into Power BI dashboards for payroll analytics
- Email Notifications: Send pay stub processing confirmations via Outlook
- Approval Workflows: Route pay stubs for verification using Power Automate approvals
- Income Verification: Verify employee income using extracted pay stub data
- Tax Reporting: Generate tax reports from extracted pay stub information
- Document Storage: Link extracted pay stub data with original documents in SharePoint document libraries
Workflow Examples
The PDF4me AI-Pay Stub, Payslip Parser action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Payroll Processing Automation
- Income Verification Automation
- Tax Reporting Automation
- Employee Onboarding Automation
Automated Payroll Processing Workflow
Streamline payroll processing with AI-powered pay stub data extraction:
Complete Workflow Steps:
- Trigger: Pay stub uploaded to SharePoint or received via email
- AI Pay Stub Parser: Extract earnings, taxes, deductions, and employee information using PDF4me AI
- Data Validation: Validate extracted gross pay, net pay, and tax amounts
- Employee Verification: Verify employee name and ID against employee database
- Create Payroll Record: Insert pay stub data into Dynamics 365 Finance or payroll system
- Update SharePoint: Store extracted pay stub data in SharePoint list with metadata
- Tax Calculation Verification: Verify tax calculations match payroll system records
- Approval Workflow: Route pay stubs for manager approval if discrepancies found
- Email Notification: Notify payroll team with pay stub processing summary
- 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
Automated Income Verification Workflow
Verify employee income using extracted pay stub data:
Complete Workflow Steps:
- Trigger: Pay stub received for income verification request
- AI Pay Stub Parser: Extract gross pay, net pay, YTD totals, and employee information
- Income Calculation: Calculate average income from extracted pay stub data
- YTD Verification: Verify YTD totals for annual income verification
- Employee Matching: Match extracted employee name and ID with verification records
- Create Verification Record: Document income verification results in SharePoint list
- Update Verification System: Link verified income information to verification system
- Approval Routing: Route high-value verifications for manager review
- Notification: Send income verification results to verification team
- Archive: Store processed pay stub with verification metadata
Business Benefits:
- Automated income verification using pay stub data
- Faster income verification processes
- Improved accuracy in income verification
- Real-time income verification capabilities
- Streamlined verification workflows
Automated Tax Reporting Workflow
Generate tax reports using extracted pay stub data:
Complete Workflow Steps:
- Trigger: Pay stub uploaded to SharePoint tax reporting folder
- AI Pay Stub Parser: Extract tax information, YTD totals, and employee data
- Tax Data Aggregation: Aggregate tax data from multiple pay stubs
- Tax Report Generation: Generate tax reports from extracted pay stub data
- Excel Export: Export tax data to Excel workbook for tax reporting
- Power BI Update: Send tax data to Power BI dataset for tax analytics
- Compliance Check: Verify tax compliance using extracted tax information
- Tax Filing: Prepare tax filing data from aggregated pay stub information
- Reporting: Generate quarterly and annual tax reports
- Archive: Store processed pay stubs with tax reporting metadata
Business Benefits:
- Automated tax reporting from pay stub data
- Real-time tax data aggregation and reporting
- Improved tax compliance and accuracy
- Faster tax reporting processes
- Comprehensive tax analytics and insights
Automated Employee Onboarding Workflow
Streamline employee onboarding using extracted pay stub data:
Complete Workflow Steps:
- Trigger: Pay stub uploaded during employee onboarding process
- AI Pay Stub Parser: Extract employee information, job title, and employer details
- Employee Record Creation: Create employee record in HR system using extracted data
- Payroll Setup: Configure payroll settings using extracted pay stub information
- Benefits Enrollment: Process benefits enrollment using extracted deduction information
- Tax Setup: Configure tax withholding using extracted tax information
- Direct Deposit Setup: Configure direct deposit using extracted direct deposit information
- Update SharePoint: Store employee onboarding data in SharePoint list
- Notification: Send onboarding confirmation to HR team
- Archive: Store processed pay stub with onboarding metadata
Business Benefits:
- Automated employee onboarding using pay stub data
- Faster onboarding processes
- Improved accuracy in employee data entry
- Streamlined payroll and benefits setup
- Enhanced employee onboarding experience
Industry Use Cases & Applications
- Human Resources & Payroll
- Finance & Accounting
- Banking & Financial Services
- Government & Public Sector
- Real Estate & Rental
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
Finance & Accounting Use Cases
- Financial Reporting: Generate financial reports from extracted pay stub data
- Expense Tracking: Track employee expenses using extracted pay stub information
- Budget Management: Manage budgets using extracted payroll data
- Audit Compliance: Maintain audit trails using extracted pay stub data
- Financial Analytics: Analyze payroll costs using extracted pay stub information
Banking & Financial Services Use Cases
- Loan Processing: Verify income for loan applications using extracted pay stub data
- Credit Verification: Verify creditworthiness using extracted income information
- Mortgage Processing: Process mortgage applications using extracted pay stub data
- Income Verification: Verify income for financial services using extracted pay stub information
- Compliance Tracking: Track compliance using extracted pay stub data
Government & Public Sector Use Cases
- Benefits Verification: Verify eligibility for government benefits using extracted pay stub data
- Tax Compliance: Ensure tax compliance using extracted tax information
- Public Records: Manage public records using extracted pay stub data
- Compliance Reporting: Generate compliance reports from extracted pay stub information
- Audit Trails: Maintain audit trails for government payroll processing
Real Estate & Rental Use Cases
- Rental Applications: Verify income for rental applications using extracted pay stub data
- Tenant Verification: Verify tenant income using extracted pay stub information
- Lease Processing: Process lease applications using extracted income data
- Property Management: Manage properties using extracted tenant income information
- Compliance Tracking: Track compliance with rental regulations using pay stub data