Financial Reports
Overview
The Financial Reports page is a comprehensive financial tracking and analytics dashboard for the ComusThumbz creator monetization system. It provides detailed insights into platform revenue, creator earnings, token transactions, and financial health metrics. The page tracks all monetary activities including token purchases, tips, subscriptions, PPV unlocks, product purchases, and withdrawals, with clear separation between platform revenue and creator earnings.
Location: Navigate to this page via Admin Panel → Reports → Financial Reports or access directly via ct/admin/financialreports.php
[Screenshot: financial-reports-main-interface]
Getting to This Page
Navigate to Admin Panel → ReportsClick Financial Reports link
- Alternatively, access directly via
ct/admin/financialreports.php
This page provides comprehensive financial analytics for the creator monetization system. Use the date filters to analyze specific time periods and the transaction type filter to focus on specific revenue streams.
System Requirements
This page requires the creator monetization database tables and performs complex SQL queries. Ensure your database is properly configured before using this page.
PHP Requirements
Required PHP Extensions
Required PHP Functions
Folder Permissions
Network Requirements
Features & UI Elements
Page Header
[Screenshot: financial-reports-header]
Value Toggle (Tokens/USD)
[Screenshot: financial-reports-value-toggle]
Date Range Filter
[Screenshot: financial-reports-filters]
Tax Season Export
[Screenshot: financial-reports-tax-export]
Summary Statistics Grid
[Screenshot: financial-reports-stats-grid]
Additional Statistics Row
Accordion Sections
The page uses collapsible accordion sections for detailed analytics:
Transaction Insights
Subscription Health
Withdrawal Metrics
Revenue Trends
Tips by Content Type
Displays token breakdown by content type (video, gallery, post, profile, livestream).
Token Velocity
Revenue Breakdown Cards
[Screenshot: financial-reports-breakdown]
Revenue by Source:
- Tips
- Subscriptions
- PPV Unlocks
- Total Volume
Platform vs Creator Split:
- Platform Fee Rate (%)
- Platform Earnings (Tips)
- Creator Earnings (Tips)
- Total Platform Revenue
Charts
[Screenshot: financial-reports-charts]
Top Lists (Modals)
[Screenshot: financial-reports-modals]
Transaction History Table
[Screenshot: financial-reports-transactions]
Pagination
Tax Season Export
The Tax Season Export generates a comprehensive Excel report with 6 sections:
Section 1: Cash Flow
- Token Purchases (Money IN)
- Creator Withdrawals (Money OUT)
- Net Cash Flow
Section 2: Token Liabilities
- User Token Balances (unspent)
- Creator Token Balances (unwithdrawn)
- Total Liabilities
Section 3: Platform Revenue
- Tips (with platform/creator split)
- Creator Subscriptions
- PPV Content Unlocks
- Total Platform Revenue (taxable income)
Section 4: Net Position Summary
- Cash Position
- Liabilities breakdown
- Adjusted Net Position
- Platform Revenue (Taxable Income)
Section 5: Monthly Revenue Breakdown
- 12-month breakdown of platform and creator earnings
Section 6: Tax Summary
- Final taxable income figure with important tax notes
The Tax Season Export clearly separates platform revenue (your taxable income) from customer deposits (token purchases) and creator payments. This format is designed to help with tax reporting compliance.
Step-by-Step Usage
Viewing Financial Overview
- Navigate to Admin Panel → Reports → Financial Reports
- View default statistics for current month
- Use value toggle to switch between Tokens/USD
- Click accordion headers to expand detailed sections
Filtering by Date Range
- Enter start date in Date From field
- Enter end date in Date To field
- Click Apply Filters
- All statistics and charts update for selected period
Filtering by Transaction Type
- Select type from Transaction Type dropdown:
- All Types (default)
- Tips
- Subscriptions
- PPV Unlocks
- Token Purchases
- Withdrawals
- Click Apply Filters
- Transaction table shows only selected type
Generating Tax Report
- Select year from Year Selector dropdown
- Click Tax Season Export button
- Excel file downloads automatically
- Review all 6 sections for tax reporting
Viewing Top Creators/Users
- Click Top 100 Creators by Earnings button
- Modal opens with ranked creator list
- Click creator name to view detailed profile
- Press Escape or click outside to close
Navigating Transaction History
- Scroll to Transaction History section
- Use pagination controls at bottom
- Click user/creator names to view profiles
- Refunded transactions shown with strikethrough
Token to USD Conversion
The page uses a configurable token rate:
$tokenrate = 0.10; // 1 token = $0.10
All USD values are calculated as:
USD = tokens × $0.10
Platform Fee Calculation
Platform fees are retrieved from tblCreatorPlatformSettings:
SELECT settingvalue
FROM tblCreatorPlatformSettings
WHERE settingkey = 'platformfeepercent'
Default: 20%
For each transaction:
- Platform Share: tokens × (platformfeepercent / 100)
- Creator Share: tokens × ((100 - platformfeepercent) / 100)
Troubleshooting
Common Errors
"No transactions found for the selected period"
Cause: No transactions exist in the date range
Solution:
- Expand the date range
- Check if creator monetization is active
- Verify users are making transactions
"Unable to load financial data"
Cause: Database connection or table issues
Solution:
- Verify database connection in config.inc.php
- Check all required tables exist
- Review MySQL error logs
Charts not rendering
Cause: Chart.js CDN blocked or unavailable
Solution:
- Check network connectivity
- Verify CDN is accessible
- Check browser console for errors
Tax export downloads empty file
Cause: No data for selected year
Solution:
- Select a year with transaction data
- Verify transactions exist in database
Performance Tips
For large transaction volumes, the page may take longer to load. Consider:
- Narrowing the date range
- Filtering by specific transaction type
- Using database indexes on createdat columns
Translatable Strings
The following strings should be added to backendtranslations.md:
financialreportstitle = "Financial Reports"
financialreportsbreadcrumb = "Financial Reports"
financialreportsback = "Back to Reports"
financialreportstokenusage = "Token Usage"
financialreportstokens = "Tokens"
financialreportsusd = "USD"
financialreportsreportoptions = "Report Options"
financialreportsdatefrom = "Date From"
financialreportsdateto = "Date To"
financialreportstransactiontype = "Transaction Type"
financialreportsalltypes = "All Types"
financialreportstips = "Tips"
financialreportssubscriptions = "Subscriptions"
financialreportsppvunlocks = "PPV Unlocks"
financialreportstokenpurchases = "Token Purchases"
financialreportswithdrawals = "Withdrawals"
financialreportsapplyfilters = "Apply Filters"
financialreportstaxexport = "Tax Season Export"
financialreportstokenpurchasesstat = "Token Purchases"
financialreportstipsvolume = "Tips Volume"
financialreportsplatformearnings = "Platform Earnings"
financialreportscreatorearnings = "Creator Earnings"
financialreportspendingwithdrawals = "Pending Withdrawals"
financialreportscompletedpayouts = "Completed Payouts"
financialreportsuniquespenders = "Unique Spenders"
financialreportsactivecreators = "Active Creators"
financialreportsrefunds = "Refunds"
financialreportsavgtransaction = "Avg Transaction"
financialreportstransactioninsights = "Transaction Insights"
financialreportssubscriptionhealth = "Subscription Health"
financialreportswithdrawalmetrics = "Withdrawal Metrics"
financialreportsrevenuetrends = "Revenue Trends"
financialreportstipsbycontent = "Tips by Content Type"
financialreportstokenvelocity = "Token Velocity"
financialreportsrevenuebysource = "Revenue by Source"
financialreportsplatformvscreator = "Platform vs Creator Split"
financialreportsdailytrend = "Daily Revenue Trend"
financialreportsbyhour = "By Hour"
financialreportsbymonth = "By Month"
financialreportsrevenuedetails = "Revenue Details"
financialreportstopcreators = "Top 100 Creators by Earnings"
financialreportstopusers = "Top 100 Users by Spending"
financialreportstransactionhistory = "Transaction History"
financialreportsnotransactions = "No transactions found for the selected period."
Version History
Related Documentation
- Token Usage Dashboard - API credit tracking
- Creator Administration - Creator profile management
- User Details - User account management
- Reports Overview - All admin reports