List unpaid sales invoices
Sales invoices that are Sent or Partly paid, with days overdue.
GET https://cotlet.dev/api/v1/procountor/unpaid-sales-invoices
read
Returns sales invoices whose status is Sent or Partly paid, oldest due date first. Paid and Marked paid are never listed. For a Partly paid invoice the open amount is shown next to the total. Pass due_before to see only invoices past a date. Pages hold up to 200 invoices.
Parameters
| Name | Type | Description |
|---|---|---|
| due_before string | string | Only invoices with a due date before this day, YYYY-MM-DD. |
| partner_id string | string | Customer ID from list_partners. |
| limit integer | integer | 1 to 200. Default: 50. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl "https://cotlet.dev/api/v1/procountor/unpaid-sales-invoices?due_before=2026-10-14&limit=50" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("procountor", "list_unpaid_sales_invoices", {"due_before":"2026-10-14","limit":50}) const result = await cotlet.call('procountor', 'list_unpaid_sales_invoices', {"due_before":"2026-10-14","limit":50}); cotlet call procountor list_unpaid_sales_invoices --data '{"due_before":"2026-10-14","limit":50}' Example response
{
"invoices": [
{
"invoice_id": "si_10451",
"number": "10451",
"customer": "Studio Kivi",
"due_date": "2026-10-04",
"days_overdue": 10,
"total": 1240,
"open_amount": 940,
"currency": "EUR",
"status": "partly_paid"
},
{
"invoice_id": "si_10460",
"number": "10460",
"customer": "Nordic Print Oy",
"due_date": "2026-10-07",
"days_overdue": 7,
"total": 800,
"open_amount": 800,
"currency": "EUR",
"status": "sent"
}
],
"next_cursor": null
}