Update the status of an invoice from Draft to Posted for a credit memo application.
This action uses the ID of the draft invoice and triggers an asynchronous process to post the invoice. This action is available in API version 62.0 and later.
Special Access Rules
The Post Draft Invoice 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.
Where TOKEN is a placeholder for your OAuth access token.
Inputs
Input
Type
Description
correlationId
string
Splunk correlation ID to track the messages that are related to the request and are logged in Splunk by the different services involved in the request. If the ID isn’t specified, the service creates a random Universally Unique Identifier (UUID).
invoiceId
string
Required. ID of the Draft invoice to be posted.
Outputs
Output
Type
Description
requestIdentifier
string
UUID that’s used to track the status of the asynchronous action.
statusUrl
string
URL that’s used to check the status of the API request.
Example
POST
This example shows a sample request for the Post Draft Invoice action.