HarmonizeBilling Class

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

Namespace 

ConnectApi

HarmonizeBilling Methods 

These methods are for HarmonizeBilling. All methods are static.

postDraftInvoices(inputRequest) 

Update the status of the invoice from Draft to Posted.

API Version 

62.0

Requires Chatter 

No

Signature 

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

Parameters 

inputRequest

Type: ConnectApi.InvoiceDraftToPostedInputRequest

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

Return Value 

Type: ConnectApi.RevenueAsyncRepresentation

Usage 

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.