Loading
Manage Your Billing Processes with Salesforce Billing
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          GL Rules and GL Treatments

          GL Rules and GL Treatments

          General ledger rules define how Salesforce Billing records transactional data to your finance books. (Salesforce Billing Managed Package)

          Required Editions

          Available in: All Salesforce Billing Editions

          GL rules are a type of rule within the Salesforce Billing rules engine. All the products that you plan on billing require a lookup to a GL rule. When you order an invoice, your order products inherit this lookup.

          A GL rule record contains the rule itself and a related list that contains GL treatments. The rule itself allows you to group order products for evaluation under a certain GL rule when you perform your transaction. The GL treatments contain lookups to a credit GL account and a debit GL account. These lookups establish a relationship between your transaction and your GL accounts. When a GL rule evaluates an order product, Salesforce Billing applies one of the rule’s treatments if the order product and treatment have a matching legal entity.

          The relationship between rules and treatments allow you to organize GL rules by the types of treatments they contain. For example, you could create one GL rule containing all the treatments for tracking your billing transaction records. You could then create another GL rule containing the treatments for your revenue transaction records, and a third GL rule for your tax transaction records.

          Your billing, tax, and revenue treatments all contains lookups to GL rules. This way, when you perform a transaction, the resulting transactional records all contain lookups to the rule defined in each treatment.

          • Invoice lines contain a lookup to the GL rule you defined on the billing treatment that evaluated your transaction. Salesforce Billing lists this lookup on the invoice line record as the Billing GL Rule.
          • Invoice lines contain a lookup to the GL rule you defined on the tax treatment that evaluated your transaction. Salesforce Billing lists this lookup on the invoice line record as the Tax GL Rule.
          • Revenue transactions contain a lookup to the GL rule you defined on the revenue recognition treatment that evaluated your transaction. Salesforce Billing lists this lookup on the revenue transaction record as the Revenue Recognition GL Rule.

          This series of lookups allows you to establish a relationship between a transactional object and a GL Account every time you perform a transaction. You can use these relationships for bookkeeping records in external general ledger systems.

          Example
          Example Let’s look at a basic general ledger setup. This setup uses GL accounts to track your billing, revenue, and tax transactional data for both credit and debit transactions in the US and the UK.
          GL Rule nameGL Treatment NameCredit GL Account NameDebit GL Account Name
          Standard Billing GL Rule Billing GL Treatment - US Billing Credit Account - US Billing Debit Account - US
            Billing GL Treatment - UK Billing Credit Account - UK Billing Debit Account - UK
          Standard Revenue GL Rule Revenue GL Treatment - US Revenue Credit Account - US Revenue Debit Account - US
            Revenue GL Treatment - UK Revenue Credit Account - UK Revenue Debit Account - UK
          Standard Tax GL Rule Tax GL Treatment - US Tax Credit Account - US Tax Debit Account - US
            Tax GL Treatment - UK Tax Credit Account - UK Tax Debit Account - UK
           
          Loading
          Salesforce Help | Article