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
| Name | Type | Description |
|---|---|---|
| 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 https://cotlet.dev/api/v1/e-conomic/unpaid-invoices \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("e-conomic", "list_unpaid_invoices") const result = await cotlet.call('e-conomic', 'list_unpaid_invoices'); cotlet call e-conomic list_unpaid_invoices Example response
{
"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
}