---
schema_version: "1"
id: a78e1774d1228ebd967f07a1fa3f5954a5fdce07437908a05756284194324034
title: Communications | Get Invoice Charges
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ai/264-0-0/agent_ref_get_invoice_charges.md
canonical_url: https://help.salesforce.com/s/articleView?id=ai.agent_ref_get_invoice_charges.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a514dd5667e446bec781b0fd684c9be8b6c877d647c2280147b9abd1361ee074
description: Fetches the invoice charges for a given invoice to clarify billing inquiries or explain specific charges.
products:
  - Agentforce
  - Cross Cloud
release: "264"
---
# Communications | Get Invoice Charges

Fetches the invoice charges for a given invoice to clarify billing inquiries or explain specific charges.

### 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>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with the Agentforce for Communications add-on or included in Agentforce 1 Communications Edition. Requires each user to have the Agentforce for Communications add-on to access the action.</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="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d184161e70">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d184161e70 ">To use agent actions:</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d184161e70 ">Einstein for Communications</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" colspan="2" style="vertical-align:top;" headers="d184161e70 ">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;">GetInvoiceCharges</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;">Prompt</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;">Get Invoice Charges</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;">Yes</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.comms_agentforce_for_communications_billing_resolution.htm&amp;language=en_US" target="_blank">Agentforce for Communications Billing Resolution</a></td></tr></tbody></table>

## Get Invoice Charges and Prompt Templates

This agent action calls the Get Invoice Charges prompt template for extracting all the charges with explanation associated with a specific invoice number using a list of invoice line items, such as plan name, service name, and their corresponding amount.

## Guidelines and Considerations

- This action is a template containing example information. Customize it to your use case.