Agent♥︎Age
Catalog

io.github.theluckystrike/retainer

Official11 toolsLive

by theluckystrike · JavaScript

Client retainers held on account: record one, draw it down against invoices, refund it.

io.github.theluckystrike/retainer (MCP Server)

This MCP server manages recurring client retainers held on account. It records retainer details, draws down against invoices, and issues refunds as needed. It also stores recurring invoice schedules—client, line items, cadence, and start/end dates—and generates due invoices as real records in an invoice server.

🛠️ Key Features

  • Stores recurring invoice schedules (client, line items, cadence, start/end dates)
  • Generates invoices that have fallen due in the invoice server
  • Uses invoice number series, client records, and A4 PDF output
  • Idempotent generation: one invoice per schedule per period, keyed by occurrence date

🚀 Use Cases

  • Billing for recurring services (e.g., monthly schedules)
  • Retainer drawdowns against invoices based on generated billing periods
  • Handling refunds tied to retained client funds

⚡ Developer Benefits

  • Deterministic billing runs: repeated execution on the same day creates no duplicates
  • Clear mapping from schedule occurrences to invoice records and PDFs

⚠️ Limitations

  • Billing generation is specific to “fallen due” schedule occurrences rather than ad-hoc invoice creation

📌 Topics

claude, cursor, invoice, mcp, mcp-server, model-context-protocol, price-tracker, spreadsheet, time-tracker, typescript

Topics

claudecursorinvoicemcpmcp-servermodel-context-protocolspreadsheetaccountingai-toolsbookkeepingclaude-desktopfreelanceinvoicinglocal-firstmcp-serverspdfself-hostedtime-trackingvatproductivity