The Billing Rules feature lets MSP administrators configure how cloud costs are presented to their customers. Using Billing Rules, an MSP admin can apply a margin, markup, or discount on top of the actual cloud spend for any customer across AWS, Azure, and GCP accounts. The adjusted price is what the customer sees; the MSP admin retains visibility into both the original cost and the adjusted cost at all times.
Billing Rules are created through a three-step process: Basic Details, Pricing Rules, and Assign Accounts. Once a billing rule is saved and activated, the Pricing Rules apply to the assigned accounts, and the adjusted cost is reflected in the customer's view across CloudSpend.

Cloud resellers and MSPs often have extra costs, like support, tool, procurement, and margin costs, that are not included in raw cloud bills. Without a built-in pricing layer, these adjustments have to be managed outside the platform, which adds manual effort and reduces visibility.
Billing Rules solve this by:
Understanding the following terms is essential before configuring a Billing Rule. These definitions apply specifically to how CloudSpend uses each term.
Pricing Rule
A Pricing Rule is a single configuration that tells CloudSpend how to modify the original cloud cost before presenting it to a customer. Each rule has four settings: a Rule Type (what kind of adjustment), a Cost Type (what cost basis to apply it to), a Value Type (percentage or fixed amount), and a Value (the number).
A profile can have up to three Pricing Rules. When there are multiple rules, they run in the order they were created. The Calculation Mode determines whether each rule feeds into the next (Compounding) or operates independently on the original cost (Basic).
Rule Type
The Rule Type defines how the base cost is adjusted before it is shown to the customer. Margin, markup, and discount are not independent. They are typically used together to build the final price in a step by step manner.
Think of it as a pricing flow. You start with the base cost, add profit, increase it if needed, and then optionally reduce it for specific cases.
How margins, markups, and discounts work together
If you look at the full flow in one go, you start with a base cost of $100. You first apply the margin to make sure you are profitable, which brings it to $200. Then you add a markup to cover additional costs, which increases it to $260. Finally, you apply a small discount, bringing the final customer price to $247.
So in simple terms:
Base cost > Add margin > Add markup > Apply discount > Final customer price
This way, you stay in control of pricing while still having flexibility where needed.
Calculation mode
The calculation mode defines how multiple Pricing Rules are applied when you add more than one Pricing Rule.
There are two modes: Compounding and Basic.
Compounding
In Compounding mode, Pricing Rules are applied in sequence, where each rule builds on the result of the previous one. Instead of applying all rules on the original base cost, the system updates the cost after every Pricing Rule and uses that updated value for the next Pricing Rule. This creates a layered pricing flow, where each rule influences the final outcome.
You can think of it as a step-by-step calculation:
Because each step depends on the previous one, the final adjusted cost reflects the combined effect of all rules in order. Compounding is useful when you want your pricing to behave in a realistic way, where margin, markup, and discount are applied progressively rather than independently.
Basic
In Basic mode, all Pricing Rules are applied independently. The cost is not updated after each rule. Instead, every rule is calculated separately based on the selected Cost Type, so one rule does not affect how another is calculated.
Think of it like this:
There is no step-by-step calculating. Each rule works in isolation, and the effect of one rule does not carry over to the next.
Because of this, the final result does not reflect a layered pricing flow. Instead, each adjustment is calculated separately based on the chosen Cost Type.
Basic mode is useful when you want simple and consistent calculations, where all adjustments are applied independently without any dependency between rules.
Value type
Cost Type
The Cost Type determines to which cost basis the Pricing Rule applies. All four options are available in the Cost Type drop-down list during the Pricing Rules step.
Note: Cost Type locking in Compounding mode: The Cost Type you choose in Rule 1 is locked for all subsequent rules in the same profile. Rules 2 and 3 cannot have a different Cost Type. This ensures the compounding chain operates on a consistent cost basis.
When you add a second or third rule to a profile, the available Rule Types are constrained by what has already been applied.
After adding a Margin rule as Rule 1, the options available for Rule 2 are Markup and Discount. After adding a Markup rule as Rule 2, the only option available for Rule 3 is Discount.
This means the valid rule sequence is: Margin, Markup, Discount. Not all three rules are required, but the order cannot be changed once a Rule Type has been selected for Rule 1.
Tiered customer pricing based on contract
An MSP manages three customers with different contract terms. Customer A is on a premium plan (20% margin), Customer B is on a standard plan (12% markup), and Customer C is on a pay-as-you-go plan with a 5% discount. The MSP creates three separate billing rules, one per customer and assigns each profile to the corresponding customer's accounts.
Tag-scoped pricing for multi-environment accounts
A customer has production and development accounts under the same AWS organization. The MSP applies a 15% markup to production accounts but applies a 10% discount to development accounts to incentivize lower spend. By configuring tags (for example, environment: production and environment: development ) within the same profile, the MSP applies different effective pricing to each environment without creating separate profiles.
Time-bound promotional discount
An MSP runs a six-month onboarding promotion for a new customer: zero markup for the first three months, then a 10% markup from month four onward. The MSP creates an initial profile with no markup rules and sets Effective To to the end of month three. A second profile with the 10% markup rule is set to start from month four using Effective From, so the transition happens automatically.
Amortized cost billing for Reserved Instance customers
A customer purchased Reserved Instances with upfront payments. The MSP wants billing to reflect a smooth monthly cost rather than a spike in the month of purchase. By selecting Amortized Usage Cost as the Cost Type, the billing rule spreads the reservation fee evenly across the commitment period, making monthly invoices consistent and predictable.
MSP internal margin tracking
The MSP admin uses the Accrued Data view in Licensing to reconcile the month's billings. By switching between Original Cost and Adjusted Cost for each customer, the admin can immediately see the total margin earned per customer without exporting data or running external calculations.
To configure a Billing Rule, go to Admin > General > Billing Rules from your MSP account. Click Add Pricing Rule in the top-right corner of the Billing Rules list page, and complete the steps below:
Step 1: Basic Details

Step 2: Pricing Rules

Step 3: Assign Accounts

Once a profile is submitted, it appears in the Billing Rules page with a status of Active. The Pricing Rules go into effect on the Effective From date.
What the customer sees: When logged in as a customer, all cost figures displayed, such as previous month, current month to date, and forecast, reflect the adjusted cost across CloudSpend. The customer has no access to the original cost.

What the MSP admin sees: The MSP admin can switch between the Actual Cost and Adjusted Cost across CloudSpend. Selecting Adjusted Cost shows the customer-facing figures; selecting Actual Cost shows the cloud provider's original charge.

As an MSP admin, you can view the accrued licensing data. This view shows a month-by-month breakdown of the billed cost with two switchable perspectives:
The difference between these two figures represents the MSP's margin, markup, or net pricing adjustment for that period.

To view the accrued licensing data:
The following examples use MSP pricing scenarios to illustrate how Billing Rules produce adjusted costs.
Example 1: Single margin rule
An MSP wants to keep a 50% margin on all GCP costs for a customer. Let's say, the base cost here is $1,000. With a 50% margin, the selling price needs to be adjusted so that half of it is margin.
Calculation:
So the customer sees $2,000, while the MSP admin can still view both the original $1,000 and the adjusted value.
Example 2: Compounding margin + markup
In this case, the MSP applies two rules one after the other. First, a 20% margin, then a 10% markup. Since this is Compounding mode, the second rule builds on the result of the first.
For instance, if the starting cost is $500, after applying the 20% margin, the cost becomes $625.
Calculation :
Then a 10% markup is added on top of that. So, it is calculated as:
So the customer sees $687.50. The difference between this and the original cost, i.e., $187.50, is what the MSP earns.
Example 3: Full three-rule compound (margin + markup + discount)
Here, all three Rule Types are used together. A margin is applied first, then a markup, and finally a small discount is passed back to the customer.
Consider that the base cost starts at $800. After applying a 25% margin, it increases to $1,066.67.
It is calculated as:
Now, a 15% markup is added, taking it to $1,226.67. So, the calculation looks like:
Finally, a 5% discount is applied, which brings the final price down to $1,165.33. This is calculated as:
This is the amount the customer sees. Compared to the original cost, the MSP retains $365.33.
Example 4: Fixed amount markup
Here, instead of working with percentages, the MSP simply adds a fixed service fee on top of the cost. Let's say, the base cost is $320.
In this case, the MSP wants to charge an additional $50 as a flat fee, regardless of how much the customer uses.
So rather than scaling with the cost, this fee stays constant every time. This is calculated as:
That means the customer is billed $370 in total.
This approach is useful when the MSP wants to recover a standard service or support cost that doesn’t depend on usage.
Things to note: