Creates a new message for an invoice in Harvest. Use this to send invoice notifications to clients, create draft messages, or change invoice states (close/reopen). Requires a valid invoice ID. The invoice must be in the appropriate state for the requested event_type.
bodystringThe message body
subjectstringThe message subject
thank_youbooleanIf true, send a thank you message email
attach_pdfbooleanIf true, attach a PDF of the invoice to the message email
event_typestringInvoice event type controls message sending and invoice state changes. Options: null/'send' - sends the message (invoice must be draft); 'draft' - creates message without sending; 'close' - closes invoice as written off (invoice must be open); 're-open' - reopens closed invoice…
invoice_idRequiredintegerID of the invoice to message
recipientsarrayList of message recipients. If omitted and send_me_a_copy is false, the message will have no recipients and the request may fail. Required when event_type is 'send' or omitted (null) and send_me_a_copy is false.
send_me_a_copybooleanIf true, send a copy of the message email to the current user
include_link_to_client_invoicebooleanDeprecated. Ignored if true; if false, clears payment options on the invoice.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.