← All work
2025 — 2026· Enterprise· NDA

Invoice review, automated

A Gemini-based workflow that reads XML/PDF invoices, checks them against HR-defined rules and flags mismatches: about 120 invoices a month.

~120/month
rule-based
human override

Context

HR reviewed roughly 120 invoices a month by opening PDFs and comparing them to a checklist. It was repetitive, easy to drift and hard to audit.

What I did

  1. 01Parsed XML and PDF into a normalized structure before sending anything to the model.
  2. 02Kept the rules in configuration, not in the prompt, so HR could change thresholds without a deploy.
  3. 03Returned pass/fail with the exact failing rule, so a human could override with context.

Result

  • ↑~120 invoices/month processed.
  • ↑Manual review reduced to exceptions.
  • ↑Every decision keeps the rule that triggered it.