TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/jbms/finance-dl/llms.txt
Use this file to discover all available pages before exploring further.
finance_dl.ultipro_google scraper retrieves Google employee payroll statements in PDF format from the Ultipro portal using selenium and chromedriver. This page covers all configuration parameters, the output file naming convention, a ready-to-use config example, and how to invoke the scraper from the interactive shell.
This module is specifically designed for Google’s Ultipro setup at
googlemypay.ultipro.com and uses Google’s OAuth login flow. It is not a generic Ultipro scraper and will not work for other organizations without modification.Configuration Parameters
A dictionary containing your Google account login credentials used to authenticate with the Ultipro portal.
Path on the local filesystem where downloaded PDF payroll statements will be saved. The directory will be created automatically if it does not already exist.
Path to a persistent Chrome browser profile directory. This must be a path used exclusively for this scraper configuration — do not point it at your regular browser profile. When omitted, a fresh temporary profile is created on every run.
When
True, payroll statement PDFs are organized into per-year subdirectories under output_directory (e.g., output_directory/2024/). When omitted or False, all PDFs are written directly into output_directory.Controls whether Chrome runs in headless mode. Defaults to
True, but setting this to False is recommended for more reliable scraping — see the tip below.Output Format
Each payroll statement is saved as a PDF file inoutput_directory (or a per-year subdirectory if dir_per_year=True). Files are named using the following pattern:
%Y-%m-%d is the pay date and <id> is the document number from the Pay History list on the Ultipro portal. The scraper skips statements that have already been downloaded, making subsequent runs fast and incremental.
In some cases, due to a bug in the Ultipro portal, the document number shown in the Pay History list may differ from the document number printed inside the actual PDF. These discrepancies are handled downstream by the
beancount_import.source.ultipro_google module.