HarmonizeBilling Class

Update the status of the invoice from Draft to Posted by using the HarmonizeBilling class.

ConnectApi

These methods are for HarmonizeBilling. All methods are static.

Update the status of the invoice from Draft to Posted.

62.0

No

public static ConnectApi.RevenueAsyncRepresentation postDraftInvoices(ConnectApi.InvoiceDraftToPostedInputRequest inputRequest)

inputRequest

Type: ConnectApi.InvoiceDraftToPostedInputRequest

Input representation of the details of the draft invoice that’s posted.

Type: ConnectApi.RevenueAsyncRepresentation

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

This method calls an external tax engine to calculate taxes for the draft invoice, posts the invoice, and updates the related billing schedules and billing periods.