The client was manually processing employee payroll data every cycle. That meant opening PDFs, pulling out numbers by hand, pasting them into Excel, and then creating invoices in QuickBooks one by one. Hours of repetitive work, prone to human error, and scaling terribly as the team grew.
They needed the entire workflow automated end to end.
What I Built
I built a Python automation bot that handles the full payroll-to-invoice pipeline:
PDF Parsing – Extracts employee payroll data from PDF documents automatically, pulling key figures like hours, rates, deductions, and totals
Excel Population – Structures and pastes the extracted data into formatted Excel spreadsheets, ready for review or record-keeping
QuickBooks Invoice Generation – Auto-generates invoices in QuickBooks based on the parsed payroll data, eliminating manual entry entirely
Error Handling – Built-in validation to catch mismatches between PDF data and generated outputs before anything gets submitted
Technical Approach
Python for the core automation logic and data processing
Playwright for browser automation and QuickBooks interaction
OpenAI for intelligent data extraction from unstructured PDF layouts
PDF parsing pipeline that handles varying document formats and layouts
Automated Excel formatting with proper column mapping and formulas
The Result
What used to take the client hours of manual work per payroll cycle now runs in minutes. The bot parses the PDFs, fills the spreadsheets, and generates the invoices automatically. The client just reviews and approves.
Built for a client as a custom automation solution.
Like this project
Posted Jul 8, 2026
Built a Python automation bot for a client that parses PDF payroll data, extracts key figures, populates Excel spreadsheets, and auto-generates invoices in QuickBooks.