Send invoice

Email an invoice, or a reminder for it, to the contacts that receive it.

POST https://cotlet.dev/api/v1/invoice-ninja/invoices/{invoice_number}

write Confirm

Emails the invoice to the contacts ticked to receive it on that invoice and returns who got it. A draft becomes Sent: the client balance goes up by the invoice balance, the invoice appears in the client portal and reminders start counting against the due date. A Sent invoice can be sent again. Template is invoice by default, or reminder1, reminder2, reminder3 or reminder_endless to use the matching template from Settings > Templates & Reminders. A late fee is added only if your reminder settings define one. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: send_invoice
NameTypeDescription
company string string Company name, for accounts with several companies. Default: the company open when you signed in.
invoice_number string required string Invoice number from list_invoices or create_invoice, e.g. INV-0038.
template enum enum invoice, reminder1, reminder2, reminder3 or reminder_endless. Default: invoice.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/invoice-ninja/invoices/INV-0038 \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template":"reminder1"}'
Python
result = client.call("invoice-ninja", "send_invoice", {"invoice_number":"INV-0038","template":"reminder1"})
Node.js
const result = await cotlet.call('invoice-ninja', 'send_invoice', {"invoice_number":"INV-0038","template":"reminder1"});
CLI
cotlet call invoice-ninja send_invoice --data '{"invoice_number":"INV-0038","template":"reminder1"}'

Example response

JSON

{
  "invoice_number": "INV-0038",
  "status": "sent",
  "template": "reminder1",
  "sent_to": [
    "ap@brightwave.example"
  ],
  "sent_at": "2026-10-14T09:00:00+02:00",
  "balance": 1800
}

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.