Usage, Billing, and Invoicing
Usage, Billing, and Invoicing
Overview
CMS collects or imports platform usage, generatesturns it into billing rows, displays billing grids and charts,reports, creates invoices, and calculates commissions.
Usage Collection
Usage collection depends on platform:platform.
| Platform | Collection model |
|---|---|
| Azure Stack | |
| Azure Local | |
| Public Azure | |
| CloudStack |
ScheduledUsage usagecan collectionrun runs throughfrom scheduled jobs.jobs Manualor regionfrom updatemanual platform actions dispatchwhere through the same platform-aware usage service path.available.
Billing Generation
Billing persistsgeneration dailycreates Billing rows generated from daily usage rows or imported Azure cost records. Daily windows use half-open date ranges, where the start is included and the end is the next day.
Monthly compatibility routes remain available:
| |
| reviewed |
| |
|
ThePlatform applicationadministrators and scheduledservice usageautomation flowscan callgenerate Other GenerateMonthlyBillingRecords(period_start,billing. period_end)asusers thecan compatibility entry point. After the dailyreview billing migrationinformation iswhen applied,invoice that procedure wraps dailyand billing generation.visibility settings allow it.
Billing Page
The Billing grid supports:
DateDaily date rangeselection for daily rows.view.Year/monthMonthlyselection for monthlyresource aggregationmode.view.- Region, tenant, and subscription filters.
- CSV export of the filtered rows.
- Billing details
withforpricing,selectedhosting, and resource information.rows. - Summary cards for the selected range and the comparable previous range.
The Billing category setting for default aggregation controls whether the grid opens in daily or monthlyDefaultBillingAggregationMonthly aggregation mode. Users can still toggleswitch modes infor the current page session.
Billing Selection Mode
The Billing >usage Generalselection setting controls how UseOverlapUsageSelectiongeneratedboundary-spanning usage is included in billing selects usage rows.periods.
Start-time selection |
|
Overlap selection |
EnablingChanging overlapthis modesetting can increase generatedchange totals becausefor rowsperiods overlappingthat theinclude beginningusage ofcrossing a date boundary. Review closed-period maytotals nowafter bechanging included.it.
Invoices
InvoicesCMS consume daily billing rows while preservingsupports monthly and quarterly invoice cadences.
| Invoice type | Behaviour |
|---|---|
Invoice generation is limitedavailable to platform administratoradministrators and platform service roles.
Invoice visibility settings control whether tenants, partners, and distributors can see invoice tabs and widgets are visible to tenants, partners, and distributors. The API enforces the same visibility settings server-side. Platform roles can view invoices regardless of these visibility settings.widgets.
Billing Status
The Billing Status tab groups status by tenant and subscription. It shows overdue, issued, uninvoiced, and paid totals for lastrecent month, last quarter, the selected/current month,monthly and currentquarterly quarter-to-date.periods.
Preview and generated invoices are treated as uninvoiced for status reporting.reporting until they move into an issued, overdue, or paid workflow state.
Commissions
Commission summaries and charts are scopedavailable byto role.users Routeswith thatpartner, accept a related partnerdistributor, or distributor ID validate that non-platform callersaccess. canUsers accessonly see commission information in their permitted organisation scope.
What To Check
If expected billing or invoice data is missing, check:
- A region exists and is enabled.
- Subscriptions exist for the
requestedrelevantentitytenant. - Usage
returningcollectioncharthasdata.run
theOperationalforNotesTakeperiod. - Pricing
MySQLexistsbackupforbeforetheapplyingrelevantdailyplatform,billing,region,billing selection, invoice visibility, quarterly invoicing, tenant invoice type, scheduled notification, Azure Stack SKU normalization, or Azure Stack managed disk meter repair scripts.Backfill daily billing only after testing in a non-production copytenant, andreviewingcataloguereconciliationitems. - Billing generation has run for the period.
- Invoice visibility settings allow the user's role family to see invoices.
Known Gaps
Manual Review Required: Historical Public Azure backfill
helper workislistedanasoperatorbacklog.process.PublicConfirmAzurethe intended period and region before regenerating historicalregeneration should currently be handled through theAzure billingingestion path for the required region and date ranges.data.