List invoices

Invoices filtered by customer, subscription, status or date, newest first.

GET https://cotlet.dev/api/v1/chargebee/invoices

read

Returns invoices with total, amount paid, amount due and dunning status, newest first. Amounts are in the smallest currency unit, so 29900 is $299.00. Overdue invoices are the ones with status payment_due or not_paid, so pass both. Pages hold up to 100 invoices; pass next_cursor back as cursor for the next page.

Parameters

Parameters: list_invoices
NameTypeDescription
customer_id string string Only this customer's invoices.
subscription_id string string Only this subscription's invoices.
status enum enum paid, posted, payment_due, not_paid, voided or pending. Several values may be sent comma separated.
dunning_status enum enum in_progress, exhausted, stopped or success.
date_after date date Only invoices dated after this day.
date_before date date Only invoices dated before this day.
limit integer integer 1 to 100. Default: 10.
cursor string string Next page cursor from the previous call.

Request

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

Example response

JSON

{
  "invoices": [
    {
      "invoice_id": "INV-1042",
      "customer_id": "cus_9s2kQw",
      "status": "paid",
      "total": 29900,
      "amount_paid": 29900,
      "amount_due": 0,
      "date": "2026-10-01",
      "due_date": "2026-10-01",
      "dunning_status": null,
      "currency_code": "USD"
    }
  ],
  "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.