Billing & Quotas¶
UC-BIL-01 View available plans¶
As an administrator, I want to list subscription plans with limits (tokens, devices, vision, tablet minutes), so that I can choose the right tier.
UC-BIL-02 Subscribe or change plan¶
As an administrator, I want to change the organisation or user subscription, so that entitlements update for the tenant.
UC-BIL-03 View current subscription on profile¶
As a member, I want my profile to show current plan and key limits, so that I understand what I can use.
UC-BIL-04 Enforce token quota on chat¶
As the platform, I want to block or throttle chat when token balance is exhausted, so that usage stays within commercial terms.
UC-BIL-05 Record token spend¶
As the Spending service, I want each AI call to decrement balance and append ledger entry, so that finance and users see accurate usage.
UC-BIL-06 View usage statistics¶
As an administrator, I want usage stats per period, so that I can forecast upgrades.
UC-BIL-07 Payment webhook¶
As a payment provider, I want to notify Billing via webhook, so that subscription status reflects paid invoices.
UC-BIL-08 Open billing portal¶
As an administrator, I want a portal URL for external billing self-service, so that payment details are managed securely off-platform.