Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Generating Invoice Lines Summary

You can generate the invoice summary line by calling the following API.

Code sample

Set<Id> invoiceIds = new Set<Id>{'a2V3m000007Ly1A', 'a2V3m000007Ly1B', 'a2V3m000007Ly1C'};
Map<String, Object> result = Apttus_Billing.BillingService.generateInvoiceLinesSummary(
 
invoiceIds, // Set of Invoice Ids
 
'AssetLineItemId__r.Apttus_Config2__ChargeType__c' // Criteria Name
 
false); // Boolean flag - If yes then batch mode will be executed otherwise sync mode will run
 
 
System.debug('================'+result);