HubPublic
Package control recordPublished package

@pasar6987/sf-revenue-usage

Usage-based billing framework covering entitlement buckets, resource policies, grant renewals, commitment tracking, and ratable summary computation.

Published package · Latest published 1.0.1 Mar 4, 2026 · 21 datasets / 33 measures in the latest review · Updated Apr 28, 2026

Release path

1.0.1Published Mar 4, 2026

Publisher

@pasar6987Published Mar 4, 2026

Structure snapshot

21 datasets33 measures · 224 dimensions

Reference context

Secondary package facts stay compact

Updated
Apr 28, 2026
Visibility
Public hub listing
License
MIT
Created
Mar 4, 2026

Reference facts

Secondary package facts after the usage path is clear

Licensing, categorization, ownership, and linked metadata stay below the runnable path so the page reads in the right order.

Format

OSI

Upstream

developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference

Repository

Not linked

Owner

@pasar6987

Organization

Independent

License

MIT

Visibility

Public hub listing

Publisher

@pasar6987Published Mar 4, 2026

Latest published version

1.0.1Published Mar 4, 2026

Tags

salesforcecrmrevenueusage

Schema preview

Schema 0.1.1

SDK handoff

Use this package in code and AI

After structure review, move straight into typed reads with load() or compact LLM context with to_prompt().

Python SDK

Python example for @pasar6987/sf-revenue-usage

This example uses the current package ref and, when preview data is available, fills in real dataset names from the published summary.

import rawctx

model = rawctx.load("@pasar6987/sf-revenue-usage")
prompt = rawctx.to_prompt(
    "@pasar6987/sf-revenue-usage",
    datasets=["BindingObjUsageRsrcPlcy", "BindingObjectCustomExt"],
    max_tokens=2000,
)

print(model.datasets)        # ["BindingObjUsageRsrcPlcy", "BindingObjectCustomExt", "BindingObjectRateAdjustment"]
print(model.measures)        # [Measure(name="BindingObjectRateAdjustment.AdjustmentValue", ...), Measure(name="BindingObjectRateAdjustment.LowerBound", ...), Measure(name="BindingObjectRateAdjustment.UpperBound", ...)]
print(model.dimensions)      # [Dimension(name="BindingObjectId", ...), Dimension(name="DrawdownOrder", ...), Dimension(name="EffectiveEndDate", ...)]
print(model.relationships)   # [Relationship(name='...', ...)]
print(prompt)

README

Package narrative and examples

Use documentation after the package clears provenance, ownership, and runnable-path checks.

@pasar6987/sf-revenue-usage

Usage-based billing framework covering entitlement buckets, resource policies, grant renewals, commitment tracking, and ratable summary computation.

Overview

Count
Objects (Datasets)21
Dimensions224
Measures33
Relationships0

Objects

  • BindingObjUsageRsrcPlcy — Represents the policies that are used for the usage resource that's associated with an asset or a binding object.
  • BindingObjectCustomExt — Represents the external or custom target object that's bound to the entitlements granted with the sellable product.
  • BindingObjectRateAdjustment — Represents the rate adjustments of the usage resource associated with the binding object that's used to charge over consumption.
  • BindingObjectRateCardEntry — Represents the rate card entry details of the usage resource associated with the binding object that's used to charge over consumption.
  • TransactionUsageEntitlement — Represents the details of each usage entitlement that's granted with the purchased sellable product, such as quantity and date when the entitlements were granted.
  • UsageBillingPeriodItem — Represents the calculated overages for the usage entitlement and the amount that's charged for these overages.
  • UsageCmtAssetRelatedObj — Represents the relation between an asset for the commitment-based usage product and an asset, account, contract, or custom object.
  • UsageCommitmentPolicy — Represents the set of rules that determines how commitments are applied to a usage resource.
  • UsageEntitlementAccount — Represents the entitlement account details related to the asset that holds the wallet with the granted units.
  • UsageEntitlementBucket — Represents a usage entitlement that's granted with the sellable product.
  • UsageEntitlementEntry — Represents the usage entitlement details, such as the usage consumption, rollovers, and details of expired units for each tenure.
  • UsageGrantRenewalPolicy — Represents a policy about the rollover of a usage grant.
  • UsageGrantRolloverPolicy — Represents a policy about the rollover of a usage grant.
  • UsageOveragePolicy — Represents the set of rules that determine the management of usage resource’s units consumed beyond the granted limit.
  • UsagePrdGrantBindingPolicy — Represents the association of a usage resource's grants with a sellable product.
  • UsageRatableSumCmtAssetRt — Represents the rate that’s calculated and applicable for the usage resource associated with the commitment assets related to an anchor.
  • UsageRatableSummary — Represents the aggregation of the usage summaries that are used to calculate the rate at which the overages are charged.
  • UsageResource — Represents an entitlement granted to a user or party by a provider, such as data storage, computing power, bandwidth, or any other product or service. Additionally, this object is used to represent resources consumed over time.
  • UsageResourceBillingPolicy — Represents information about how the usage is accumulated before rating a usage resource.
  • UsageResourcePolicy — Represents the policies applicable to the usage resource whether it’s associated with a sellable product or not.
  • UsageSummary — Represents the aggregation of the entries in the transaction journal for a usage entitlement for a specified period.

Install

rawctx snapshot-download @pasar6987/sf-revenue-usage

Structure review

Inspect package structure after the usage path is clear

Use the structural review when you need the package footprint, field counts, and model paths before a deeper explorer pass.

Models1
Datasets21
Measures33
Dimensions224
Relationships0
AI context1
models/sf-revenue-usage.osi.yamlAI context included
21 datasets33 measures224 dimensions0 relationships

Topology

Semantic graph

Use the graph last, once provenance, documentation, and the runnable path are already clear.

Semantic Graph

Topology counts appear after the graph loads.

Loading graph

Semantic topology is still loading

Counts and graph nodes appear after the latest published summary has been fetched.