انتقل للمحتوى الرئيسي
الإصدار: 1.0.0-beta

الفوترة والاشتراك

Manage your AIIA subscription, track usage, and configure payments.

Subscription Tiers

TierUsersStorageAI TokensModulesDeployment
Essentials105 GBCore, AuditShared SaaS
Professional5050 GB100K/mo+ Risk, ComplianceShared SaaS
Enterprise200500 GB500K/mo+ IntelligencePrivate Tenant
SovereignUnlimitedUnlimitedUnlimitedAllOn-Premise

Payment Methods

AIIA supports two payment providers:

ProviderMethodsCurrency
StripeVisa, MastercardUSD, SAR
MoyasarMADA, STC Pay, Apple PaySAR

Managing Payments

  1. Navigate to Administration → Billing
  2. View current plan, usage, and invoices
  3. Upgrade/downgrade through the plan selector
  4. Access the Stripe Customer Portal for payment details

Usage Tracking

MetricDescriptionEnforcement
UsersActive user countSoft limit with warning
StorageTotal evidence storage usedUpload blocked at limit
AI TokensMonthly AI API token consumptionAI features degraded at limit

Usage meters show real-time consumption with percentage bars.

License إدارةment

License Key

Each organization has a license key (RS256-signed JWT) containing:

  • Organization ID
  • Subscription tier
  • Active modules
  • Expiry date
  • Max users and storage

Grace Period

If a license expires:

  1. 30-day grace period — full functionality maintained
  2. After grace period — degraded to Core module only
  3. Renewal — restores full functionality immediately

License CLI (On-Premise)

For on-premise deployments, manage licenses via CLI:

# Generate a new license
python -m app.services.license_service generate \
--org-id 1 \
--tier enterprise \
--months 12

# Inspect a license
python -m app.services.license_service inspect <token>

Invoices

View invoice history in the Billing page:

  • Amount and currency
  • Payment method used
  • Payment date
  • Status (paid/pending/failed)