List draft invoices

Draft invoices with customer, date, line count and totals.

GET https://cotlet.dev/api/v1/e-conomic/draft-invoices

read

Returns draft invoices that are not booked yet, newest first. Each draft shows its customer, date, number of lines and totals, so you can see which are complete. Drafts are still editable.

Parameters

Parameters: list_draft_invoices
NameTypeDescription
customer_number integer integer Only drafts for this customer.
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/e-conomic/draft-invoices \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("e-conomic", "list_draft_invoices")
Node.js
const result = await cotlet.call('e-conomic', 'list_draft_invoices');
CLI
cotlet call e-conomic list_draft_invoices

Example response

JSON

{
  "drafts": [
    {
      "draft_invoice_number": 118,
      "customer_number": 14,
      "customer_name": "Nordlys ApS",
      "date": "2026-10-31",
      "lines": 2,
      "total_net": 1200,
      "currency": "DKK"
    },
    {
      "draft_invoice_number": 121,
      "customer_number": 15,
      "customer_name": "Havn Design",
      "date": "2026-10-31",
      "lines": 0,
      "total_net": 0,
      "currency": "DKK"
    }
  ],
  "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.