Usage-Based Pricing Setup
Activate when configuring Revenue Cloud usage-based (consumption / metered) pricing: products billed by API calls, gigabytes, seats-per-day, kWh, or any consumed unit. Distinct from CPQ flat-rate discounting — usage-based pricing calculates charges from post-sale telemetry and runs rating on top of raw usage records.
Before Starting
- Confirm Revenue Cloud + usage-based entitlement. Consumption Schedules, Usage Summary, and rating are part of Revenue Cloud, not base CPQ. License the correct SKU.
- Identify the telemetry source. Usage records arrive from: product platform (most common), external metering service (Stripe Metering, Chargebee), data warehouse, or manual CSV. Schema and cadence define the ingestion.
- Define the rating model. Tiered (different price per tier), volume (all units at the tier's price), overage (flat to cap, then per-unit), prepaid pool (drawdown) each have distinct configuration and testing needs.
Core Concepts
Consumption Schedule
A ConsumptionSchedule defines the rating rule: Type (Range or Slab), RatingMethod (Tier or Volume), and ConsumptionRate children with LowerBound, UpperBound, Price, PricingMethod. Attached to a Product2.
Usage records
UsageTransaction or UsageRecord (naming depends on release) carries quantity, timestamp, product, subscription. Rated into BilledUsage or an equivalent object on a scheduled cadence.
Rating and invoicing
Scheduled rating evaluates unrated usage against the Consumption Schedule, writes priced usage records, and feeds the invoice engine. Idempotency matters — re-running rating must not double-charge.
Prepaid pools
For "buy 1M API calls, drawn down monthly," a prepaid pool tracks balance. Usage decrements the pool; overage triggers a different rate. Uses SubscriptionUsageEntitlement patterns depending on release.
Common Patterns
Pattern: Tiered pricing with monthly invoice
Product has a Consumption Schedule with three tiers. Usage ingested daily from product telemetry via REST API. Nightly rating job converts unrated usage to priced usage. Month-end invoice run aggregates, posts, and emails.
Pattern: Prepaid pool with overage
Customer purchases a 10M-call annual bundle. Usage drains the pool across the year. At 100% consumption, overage rate kicks in. End of term: any unused balance is forfeited or carries forward per contract.
Pattern: Real-time usage visibility for customers
Customer portal LWC shows current month usage, remaining pool, and projected overage. Data comes from the aggregated UsageSummary object, not raw UsageRecord — same reason as rebate snapshots: performance and stability.
Decision Guidance
| Situation |
Recommended Approach |
Reason |
| Flat per-unit pricing |
Simple Consumption Schedule, Range type |
Simplest, well-supported |
| Discount tiers with cumulative volume |
Volume rating method |
All units priced at top tier |
| Commit + overage |
Prepaid pool with overage rate |
Matches common SaaS contracts |
| Real-time customer dashboard |
UsageSummary rollup, not raw records |
Performance |
| Usage from external meter |
Integration via Bulk API or Platform Events |
Decouples rating from source |
Recommended Workflow
- Confirm Revenue Cloud license and usage-based entitlement; ensure Consumption Schedule objects are exposed.
- Model the product catalog: identify each metered product, its rating method, and pricing tiers.
- Build Consumption Schedules and attach to Product2 records; include effective-dated schedules for future price changes.
- Design the usage ingestion pipeline: schema, volume, cadence, idempotency, retry policy.
- Validate end-to-end with sample usage: ingest → rate → invoice → verify amounts against contract math.
- Build
UsageSummary rollups; expose in customer portal with real-time (or near-real-time) totals.
- Build reconciliation and finance controls: invoice approval, GL mapping, dispute handling.
Review Checklist
Salesforce-Specific Gotchas
- Re-rating is easy to fire twice. Rating jobs that do not check
IsRated / Rated flags will create duplicate priced records on retry; design idempotency explicitly.
- Consumption Schedule effective dating is strict. A mid-month price change requires a new schedule version with proper effective dates; retroactive changes re-rate the whole period.
- High-volume usage can overrun storage. Millions of
UsageRecord rows balloon Salesforce storage; plan for archival (big objects or external warehouse) before go-live.
Output Artifacts
| Artifact |
Description |
| Consumption schedule catalog |
Per-product rating rules and effective dates |
| Ingestion pipeline spec |
Source, schema, cadence, idempotency controls |
| Rating + invoice runbook |
Monthly cycle procedure |
| Customer visibility component |
LWC reading from UsageSummary |
Related Skills
architect/revenue-cloud-architecture — upstream deal structure
admin/integration-pattern-selection — usage ingestion
data/data-archival-strategies — long-term usage archive
1---2name: usage-based-pricing-setup3description: Usage-based pricing in Revenue Cloud: metered billing, usage records, rating, tiering, consumption schedules. NOT for choosing a CPQ pricing method (List, Block, Cost Plus Markup, Percent of Total) - use admin/pricing-model-design. NOT for legacy Salesforce Billing (blng__) schedules and invoice runs - use admin/billing-schedule-setup.4---56# Usage-Based Pricing Setup78Activate when configuring Revenue Cloud usage-based (consumption / metered) pricing: products billed by API calls, gigabytes, seats-per-day, kWh, or any consumed unit. Distinct from CPQ flat-rate discounting — usage-based pricing calculates charges from post-sale telemetry and runs rating on top of raw usage records.910## Before Starting1112- **Confirm Revenue Cloud + usage-based entitlement.** Consumption Schedules, Usage Summary, and rating are part of Revenue Cloud, not base CPQ. License the correct SKU.13- **Identify the telemetry source.** Usage records arrive from: product platform (most common), external metering service (Stripe Metering, Chargebee), data warehouse, or manual CSV. Schema and cadence define the ingestion.14- **Define the rating model.** Tiered (different price per tier), volume (all units at the tier's price), overage (flat to cap, then per-unit), prepaid pool (drawdown) each have distinct configuration and testing needs.1516## Core Concepts1718### Consumption Schedule1920A `ConsumptionSchedule` defines the rating rule: `Type` (Range or Slab), `RatingMethod` (Tier or Volume), and `ConsumptionRate` children with `LowerBound`, `UpperBound`, `Price`, `PricingMethod`. Attached to a `Product2`.2122### Usage records2324`UsageTransaction` or `UsageRecord` (naming depends on release) carries quantity, timestamp, product, subscription. Rated into `BilledUsage` or an equivalent object on a scheduled cadence.2526### Rating and invoicing2728Scheduled rating evaluates unrated usage against the Consumption Schedule, writes priced usage records, and feeds the invoice engine. Idempotency matters — re-running rating must not double-charge.2930### Prepaid pools3132For "buy 1M API calls, drawn down monthly," a prepaid pool tracks balance. Usage decrements the pool; overage triggers a different rate. Uses `SubscriptionUsageEntitlement` patterns depending on release.3334## Common Patterns3536### Pattern: Tiered pricing with monthly invoice3738Product has a Consumption Schedule with three tiers. Usage ingested daily from product telemetry via REST API. Nightly rating job converts unrated usage to priced usage. Month-end invoice run aggregates, posts, and emails.3940### Pattern: Prepaid pool with overage4142Customer purchases a 10M-call annual bundle. Usage drains the pool across the year. At 100% consumption, overage rate kicks in. End of term: any unused balance is forfeited or carries forward per contract.4344### Pattern: Real-time usage visibility for customers4546Customer portal LWC shows current month usage, remaining pool, and projected overage. Data comes from the aggregated `UsageSummary` object, not raw `UsageRecord` — same reason as rebate snapshots: performance and stability.4748## Decision Guidance4950| Situation | Recommended Approach | Reason |51|---|---|---|52| Flat per-unit pricing | Simple Consumption Schedule, Range type | Simplest, well-supported |53| Discount tiers with cumulative volume | Volume rating method | All units priced at top tier |54| Commit + overage | Prepaid pool with overage rate | Matches common SaaS contracts |55| Real-time customer dashboard | UsageSummary rollup, not raw records | Performance |56| Usage from external meter | Integration via Bulk API or Platform Events | Decouples rating from source |5758## Recommended Workflow59601. Confirm Revenue Cloud license and usage-based entitlement; ensure Consumption Schedule objects are exposed.612. Model the product catalog: identify each metered product, its rating method, and pricing tiers.623. Build Consumption Schedules and attach to Product2 records; include effective-dated schedules for future price changes.634. Design the usage ingestion pipeline: schema, volume, cadence, idempotency, retry policy.645. Validate end-to-end with sample usage: ingest → rate → invoice → verify amounts against contract math.656. Build `UsageSummary` rollups; expose in customer portal with real-time (or near-real-time) totals.667. Build reconciliation and finance controls: invoice approval, GL mapping, dispute handling.6768## Review Checklist6970- [ ] Consumption Schedules validated against contract math71- [ ] Usage ingestion idempotent across retries72- [ ] Rating job tested with month-end volume73- [ ] Overage and prepaid pool logic tested with edge cases74- [ ] Customer-facing dashboard shows accurate usage vs entitlement75- [ ] Finance approval and GL mapping in place76- [ ] Dispute/credit process documented7778## Salesforce-Specific Gotchas79801. **Re-rating is easy to fire twice.** Rating jobs that do not check `IsRated` / `Rated` flags will create duplicate priced records on retry; design idempotency explicitly.812. **Consumption Schedule effective dating is strict.** A mid-month price change requires a new schedule version with proper effective dates; retroactive changes re-rate the whole period.823. **High-volume usage can overrun storage.** Millions of `UsageRecord` rows balloon Salesforce storage; plan for archival (big objects or external warehouse) before go-live.8384## Output Artifacts8586| Artifact | Description |87|---|---|88| Consumption schedule catalog | Per-product rating rules and effective dates |89| Ingestion pipeline spec | Source, schema, cadence, idempotency controls |90| Rating + invoice runbook | Monthly cycle procedure |91| Customer visibility component | LWC reading from UsageSummary |9293## Related Skills9495- `architect/revenue-cloud-architecture` — upstream deal structure96- `admin/integration-pattern-selection` — usage ingestion97- `data/data-archival-strategies` — long-term usage archive