List unpaid invoices

Booked invoices with a remaining balance, with due date and days overdue.

GET https://cotlet.dev/api/v1/e-conomic/unpaid-invoices

read

Returns booked invoices that still have an unpaid amount. Choose all unpaid, only overdue or only not yet due. Each row has the remaining amount, due date and a PDF link for get_invoice_pdf. Sorted by due date, oldest first.

Parameters

Parameters: list_unpaid_invoices
NameTypeDescription
status string string unpaid, overdue or not_due. Default: unpaid.
customer_number integer integer Only invoices for this customer.
limit integer integer 1 to 100. Default: 50.
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/e-conomic/unpaid-invoices \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("e-conomic", "list_unpaid_invoices")
Node.js
const result = await cotlet.call('e-conomic', 'list_unpaid_invoices');
CLI
cotlet call e-conomic list_unpaid_invoices

Example response

JSON

{
  "invoices": [
    {
      "invoice_number": 1038,
      "customer_number": 14,
      "customer_name": "Nordlys ApS",
      "remaining": 1500,
      "currency": "DKK",
      "due_date": "2026-09-30",
      "days_overdue": 14
    },
    {
      "invoice_number": 1040,
      "customer_number": 15,
      "customer_name": "Havn Design",
      "remaining": 625,
      "currency": "DKK",
      "due_date": "2026-10-20",
      "days_overdue": 0
    }
  ],
  "next_cursor": null
}

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.