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

Parameters: list_unpaid_sales_invoices
NameTypeDescription
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
curl "https://cotlet.dev/api/v1/procountor/unpaid-sales-invoices?due_before=2026-10-14&limit=50" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("procountor", "list_unpaid_sales_invoices", {"due_before":"2026-10-14","limit":50})
Node.js
const result = await cotlet.call('procountor', 'list_unpaid_sales_invoices', {"due_before":"2026-10-14","limit":50});
CLI
cotlet call procountor list_unpaid_sales_invoices --data '{"due_before":"2026-10-14","limit":50}'

Example response

JSON

{
  "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
}

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.