List documents

Invoices, quotes, order confirmations and delivery notes, filtered by type and status.

GET https://cotlet.dev/api/v1/lexware-office/documents

read

Lists sales documents from the Belege list, newest first, with number, customer, date, gross total and status. Filter by type and status; overdue returns open invoices past their due date. Use the IDs with get_document, finalize_document or send_document.

Parameters

Parameters: list_documents
NameTypeDescription
type enum enum invoice, quotation, order_confirmation or delivery_note. Default: invoice.
status enum enum draft, open, overdue, paid or voided. Quotations also accept accepted and rejected. Default: all.
contact_id string string Only documents for this contact.
from_date string string Earliest document date, YYYY-MM-DD.
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/lexware-office/documents \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("lexware-office", "list_documents")
Node.js
const result = await cotlet.call('lexware-office', 'list_documents');
CLI
cotlet call lexware-office list_documents

Example response

JSON

{
  "documents": [
    {
      "document_id": "d_9c31be",
      "type": "invoice",
      "number": "RE1031",
      "contact": "Nordlicht Design GmbH",
      "date": "2026-09-02",
      "due_date": "2026-09-16",
      "total_gross": 1130.5,
      "currency": "EUR",
      "status": "overdue"
    },
    {
      "document_id": "d_7a02f4",
      "type": "invoice",
      "number": "RE1034",
      "contact": "Becker Consulting",
      "date": "2026-09-05",
      "due_date": "2026-09-19",
      "total_gross": 2380,
      "currency": "EUR",
      "status": "overdue"
    }
  ],
  "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.