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.

Related Blog Posts(1)

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.

Document Source Parameters​

ParameterRequiredWhat it doesExample
File ContentOptionalContent 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 NameOptionalName 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
customFieldKeysOptionalOptional list of custom field keys to extract.your value
Customisation NoteOptionalOptional 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 View

Response data in a structured table format:

FieldTypeWhat it contains
Gross PayNumberGross Pay as read from the pay stub.
Net PayNumberNet Pay as read from the pay stub.
Pay PeriodTextPay Period as read from the pay stub.
Pay DateTextPay date as string
Federal Income TaxNumberFederal Income Tax as read from the pay stub.
State Income TaxNumberState Income Tax as read from the pay stub.
Social Security TaxNumberSocial Security Tax as read from the pay stub.
Medicare TaxNumberMedicare Tax as read from the pay stub.
Local City TaxNumberLocal City Tax as read from the pay stub.
Employee NameTextEmployee Name as read from the pay stub.
Employee Id SsnTextEmployee Id Ssn as read from the pay stub.
Employee AddressTextEmployee Address as read from the pay stub.
Job TitleTextJob Title as read from the pay stub.
Company NameTextCompany Name as read from the pay stub.
Employer AddressTextEmployer Address as read from the pay stub.
Employer EinTextEmployer Ein as read from the pay stub.
Regular HoursNumberRegular Hours as read from the pay stub.
Overtime HoursNumberOvertime Hours as read from the pay stub.
Regular RateNumberRegular Rate as read from the pay stub.
Overtime RateNumberOvertime Rate as read from the pay stub.
Total HoursNumberTotal Hours as read from the pay stub.
Health InsuranceNumberHealth Insurance as read from the pay stub.
Retirement 401kNumberRetirement 401k as read from the pay stub.
Other BenefitsNumberOther Benefits as read from the pay stub.
GarnishmentsNumberGarnishments as read from the pay stub.
Ytd Gross PayNumberYtd Gross Pay as read from the pay stub.
Ytd Net PayNumberYtd Net Pay as read from the pay stub.
Ytd Federal TaxNumberYtd Federal Tax as read from the pay stub.
Ytd State TaxNumberYtd State Tax as read from the pay stub.
Check NumberTextCheck Number as read from the pay stub.
Direct Deposit InfoTextDirect Deposit Info as read from the pay stub.
Vacation Sick TimeTextVacation Sick Time as read from the pay stub.
Commission BonusNumberCommission Bonus as read from the pay stub.
Pay DateTextPay date as string
Raw OCR TextTextRaw OCR text extracted from document
CustomFieldsDataArrayCustom fields returned for the pay stub, as key and value pairs.
CustomFieldsData[].keyTextKey of the custom field.
CustomFieldsData[].valueTextValue of the custom field.

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​