1. Overview & Business Purpose
The Subscriptions & Recurring Billing Engine in ITSTHS Workspace allows commercial enterprises, SaaS providers, and service agencies to automate recurring retainer contracts, monthly subscription plans, annual maintenance agreements, and periodic billing cycles.
By automating contract renewals and recurring invoice generation, finance teams reduce billing overhead, prevent revenue leakage, and ensure predictable cash flow management.
2. What This Feature Does
- Automated Billing Cycles: Configure recurring billing intervals (Monthly, Quarterly, Semi-Annually, Annually) with automated invoice generation.
- Client Retainer Management: Define fixed retainer fees, billable rate schedules, and recurring line item bundles.
- Automated Invoice Cron Generation: Background system cron jobs generate recurring sales invoices on specified execution dates.
- Payment Gateway Auto-Debit: Pair recurring subscriptions with Stripe or PayPal payment tokens for automated credit card charging.
- Renewal & Expiration Alerts: Automated email notifications sent to clients and account managers prior to subscription renewals.
3. Common Business Use Cases
- Monthly SLA Maintenance Retainers: Bill clients a fixed monthly fee for ongoing IT, legal, or consulting retainer services.
- SaaS Software Subscriptions: Manage tiered recurring license subscriptions with automated credit card charging.
- Annual Service Agreements: Generate recurring annual invoices for hosting, domain renewals, or equipment warranties.
4. Before You Begin (Prerequisites)
- Active Client Account created in
Workspace → Clients. - System Cron Job configured on server (`php spark cron:run`).
5. Required System Permissions
- Creating and managing subscriptions requires permission flag
subscriptionset to All orcan_edit_subscriptions()access.
6. Plan Tier Availability
Available on: Growth and Enterprise plans.
7. Navigation Path ("Where to Find It")
Navigate to Workspace → Sales → Subscriptions.
8. Field-by-Field Reference Dictionary Table
[SCREENSHOT: subscription-create-modal.png]
| Field Name | Form Control | Required? | Description |
|---|---|---|---|
title |
Text Input | Required | Subscription display title (e.g. Monthly Managed Services). |
client_id |
Dropdown | Required | Target Client Account. |
billing_cycle |
Dropdown | Required | Interval frequency (Monthly, Quarterly, Yearly). |
repeat_every |
Numeric Input | Required | Billing frequency multiplier (e.g. Every 1 Month). |
9. Step-by-Step Operating Procedures
- Navigate to
Workspace → Sales → Subscriptions→ click + Add Subscription. - Select Client, Subscription Title, Billing Interval, Start Date, and Tax rates.
- Add line items, unit quantities, and recurring rates.
- Click Save & Activate Subscription.
10. Statuses & Lifecycle States Table
| Status | Behavior |
|---|---|
| Active | Subscription active; cron generates recurring invoices on cycle dates. |
| Paused / Cancelled | Billing halted; no new invoices generated. |
11. Automated System Actions & Triggers
- Automated nightly cron checks execution dates and generates new client invoice records automatically.
12. Input Validation Rules & Error Messages
Subscription Title is required— Blocks saving untitled subscription plans.
13. System Constraints & Limits
- System requires an active background cron execution to dispatch automated billing invoices on time.
14. Technical & Payload Architecture
- Subscriptions stored in `subscriptions` table; line items stored in `subscription_items`.
15. Edge Cases & Known Gotchas
- If start date is set in the past, system generates missing backdated invoices on first cron run unless set to skip past cycles.
16. Troubleshooting & Diagnostics Guide
- If recurring invoices are not generated on cycle date, verify server cron configuration in `Settings → System Health`.
17. Operational Best Practices
- Attach credit card payment tokens to enable automatic payment processing on invoice creation.
18. Security, Audit & Compliance Notes
- Subscription modifications and cancellations are permanently recorded in audit logs.
19. Frequently Asked Questions (FAQs)
Q: Can I edit pricing on an active subscription?
A: Yes, editing updates future invoice cycles without altering past historic invoices.