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.

Note: This API is now deprecated. While it may continue to function for existing customers, we strongly recommend using the new APIs available in the Invoice Services section for improved functionality and long‑term support.
APISignature
generateInvoiceLinesSummarystatic (Set<Id> invoiceIds, String invoiceSummaryCriteria, Boolean isAsyncMode)

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);