Email an invoice

Email an invoice to a client as a PDF or a link.

POST https://cotlet.dev/api/v1/aroflo/invoices/{invoice_id}/email

write Confirm

Sends the email from your AroFlo account and returns who it went to and when. The invoice is saved first, because AroFlo needs a saved invoice to email. It usually follows approve_invoice. A sent email cannot be recalled. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: email_invoice
NameTypeDescription
invoice_id string required string Invoice ID from list_invoices.
to string required string Recipient email address.
format string string pdf attaches the invoice, link adds a link to view it online. Defaults to pdf.
message string string Text above the invoice in the email.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/aroflo/invoices/inv_2041/email \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to":"accounts@harborcafe.example","format":"pdf"}'
Python
result = client.call("aroflo", "email_invoice", {"invoice_id":"inv_2041","to":"accounts@harborcafe.example","format":"pdf"})
Node.js
const result = await cotlet.call('aroflo', 'email_invoice', {"invoice_id":"inv_2041","to":"accounts@harborcafe.example","format":"pdf"});
CLI
cotlet call aroflo email_invoice --data '{"invoice_id":"inv_2041","to":"accounts@harborcafe.example","format":"pdf"}'

Example response

JSON

{
  "invoice_id": "inv_2041",
  "invoice_no": "2041",
  "status": "Approved",
  "sent_to": "accounts@harborcafe.example",
  "format": "pdf",
  "sent_at": "2026-10-23T09:12:00+11:00"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.