You are here:
GL Accounts
Store your accounting journal entries in a general ledger account. Salesforce Billing allows you to define a credit GL account and a debit GL account as endpoints for your entires. Later, you can export your GL accounts and all associated records into an external general ledger bookkeeping system. (Salesforce Billing Managed Package)
Required Editions
| Available in: All Salesforce Billing Editions |
The general ledger account record itself does not store any data outside a GL account number and GL account description. Rather, it acts as an endpoint of lookup relationships that you establish when you create a transactional record. You use these relationships to create a “map” of data that begins with the transaction record and ends with the GL account itself.
Your GL rule and GL treatment define how Salesforce CPQ creates these relationships. The GL treatment contains two fields that look up to GL accounts: The Credit GL Account field and the Debit GL Account field.
Your billing treatments, tax treatments, and revenue recognition treatments all have lookups to a GL rule. This allows you to assign different GL rules, and thus GL accounts, among several treatments on a rule. You can also assign different GL accounts based on the type of rule. This way, you could have different GL accounts for tracking your invoice line generation, tax application, and revenue transaction creation.
Let’s look at how you could use a billing rule and a revenue recognition rule to direct data from a covered product into two different GL accounts. You’ll have one for your invoice lines and one for your revenue transactions.
- You create a GL account to track billing information from your vendor-resold products. The account is named “Vendor Reselling GL Account - Billings.”
- You have a GL rule called “GL - Vendor Reselling.” The rule contains a treatment that defines your Vendor Reselling GL Account - Billings as the treatment’s credit GL account.
- You have a billing rule called “Billing - Vendor Reselling,” which defines the invoice line generation and billing details for your vendor-resold products. This rule contains a billing treatment. The treatment’s Billing GL Rule field looks up to GL - Vendor Reselling.
- When you invoice your order product, Salesforce Billing uses its billing rule to create invoice lines on the invoice record. The invoice lines display the GL rule and GL treatment that your billing treatment applied. You can find these lookups in the Billing GL Rule and the Billing GL Treatment field. This series of lookups lets you define a path from the invoice line to your GL treatment, and then to Vendor Reselling GL Account - Billings.
- You create a GL account to track revenue information from your vendor-resold products. The account is named “Vendor Reselling GL Account - Revenue.”
- You have a GL rule called “GL - Revenue for Vendor Reselling.” The rule contains a treatment that defines your Vendor Reselling GL Account - Revenue as the treatment’s credit GL account.
- You have a revenue recognition rule called “Revenue - Vendor Reselling,” which defines the revenue schedule creation details for your vendor-resold products. This rule contains a revenue recognition treatment. The treatment’s Revenue Recognition GL Rule field looks up to GL - Revenue for Vendor Reselling.
- When you invoice your order product, Salesforce Billing uses its revenue recognition rule to create a revenue schedule and revenue transactions. The revenue transactions contains lookups to the GL rule and GL treatment that your revenue recognition treatment applied. This series of lookups lets you define a path from the revenue transaction to your GL treatment, and then to Vendor Reselling GL Account - Revenue.

