invoice-pushlisted
Install: claude install-skill trevhud/rote
# invoice-push
**Owner:** Parcel Audit Team
**Tool:** Claude + browser-automation plugin
---
## Trigger Phrases
Activate this skill when the user says any of the following:
- `Push invoices to procurement` ← recommended
- `Push to procurement`
- `Send imports to procurement`
- `Run the invoice push`
- `Process imports for procurement`
⚠️ Do NOT trigger on just `Run` — too generic, may conflict with other skills.
---
## Prerequisites Check
Before any automation begins, verify both:
1. **Browser-automation plugin** is installed and active (Settings → Plugins → browser plugin = enabled, browser open with extension running).
2. **User is logged in** to `https://ops.example.com/app/audit/import` in the browser.
If the plugin is unavailable, respond:
> "I cannot run the invoice push — the browser-automation plugin is not connected. Please go to Settings → Plugins, confirm the plugin is installed and enabled, and that the browser is open with the extension active. Then try again."
Do not proceed until both prerequisites are confirmed.
---
## Date Window Calculation
Calculate dynamically before opening the browser:
- **End date (yesterday):** today − 1 day
- **Start date:** end date − 7 days (7-day rolling window)
- **Format:** `M/D/YYYY` (e.g., `4/22/2026`)
**Example — run date = May 5, 2026:**
- End date = May 4, 2026 → `5/4/2026`
- Start date = April 27, 2026 → `4/27/2026`
Invoices imported today are **never** pushed — log as ⚠️ Skipped: `Imported within 24 hour