evonx
App template

Subscription billing template for recurring revenue products

Model plans, subscriptions, invoices, and dunning for products that renew monthly or annually. This subscription billing template focuses on entitlement state and invoice lifecycle—not a single Stripe Checkout button—so finance and product share one source of truth.

billing.acme.saasRevenue
Subscription health

Manage plans, subscriptions, renewals, proration, and failed-payment recovery.

MRR$248k
Past due37
Churn risk12
  • Acme Corp — Pro annualRenews Apr 12 · Healthy
  • Brightside — failed cardDunning day 5 · Soft lock
  • Upgrade — Orbit LabsProration invoice · Due

What's included

Manage plans, subscriptions, renewals, proration, and failed-payment recovery.

Intended users

  • Founders
  • Finance
  • RevOps

Suggested stack

  • PostgreSQL
  • Next.js
  • Stripe Billing

Core features

Plan and price catalogs

Subscription lifecycle states

Proration on upgrades

Dunning and retries

Entitlement sync hooks

Main workflows

Upgrade plan

Prorate invoice, update entitlements, confirm.

Retry failed payment

Dunning schedule, notify customer, recover or cancel.

Issue credit note

Adjust invoice, sync accounting export.

Database model / entities

Distinct domain entities — not a renamed generic CRUD list.

PlanProduct tier with billing interval and entitlements.
SubscriptionCustomer plan instance with status and renews-at.
InvoiceAmount due with line items and payment status.
Payment attemptCharge try with outcome and next retry.

User roles

  • Billing admin
  • Support
  • Customer
  • Finance

Possible integrations

Applications built from this template can connect to these services via their APIs.

  • Stripe
  • Resend
  • Slack
  • Segment

Example prompt

Copy this into Evonx to start from a production-shaped brief instead of a blank canvas.

Build a subscription billing app with plans, subscriptions, invoices, and payment attempts. Include proration, dunning, entitlement updates, and customer portal basics. Use PostgreSQL with billing admin, support, and customer roles.

How Evonx customizes this template

Start from the domain model above, describe the workflows your team needs, and Evonx generates a working preview you can refine. For teams with an existing codebase, the same agent can extend repositories instead of starting from a blank project.

FAQ

Does upgrading mid-cycle prorate the invoice?

Yes. Plan changes can generate prorated invoice lines and update entitlements immediately or at period end—your choice in the prompt.

How does dunning interact with product access?

Failed payments can soft-lock entitlements after a grace window while retries and customer emails continue.

Is Stripe required?

Stripe is the common processor, but the domain model stays in your app so you control invoices and entitlements regardless of gateway details.

Can support change plans without being billing admin?

Support can be granted limited plan changes while tax and credit-note controls stay with billing admin.

Build production software with Evonx

Start from a template or connect an existing repository. Evonx helps you ship real applications with preview, evolution threads, and pull-request delivery—not disposable demos.