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
| Name | Type | Description |
|---|---|---|
| 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 https://cotlet.dev/api/v1/e-conomic/draft-invoices \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("e-conomic", "list_draft_invoices") const result = await cotlet.call('e-conomic', 'list_draft_invoices'); cotlet call e-conomic list_draft_invoices Example response
{
"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
}