Post Draft Invoice Batch Run Action
Update the status of a batch of invoices from Draft to Posted for a credit memo application.
This action uses the ID of the invoice batch run record to find draft invoices from the batch and to post the draft invoices to an invoice record. This action is available in API version 62.0 and later.
The Post Draft Invoice Batch Run action is available in Enterprise, Unlimited, and Developer Editions where Billing is enabled. To use this action, you need the Billing Operations User permission set.
URI: /services/data/v68.0/actions/standard/postDraftInvoiceBatchRun
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a placeholder for your OAuth access token.
| Input | Type | Description |
|---|---|---|
invoiceBatchRunId | string | Required. ID of the invoice batch run record that created the draft invoices. |
| Output | Type | Description |
|---|---|---|
invBatchDraftToPostedRunId | string | ID of the record that’s created to track the batch process of posting draft invoices. These draft invoices are associated with the parent invoice batch run record. |
POST
This example shows a sample request for the Post Draft Invoice Batch Run action.
This example shows a sample response for the Post Draft Invoice Batch Run action.