Batch Invoices Draft to Posted Status (POST)

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

Special Access Rules 

To use this API, you need the Billing Operations User permission set.

Resource 

1/commerce/invoicing/invoice-batch-runs/{invoiceBatchRunId}/actions/draft-to-posted

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

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/commerce/invoicing/invoice-batch-runs/{5IRNZ0000000cA94AI}/actions/draft-to-posted

Available Version 

62.0

HTTP Methods 

POST

Path Parameter for POST 

NameTypeDescriptionRequired or OptionalAvailable Version
invoice​Batch​RunIdStringID of the invoice batch run record that creates the draft invoices.Required62.0

Response Body for POST 

Invoice Batch Draft To Posted