---
schema_version: "1"
id: 586146ae90a12b87c05822f2ce95de5d430ba45bc7e11177e58906b60bf8b83e
title: Revenue | Apply Discount To Quote Line Item
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_rev_cloud_apply_discount_to_quotelineitem.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_rev_cloud_apply_discount_to_quotelineitem.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 263d5a1358fe4c2c763ed5c7c2b0b2e8f63a6a00f155f90f6e708df1ee43d784
description: Applies a discount, expressed as a percentage, to a line item on a Revenue Cloud quote.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Revenue | Apply Discount To Quote Line Item

Applies a discount, expressed as a percentage, to a line item on a Revenue Cloud quote.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions of Revenue Cloud Advanced and Foundations.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="text-align:center;vertical-align:top;" id="d126968e67">User Permissions Needed</th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126968e70">&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d126968e67 d126968e70 ">See <a href="https://help.salesforce.com/s/articleView?id=ai.agent_actions_common_perms.htm&amp;type=5&amp;language=en_US" target="_blank">Common User Access for Standard Agent
              Actions</a>.</td>

        </tr>
      </tbody>
    </table>

## Action Details

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small "><colgroup><col style="width:50%"> <col style="width:50%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">API Name</td><td class="slds-cell-wrap" style="vertical-align:top;">ApplyDiscountToQLI</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action Type</td><td class="slds-cell-wrap" style="vertical-align:top;">Flow</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Reference Action</td><td class="slds-cell-wrap" style="vertical-align:top;">Apply Discount To Quote Line Item</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Does this action execute one or more prompt templates?</td><td class="slds-cell-wrap" style="vertical-align:top;">No</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Required Setup</td><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=ind.rev_agent_setup.htm&amp;language=en_US" target="_blank">Set Up Agentforce for Revenue</a></td></tr></tbody></table>

## Guidelines and Considerations

- If there are multiple quote line items with the same name, the action applies the discount to the first matching line item in Transaction Line Editor.
- The agent can only process discounts that are expressed as a percentage.
- The action doesn't support manual discounts.
- The agent doesn't verify if a quote line item is price-inclusive. However, we recommend that you don't add discounts to child products within a price-inclusive bundle.