Send invoice

Email a published invoice to the customer from Bokio.

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

write Confirm

Sends a published invoice by email from Bokio, as a link to a PDF or an attached PDF, to up to four recipients. Bokio can show whether a recipient opened a PDF link. The email goes out under your company name and cannot be recalled. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: send_invoice
NameTypeDescription
invoice_id string required string Invoice ID from list_invoices or create_invoice.
recipients array required array Email addresses, up to four.
attach_pdf boolean boolean true attaches the PDF, false sends a link to it. Default: false.

Request

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

Example response

JSON

{
  "invoice_id": "f2d84b1a-6c30-4e97-8a5b-1d9c7e3a40b2",
  "invoice_number": "2026-1042",
  "status": "sent",
  "recipients": [
    "ekonomi@nordlys.example"
  ],
  "sent_at": "2026-10-14T10:12:00+02: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.