Conga Billing, by default, consolidates assets onto a single invoice.

By default, the invoice grouping mechanism performs invoice grouping based on the following hierarchy:

Account Location → Legal Entity →  Payment Term →  Split Invoice by Order flag → Order ID on Billing Schedule →  Currency Code →  Invoice Date Type → Ready for Invoice Date. 

If the value of all the 8 fields is the same, a single invoice is generated. 

However, you have an option to generate separate invoices for each of the Billing Schedules.

Assume that for an asset, Ready for Invoice Date for 4 Billing schedules is 3/20/2016, 4/20/216, 5/20/2016 and 6/20/216 respectively. Create a new Invoice Run and set Process Through Date as 6/30/2016; only 1 invoice will be generated.

You can use Invoice Grouping Callback Class to create 4 invoices. 

To add the custom class

  1. Go to Setup > App Setup > Develop > Apex Classes.
  2. Click New.
  3. Enter the sample callback class code.

  4.  Click Save.


This is just a sample callback class. You may change the code per your requirements.

global class TestInvoiceGroupingCallback
      implements CustomClass.IInvoiceGroupingCallback {
      
      global String getKeyComponentForInvoiceGrouping(CustomClass.Parameters params) {
 
            String key = string.valueOf(params.billingScheduleSO.ReadyForInvoiceDate__c);
            return key;
      }
} 


CODE

To add the name of custom callback class, go to Setup > App Setup > Develop > Custom Settings and click Manage beside Billing Custom Classes. Click Edit for System Properties and enter the name of your custom callback class in Invoice Grouping Callback Class.

If Billing Rule is set to Ready For Billing Date, only one invoice is generated irrespective of this configuration.