Inspiration
Freelancers agree on work in messy chats and emails, then lose hours turning those into invoices, tracking deposits and writing awkward "just following up" messages. Late payment is one of the most common complaints in freelancing, and the tools that exist assume you already have a tidy invoice. Chaser starts earlier, at the chat.
What it does
- Paste a client conversation. An AI model extracts the client, email, line items, deposit and balance dates.
- Review before anything is sent. Every extraction lands on an editable review screen. Where the chat is vague or the AI isn't sure, it flags the field and shows a confidence level instead of guessing.
- Create real PayPal invoices. On confirm, Chaser creates and sends the invoice through the PayPal Invoicing API (sandbox).
- Track payment. The dashboard shows what is owed, overdue and paid, and syncs each invoice's real status from PayPal.
- Chase for you. When an invoice is overdue, the AI drafts a reminder, friendly first and firmer the longer it slips. I review and edit it, then approve, and it is sent through PayPal's invoice reminder API. A copy-as-text option covers chat apps.
- Demo clock. A "simulate days" control lets you watch an invoice go overdue without waiting weeks.
How I built it
Next.js (TypeScript) and Tailwind for the app, SQLite for storage, and PayPal's Invoicing API v2 in the sandbox for creating, sending, fetching and reminding on invoices. The AI is GPT-OSS-120B on Groq (with GPT-OSS-20B as a fallback model) for extraction and reminder drafting. Model output is checked against a schema before it is used, and if extraction fails the app falls back to a manual form instead of creating an invoice from bad data. Nothing is sent to a client without my approval.
Challenges
- PayPal region rules. My India-registered sandbox buyer could not receive a USD invoice, so I created a US sandbox buyer account to test payments end to end.
- AI capacity and limits. The first model provider returned "high demand" errors during the build, so I moved to Groq and added retries and a model fallback. The free tier's token limits shaped the prompt size.
- AI misses. In testing, the AI sometimes missed a stated deposit or a client name. Rather than hide that, I made the review screen the core of the design: it flags what is uncertain and puts a human in control.
What I learned
Getting reliable structured output from a model, designing for failure (fallbacks, validation, human approval), and how much of PayPal's invoicing lifecycle (create, send, pay, remind, status) can be driven by API.
Known limits
Sandbox only, USD only. Sandbox emails are not delivered to real inboxes, so the demo pays invoices through the invoice link. Status is synced on refresh rather than through live webhooks.
What's next
Forwarding a chat from Telegram, PayPal webhooks for instant status, multi-currency invoices, and learning each client's payment habits to time reminders.