---
schema_version: "1"
id: 2c5c8dc246050f77fb6cd56c8895d4d3c13e495b68baa4f4f824df635a6c5dc7
title: Close Legal Entity Accounting Periods
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/billing_legal_entity_accounting_periods_close.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.billing_legal_entity_accounting_periods_close.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f459a3edd359b67935bf3a7b5b5e39231e1ad56d2ddfc388f73f32299a2f833d
description: Maintain financial data integrity and accurate reporting by finalizing all transactions and closing the legal entity accounting periods at the end of their related accounting periods.
products:
  - Revenue Cloud
release: "264"
---
# Close Legal Entity Accounting Periods

Maintain financial data integrity and accurate reporting by finalizing all transactions and closing the legal entity accounting periods at the end of their related accounting periods.

### 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 with
              Revenue Management (formerly Revenue Cloud)</td>

          </tr>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>The feature is available for the Invoice and Credit memo records, and their related
                records with <a href="https://help.salesforce.com/s/articleView?id=ind.revenue_licenses_areas_and_features.htm&amp;release=264.0.0&amp;type=5">the Revenue Cloud Advanced license or the Revenue Cloud Billing
                  license</a>. </p>
              <p style="margin-bottom:0;">This feature is available for the Payment, Refund, and Debit Memo records,
                and their related records with <a href="https://help.salesforce.com/s/articleView?id=ind.revenue_licenses_areas_and_features.htm&amp;release=264.0.0&amp;type=5">the Revenue Cloud Billing license</a>. Contact your Salesforce account
                executive for more information.</p>
            </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="d124112e83">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d124112e83 ">To close legal entity accounting periods:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d124112e83 ">
              <p>Accounts Receivables Admin permission set</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Data Pipelines Base User permission set</p>
            </td>

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

Before closing the legal entity accounting period, make sure these settings are configured in your Salesforce org.

- [Enable Data Pipelines](https://help.salesforce.com/s/articleView?id=ind.dpe_setup.htm&language=en_US)
- Turn on Create Transaction Journals for Transactions feature
- Turn on Create Transaction Journals for Foreign Exchange Gains or Losses feature, and select the required general ledger accounts
- Select a default DPE definition to close legal entity accounting period
- If required, enable [Multiple currencies](https://help.salesforce.com/s/articleView?id=sales.admin_currency.htm&language=en_US) and set the [dated exchange rates](https://help.salesforce.com/s/articleView?id=sales.administration_editing_effective_dated_exchange_rates.htm&language=en_US)
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-revenue-264-0-0-production-enus/91ca99c6-d5c8-4986-b961-c6b7801e0d0d/images/icon_note.png)
    
    Note If your Billing Admin deletes a dated exchange rate entry, Salesforce recommends [running data sync manually](https://help.salesforce.com/s/articleView?id=analytics.bi_integrate_run_replication.htm&language=en_US) before closing the legal entity accounting period.

See [Set Up Financial Accounting Features](https://help.salesforce.com/s/articleView?id=ind.billing_setup_financial_accounting_features.htm&language=en_US).

1. Open the record of the legal entity accounting period that you want to close.
2. Click **Close Legal Entity Accounting Period** and confirm that you want to close it.

After clicking Close Legal Entity Accounting Period, three data processing engine jobs run in a sequence. See [Legal Entity Accounting period Closure Procedure](https://help.salesforce.com/s/articleView?id=ind.billing_legal_entity_accounting_periods_close_result.htm&release=264.0.0&type=5 "When you close legal entity accounting period, the system runs three Data Processing Engine (DPE) definitions in a sequence.").

- **[Legal Entity Accounting Period Closure Procedure](https://help.salesforce.com/s/articleView?id=ind.billing_legal_entity_accounting_periods_close_result.htm&release=264.0.0&type=5)**  
    When you close legal entity accounting period, the system runs three Data Processing Engine (DPE) definitions in a sequence.
- **[Example: Automatically Capture Unrealized Foreign Exchange Unrealized Gains or Losses](https://help.salesforce.com/s/articleView?id=ind.billing_fgn_exch_unrealized_gains_losses_use_case.htm&release=264.0.0&type=5)**  
    Explore an example to understand how to a set up general ledger accounts on the Salesforce org's default general ledger accounts and create dual transaction journals and reversal transaction journals to capture unrealized gains or losses amount of the invoices during legal entity accounting period closure.