List purchases

Purchase invoices (expenses) with supplier, supplier document number, total and due date, newest first.

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

read

Lists purchases from the Expenses section, newest first. Supplier document number is the number printed by the supplier, not Holded's internal number, so search by it to detect a bill you already recorded. Each item shows whether it is approved or a draft. Pages hold up to 100 purchases; pass next_cursor back as cursor for the next page.

Parameters

Parameters: list_purchases
NameTypeDescription
contact_id string string Only purchases from this supplier.
document_number string string The supplier's own document number.
since date date Only purchases dated on or after this date.
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/holded/purchases \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("holded", "list_purchases")
Node.js
const result = await cotlet.call('holded', 'list_purchases');
CLI
cotlet call holded list_purchases

Example response

JSON

{
  "purchases": [
    {
      "purchase_id": "pu_3b90",
      "supplier": "Fastcloud Hosting",
      "document_number": "88101",
      "date": "2026-09-09",
      "due_date": "2026-10-09",
      "total": 59.29,
      "currency": "EUR",
      "draft": 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.