Scheduled jobs sign in to supplier billing pages in Safari and save only the invoice PDFs that are not already in the archive.
Browser & Desktop Automation
Professional services
Scheduled worker
Productised
Local/private
2026
The problem
Some suppliers will not email a stable invoice file, so someone has to take the PDF from a logged-in billing page every month. Without a record of what was already saved, the next run would archive the same file again.
What it does
A job opens the billing history in Safari. If the session has signed out, a companion tool finds buttons by their on-screen text and clicks them, including a human-check box, then reads a sign-in code from email when one is sent. New PDFs are saved under a dated name, and the next run skips any invoice already on the record.
Outcomes
Only new invoice PDFs are saved.
A signed-out portal is signed in again from the desktop session.
Public payment links and in-page downloads share one record of saved invoices.
Simplified mockup
Interactive preview with sample data. Nothing is sent to a server.
Billing history
Session signed in
On the portals
6
Already archived
2
Not in the manifest
4
Two suppliers, one manifest
Date
Supplier
Route
Ref
Amount
State
12 Apr 2026
North Quay Studio
In-page
NQ-4418
£186.00
Kept
12 May 2026
North Quay Studio
In-page
NQ-4490
£186.00
New
12 Jun 2026
North Quay Studio
In-page
NQ-4602
£214.80
New
2 Mar 2026
Field Ledger
Link
FL-2201
£49.00
Kept
2 Jul 2026
Field Ledger
Link
FL-2388
£49.00
New
2 Aug 2026
Field Ledger
Link
FL-2410
£49.00
New
In-page is the download control on the billing page. Link is a public payment URL. Both write the same manifest.
This run
Ready. Two identities are already archived.
Logged-out portal
Field Ledger drops the session. The job finds Sign in by the on-screen words, sends a real click to the human-check box, then reads the code from the mailbox.
Field Ledger · billing history · signed out
Sign in to download invoices
This box ignores synthetic clicks. The companion clicks it from the screen.
Waiting to sign in
Desk check passed
Code from the mailbox
481926
Session restored. North Quay in-page downloads and Field Ledger payment links now share this manifest.
Dated archive
Files are named by invoice date, because a supplier reference can repeat. The manifest stores the identity, so the next run skips it.