A supplier invoice desk that takes every invoice from the accounting export to the right customer portal with its purchase order and attachments, then tracks it to cash with disputes, DSO and a cash forecast.
Signs in to every customer portal at once, flips purchase orders or fills invoice forms, attaches backup documents and reads status back.
Node workers use BrowserSwarm.open with one member per portal and swarm.all running navigate, pageMap(), fill, select, setInputFiles, click and text(); agents use bgls mcp tools bg_swarm_open, bg_swarm_run, bg_navigate, bg_page_map, bg_fill, bg_set_input_files, bg_click and bg_get_text.Hands MFA prompts and unexpected pages to a billing specialist in the same tab the agent used.
The React component from @browserglass/react in the Next.js queue screen; the worker calls yieldControl() and waitForResume() so the person holds the lease, and bg_control does the same over MCP, as in docs/agent-and-human.md.Keeps proof of every submission and prints customer statements.
startRecording() and stopRecording() per submission with bgls record export for frames, bg_screenshot of each confirmation page, and AutomationClient.pdf() as in docs/pdf.md.Keeps the submission and status workers running side by side on the worker machine next to the browsers.
new-session and split-window give each worker a pane, send-keys starts it, and capture-pane saves worker output to the run log.Supplier Invoice Portal Desk
A supplier signs in on the hosted app, or runs it on its own server from one Docker command, points it at the accounting export folder and adds each customer portal with its rules and a login kept in an encrypted store. Each billing day the agents submit the batch while a billing specialist watches the queue and answers MFA prompts in the live tab. AR works the disputes queue each morning, and the controller reads DSO and the 13 week forecast every Monday.
Proves: Before: about [10] minutes per invoice, [8]% rejected for missing data, and [3] hours a week checking status. After: under 1 minute of staff time per invoice, under 2% rejected, every short payment flagged within a day, and DSO and the cash forecast on one screen.
A supplier with 40 large customers may have to submit invoices on 15 different portals, each with its own login, purchase order rules, required attachments and field formats. A billing specialist exports invoices from the accounting system and keys them one at a time, so one invoice takes 8 to 15 minutes and a missing timesheet gets it rejected two weeks later. Payment status sits inside each portal, so AR staff sign in again and again to find out what was approved, scheduled or short paid, and deductions go unchallenged past the dispute window. Days sales outstanding creeps up and the cash forecast lives in a spreadsheet nobody trusts.
Where to find the evidence
- SAP Business Network (Ariba) supplier help pages on PO flip, invoice rules and rejection reasons
- Coupa Supplier Portal and Jaggaer supplier help centers and training videos
- Supplier invoicing guides that large US companies, universities and public agencies publish as PDFs
- X12 810 invoice and 820 remittance implementation guides, and NACHA CCD+ and CTX remittance formats
- O*NET tasks for Billing and Posting Clerks (43-3021) and Bill and Account Collectors (43-3011), with BLS pay
- SEC 10-K filings of US staffing and facilities services companies for DSO and customer concentration
- G2 and Capterra reviews of Billtrust, HighRadius, Versapay and Esker, and Reddit r/Accounting threads on supplier portals
- Census County Business Patterns and Statistics of US Businesses for supplier counts by industry and size
Your demo environment: Four mock customer portals: an Ariba style network with PO flip and line matching, a Coupa style portal, a Jaggaer style portal with required attachment types, and a custom buyer portal with a TOTP MFA prompt and a 25 MB attachment limit. Accounting exports for 3 synthetic US suppliers with 18 months of invoices, purchase orders, timesheets and proofs of delivery as PDFs, and remittance files with seeded short payments, deductions and duplicate payments. A portal clock moves invoices through approved, scheduled and paid, and every outcome is written to a truth file.
How to do the research →A self hosted product that runs the whole portal billing desk. It reads invoices, lines and backup documents from the accounting system export (CSV and PDF folders in the shapes QuickBooks Online, NetSuite and Business Central produce), matches each invoice to the customer's purchase order and portal rules, and queues it. BrowserGlass agents sign in to each mock customer portal, flip the purchase order or fill the invoice form, attach the required documents and submit; when a portal asks for an MFA code or shows something unexpected, the agent yields control and a billing specialist finishes in the same live tab. A person approves the first submission per customer each month and any invoice that differs from its purchase order. Status agents read invoice and payment status from every portal daily, remittances are matched to invoices, and each short payment opens a dispute that AR approves before an agent files it. A dashboard shows DSO, aging by customer and portal, and a 13 week cash forecast.
See every API on the tools page.
8 modules that together do the whole job.
Each person on the team owns one or two modules. All of them ship in version 1.0.
- 1Invoice intake
Reads invoices, lines and backup PDFs from the accounting export folder and checks each one for missing data before it is queued.
- 2Purchase order matching and portal rules
Matches every invoice to its purchase order by number, lines and amount, and applies each customer's rules for fields and required attachments.
- 3Portal submission agents
A BrowserGlass swarm signs in to each customer portal, flips the purchase order or fills the form, attaches files and saves the confirmation.
- 4Review and MFA handoff
An approval queue for mismatches and first submissions, and a live tab where a billing specialist enters MFA codes or handles odd pages.
- 5Status and remittance tracking
Daily status reads from every portal and remittance files matched to invoices, so each invoice shows submitted, approved, scheduled or paid.
- 6Disputes and short payments
Short payments, deductions and duplicates open cases with evidence and a drafted dispute that AR approves before an agent files it.
- 7Cash dashboard and admin
DSO, aging by customer and portal, rejection rate and a 13 week cash forecast, plus portals, rules, approval limits and roles.
- 8Launch kit
A landing page, an ROI calculator built on the team's baseline, the 2 minute demo video, a case study from the demo run and a US market sizing.
WHO SIGNS IN Billing specialistAR specialistBilling and AR managerControllerAdmin
Four people your product has to convince.
Build each one from public evidence, interview them with AI, and expect your mentors to play them at the gates.
Billing specialist at a staffing firm with $60M revenue, submitting about 400 invoices a month to 12 customer portals
One queue for every portal, attachments picked for me, and the MFA prompt shown to me in the same tab instead of a fresh sign in.
Billing and AR manager at a facilities services company with $90M revenue
Status of every open invoice without signing in to portals, short payments caught inside the dispute window, and fewer rejections each month.
Controller at a manufacturer with $120M revenue and 35 large customers
Lower DSO in numbers, a 13 week cash forecast I can show the bank, and proof that nothing was submitted to a customer without the right approval.
IT and security manager at an IT services firm
Portal passwords and MFA seeds encrypted and never logged, role based access, an audit log of every agent action, and the product hosted on our own servers.
Finished means all of this.
- Sign in, user roles and a workspace per company
- An audit log of who did what, including the AI
- A person approves anything risky the AI does
- One command install on a clean machine, under 15 minutes
- A demo mode with synthetic data
- Automated tests for every acceptance criterion, run in CI on every pull request
- Admin settings that change behaviour without code
- Data export and backups
- Security review: no secrets in code, input checks, dependency scan, OWASP top 10
- Works on a laptop and a phone, accessible forms
- Admin guide, user guide, API docs and HANDOVER.md
Seven levels, from a day one demo to launch.
Each level has one goal, the checks a mentor will look for, a prompt to give your AI agent and a post to share when you clear it. Tick the checks as your team meets them. The next level opens when this one is cleared.
Level 1 of 7: Day one demo
- Day one demoDay 1 · G0
- Working sliceWeek 1
- UsableWeek 2 · G1
- CompleteWeeks 3 to 4
- At volumeWeeks 5 to 6 · G2
- Production readyWeeks 7 to 8 · G3
- LaunchWeeks 9 to 10 · G4
- Boss levelstretch
Day one demo
Ship on the first day. Your agent builds a mock portal with synthetic data, then BrowserGlass or DeskVNC does one real job in it end to end while you record it. Demo it to the room before lunch.
YOUR GOALBuild one mock customer portal with synthetic US invoices and have a BrowserGlass agent submit one invoice with a PDF attachment end to end, shown at 12:30 and posted the same day.
DONE WHENPaste this into Antigravity, opencode or Gemini CLI. Read its plan before you let it build.
Build the day one demo in about 2 hours, ready to show at 12:30. 1. mock/portal-coupa/: a small Next.js app whose screens copy the public Coupa Supplier Portal training videos: sign in, open purchase orders, an invoice form (invoice number, date, PO number, lines, tax, total) and a required PDF attachment; it rejects a total that differs from the PO and returns a confirmation number. 2. mock/seed/: a TypeScript script that makes 50 invoices for a fictional US staffing firm with US addresses, dollar amounts, PO numbers and a timesheet PDF each. 3. workers/submit/: start a gateway with bgls serve and use the Node AutomationClient to sign in, read the form with pageMap(), fill the fields, attach the PDF with setInputFiles, submit and read the confirmation with text(). Call startRecording() before and stopRecording() after, and save a screenshot. 4. A Vitest test that invoice 1 gets a confirmation number, and a README with the run command.
Intern, Ripeflow Sparkin
Day 1 of @Ripeflow Spark. Our team is building a desk for US suppliers that bill big customers through supplier portals. By [11] am our agent had built a mock buyer portal from public training videos and [50] made up invoices. By 12:30 a BrowserGlass agent signed in, filled the invoice form, attached the timesheet PDF and got a confirmation number, live in front of the room. [60] seconds of video, first day. #RipeflowSpark #BrowserGlass
- Fill in the [numbers] with your team's real results.
- Tag @Ripeflow and your teammates. Keep #RipeflowSpark.
- Post on LinkedIn. Put the clip on your WhatsApp status and as an Instagram reel.
- Add the post link to your team tracker. It counts for points.
Progress is saved in this browser. Your mentor checks the real evidence on Saturdays.
The first thing to ask your agent.
Before level 1, give this to your coding agent so it sets up the repo and learns the tools with you.
Run one agent per person, each in its own psmux pane. The agent drafts, you check. If you cannot explain what it wrote, it does not go in.
How to work with agents →You are the lead engineer on a Supplier Invoice Portal Desk for US suppliers with $10M to $200M in revenue that bill large customers through supplier portals. The finished product reads invoices from the accounting export, matches purchase orders, submits each invoice with its attachments on the right portal, hands MFA prompts to a billing specialist in the live tab, tracks status and remittances, files approved disputes and reports DSO and a 13 week cash forecast. Stack: Next.js and TypeScript, deployed to our host (a Node server in Docker for suppliers who keep it on premises), Node workers with the BrowserGlass Node client taking jobs from a queue, Postgres with Drizzle, Better Auth with roles, Vitest, Playwright and GitHub Actions. Monorepo: apps/web, workers/, packages/shared, mock/, docker-compose.yml. Read the BrowserGlass README.md, docs/quickstart.md, docs/page-map.md and docs/agent-and-human.md. Put a 10 line plan and the top risks in the first pull request, then build today's demo so it can be shown at 12:30. Tell me what you could not check.
Before: about [10] minutes per invoice, [8]% rejected for missing data, and [3] hours a week checking status. After: under 1 minute of staff time per invoice, under 2% rejected, every short payment flagged within a day, and DSO and the cash forecast on one screen.
Order to cash operations, accounts receivable, browser agents with file uploads, human handoff design, cash forecasting
GIVE BACK UPSTREAMA BrowserGlass recipe for submitting a form with file attachments through setInputFiles and handing an MFA prompt to a person mid flow, plus fixes or docs found at 2,000 submissions.
Outcome owners
Everyone builds with AI agents. Each person owns one outcome and answers for it.
- 1Product owner: research backlog, portal rules, dispute workflow and the buyer demo
- 2Agent lead: submission and status agents and the MFA handoff
- 3Quality lead: truth file checks, tests, rejection rate and DSO numbers
- 4Integration lead: mock portals, export readers, BrowserGlass and releases
- 5Story lead: dashboard, guides and the launch kit (landing page, ROI calculator, demo video, case study, market sizing)
First tasks
Do these in the first week, before anything else.