Using a Custom Price Book to Exclude Specific AWS Accounts from Partner Billing Rules
search cancel

Using a Custom Price Book to Exclude Specific AWS Accounts from Partner Billing Rules

book

Article ID: 438291

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

If a customer has multiple billing blocks along with a configured billing rule, it may lead to charges being applied more than once. This occurs because partner billing rules are applied individually to each billing block created under the customer’s PGB.

Cause

  1. Log in to CloudHealth and navigate to the Partner Tenant for the channel customer.

  2. Go to Partner > Customers > List, search for the channel customer and review the billing blocks configured.

  3. If multiple billing blocks are present, please verify the billing rule by navigating to Partner > Partner Billing > Billing Rules. This will help confirm whether charges are being applied twice as a result of the billing rule configuration.

  4. In this case, it occurred because, when creating a billing rule, charges can be applied either per billing family or per account. Since the customer selected the per billing family option, the charges were applied twice due to the presence of two billing blocks.

Resolution

  1. For example: To restrict the billing rule to a specific block, the customer must create a Custom Price Book. Custom Price Books allow customers to define individualized discounts, rates, and adjustments for specific accounts.
  2. CPB format -
    <?xml version="1.0" encoding="UTF-8" ?>
    <CHTBillingRules createdBy="[email protected]" date="YYYY-MM-DD">
      <Comment>
        Remove PLES charges from Payer Account: "xyz"
    </Comment>
        <RuleGroup startDate="YYYY-MM-DD" payerAccounts="xyz">
        <BillingRule name="Remove PLES Charges" includeDataTransfer="true">
          <BasicBillingRule billingAdjustment="0.0" billingRuleType="fixedRate" />
          <Product productName="ANY">
            <LineItemDescription contains="PLES Charge" />
          </Product>
        </BillingRule>
      </RuleGroup>
    </CHTBillingRules>
  3. If customer wants to make changes to historical data then PGB re-run is required.