Get invoice

One invoice with its lines, totals, payment status and how often it was sent.

GET https://cotlet.dev/api/v1/teamleader/invoices/{invoice_id}

read

Returns the invoice number, customer, due date, totals with tax, the amount still due, whether it was sent and by which route, the number of reminders and the date of the last send. Peppol invoices are marked, because they cannot be reminded through Peppol.

Parameters

Parameters: get_invoice
NameTypeDescription
invoice_id string required string Invoice ID from list_invoices.

Request

cURL
curl https://cotlet.dev/api/v1/teamleader/invoices/invoice_8c41d2 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("teamleader", "get_invoice", {"invoice_id":"invoice_8c41d2"})
Node.js
const result = await cotlet.call('teamleader', 'get_invoice', {"invoice_id":"invoice_8c41d2"});
CLI
cotlet call teamleader get_invoice --data '{"invoice_id":"invoice_8c41d2"}'

Example response

JSON

{
  "invoice_id": "2aa4a6a9-9ce8-4851-a9b3-26aea2ea14c4",
  "invoice_number": "2026 / 214",
  "customer": "Northwind Studio",
  "status": "outstanding",
  "invoice_date": "2026-09-22",
  "due_on": "2026-10-06",
  "days_overdue": 14,
  "total_excl_tax": {
    "amount": 1033.06,
    "currency": "EUR"
  },
  "amount_due": {
    "amount": 1250,
    "currency": "EUR"
  },
  "sent_via": "email",
  "reminders_sent": 1,
  "last_sent_at": "2026-10-13T08:00:00Z",
  "web_url": "https://focus.teamleader.eu/invoice_detail.php?id=2aa4a6a9-9ce8-4851-a9b3-26aea2ea14c4"
}

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.