Mark Sent with API?

Is there a way to mark an invoice as sent (not emailed) with the API? We have a workflow where we keep an invoice as draft until we receive a payment from escrow. At this point we add a payment to the invoice with the API, which doesn’t work if the invoice is in draft. We have been manually using “mark sent” on the invoice to make it live.

The only way I can see to do it is remove the email, email the invoice, then add the email back to the contact.

Hi,

You can use the bulk action route, the action would be mark_sent

Here’s an example: Auto send email when invoice is created - #2 by david

Awesome, thanks @hillel !