BatchInvoiceApplication Class

Update a batch of invoices from Draft to Posted status for a credit memo application. by using the BatchInvoiceApplication class.

Namespace 

ConnectApi

BatchInvoiceApplication Methods 

These methods are for BatchInvoiceApplication. All methods are static.

triggerInvoiceBatchDraftToPosted(invoiceBatchRunId) 

Update a batch of invoices from Draft to Posted status for a credit memo application.

API Version 

62.0

Requires Chatter 

No

Signature 

public static ConnectApi.InvoiceBatchDraftToPostedResult triggerInvoiceBatchDraftToPosted(String invoiceBatchRunId)

Parameters 

invoiceBatchRunId

Type: String

ID of the invoice batch run record that creates the draft invoices.

Return Value 

Type: ConnectApi.InvoiceBatchDraftToPostedResult

Usage 

You need the Billing Operations User permission set to use this method.

This method posts the draft invoices and changes the status of the invoices from Draft to Posted.