List purchases

Purchases with supplier, date, invoice number, gross amount and what is still unpaid.

GET https://cotlet.dev/api/v1/fiken/purchases

read

Lists registered purchases, newest first. Filter by payment status and by date range to see what you still owe, or to check whether a supplier invoice number is already booked before create_purchase. Each item holds totals only. Pages hold up to 100 purchases.

Parameters

Parameters: list_purchases
NameTypeDescription
paid enum enum all, paid or unpaid. Default: all.
from date date Purchase date on or after this date.
to date date Purchase date on or before this date.
supplier_id integer integer Only purchases from this contact.
limit integer integer 1 to 100. Default: 25.
cursor string string Next page cursor from the previous call.

Request

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

Example response

JSON

{
  "purchases": [
    {
      "purchase_id": 8820090,
      "date": "2026-10-02",
      "supplier": "Kontorbutikken AS",
      "invoice_number": "88213",
      "gross": 640,
      "balance": 640,
      "due_date": "2026-10-16",
      "currency": "NOK",
      "paid": false
    }
  ],
  "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.