v1
latestOpenAPI 3.1.02026-07-228956435.8 KBList invoices
Lists the invoices of your organization for the live or test mode of the API key used, sorted by creation date with the most recent first. Use subscription to narrow the list to the invoices generated by a single subscription, and the cursor parameters to paginate through the results.
Query parameters
id of a subscription. If present, the response contains only the invoices generated by that subscription.
Maximum number of invoices to return per page, between 1 and 300. Defaults to 30.
Cursor for pagination. An invoice id that defines your place in the list: the response contains the invoices that come after that invoice. Cannot be combined with ending_before.
Cursor for pagination. An invoice id that defines your place in the list: the response contains the invoices that come before that invoice. Cannot be combined with starting_after.
Response
List of invoices for the current mode. The Link response header contains the URL of the next page, when there is one.
Example response
[
{
"id": "inv_2bVdWxLpzXq8RkNcM3JtUv9AhTe",
"hosted_invoice_url": "https://acme.billing.fintoc.com/invoices/inv_2bVdWxLpzXq8RkNcM3JtUv9AhTe",
"attempt_count": 1,
"created_at": "2026-05-01T12:00:00Z",
"currency": "CLP",
"customer": "cus_2bVdWyTnGq4PfLs7DkXjRm0CwIo",
"default_payment_method": "pm_2c4mDhAbCdEfGhIjKlMnOpQrStu",
"lines": [
{
"id": "il_2bVdX0PqJs6RhNu9FmZlTo2EyKq",
"amount": 30000,
"currency": "CLP",
"description": "A premium plan",
"name": "Premium Plan",
"period_end": "2026-06-01T00:00:00Z",
"period_start": "2026-05-01T00:00:00Z",
"quantity": 1
}
],
"mode": "live",
"next_payment_attempt_at": "2026-05-02T12:00:00Z",
"payments": [
{
"amount": 30000,
"currency": "CLP",
"payment_intent": "pi_2bVdX2RsLu8TjPwBHoBnVq4G0Ms",
"status": "succeeded"
}
],
"status": "draft",
"subscription": "sub_2bVdWzKfHr5QgMt8ElYkSn1DxJp",
"total": 30000
}
]