Send Emails for Posted Invoices (POST)

Send emails for the posted invoices of a specified invoice batch run ID.

Each email includes a custom message template in the email body and an attachment of the Invoice Document PDF. The email template is based on the user preferences defined on the Billing Profile, Legal Entity, or Billing Settings page.

Special Access Rules 

Enable the Configure Email Delivery Settings toggle from the Billing Settings page from Setup.

Resource 

1/commerce/invoicing/invoice-batch-runs/actions/send-email

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/commerce/invoicing/invoice-batch-runs/actions/send-email

Available Version 

65.0

HTTP Methods 

POST

Request Body for POST 

JSON Example

1{
2  "invoiceBatchRunId": "5IRLT000001SIJB4A4"
3}

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
invoiceBatchRunIdStringID of the invoice batch run record to send emails for the posted invoices of an invoice batch run.Required65.0

Response Body for POST 

Send Email Response