Deploy Now

Stars

24

Forks

3

Watchers

0

Billr

Invoicing your coding agent can run: Billr keeps clients, estimates, invoices, time, and payments in one workspace and exposes the same actions through an MCP server with scoped, revocable keys. Each invoice carries line items, discounts, tax, shipping, and per-business numbering. Clients get a public page with a downloadable PDF. Accepted estimates convert into invoices or engagements. An engagement bills an agreed total by percent split, equal installments, milestones, or manual entries. Log time and expenses per client, then pull unbilled entries onto a draft in one step so no hour is billed twice. Card payments land in your own Stripe account; cash and transfers are recorded by hand and can be corrected or voided with a reason. Agents connect by URL through OAuth 2.1 with a consent screen that picks the business and permissions, or use API keys in four profiles. Task billing lets an agent open a task under pricing a person approved, report time and provider costs, and finish; a human then approves the draft invoice. Invoices and clients an agent creates wear a via-agent badge, and an audit view lists its work. Reports show collected, outstanding, and profit totals, receivables ageing with CSV export, and cash or accrual profit and loss. One installation can hold several businesses with separate branding, currency, and teammates. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.

Billr
Billr
Billr
Billr
Billr
Billr
Billr
Billr
Billr

Benefits

  • Agents bill under permissions you set
  • API keys come as four profiles from read-only to full, every tool maps to one permission, and revoking a key takes effect on the agent's next call.
  • Payments go straight to Stripe
  • Card payments settle in the Stripe account whose keys you provide, with no middleman and nothing added to Stripe's fee, and a signed webhook ensures a redelivered event cannot pay an invoice twice.
  • Humans approve every billing decision
  • Agents draft by default; task pricing and the approval of a task invoice always require a person, and sending is a separate deliberate step, whatever permissions a key carries.
  • Your data stays on your server
  • Clients, invoices, and payments live in a Supabase project you control, the container binds only to localhost behind your own HTTPS proxy, and nothing phones home.

Features

  • 53-Tool MCP Server
  • The built-in endpoint at /api/mcp exposes 53 tools in ten groups, covering clients, invoices, estimates, engagements, time, expenses, payments, and task billing, with retry-safe request IDs.
  • OAuth 2.1 Agent Connections
  • Installations publish OAuth 2.1 discovery with dynamic client registration and PKCE, so Claude Code, Codex, Cursor, and other remote MCP clients connect by URL and receive short-lived tokens.
  • Engagements and Milestone Billing
  • Agree a total once, then bill it by percent split, equal installments, milestones, or manual entries; the database enforces that entries sum exactly and freezes invoiced ones.
  • Unbilled Time to Invoice
  • Log billable time and expenses in each client's currency, select unbilled entries, and pull them onto a draft invoice in one step that marks them billed.
  • Task Billing for Agents
  • An agent opens a task under approved pricing, heartbeats while it works, reports provider cost with a request reference, and completes; heartbeats count at most 120 seconds each.
  • Reports and Receivables Ageing
  • Collected, invoiced, outstanding, and profit totals for any period, receivables ageing with CSV export, and cash or accrual profit and loss, computed in the database.

Apps Similar to Billr