Beta

List invoices

​

Returns a paginated list of invoices for your account. Invoices are created by billing flows such as subscription creation, subscription renewal, and dunning retries.

Related guides: Invoices, Subscriptions, and Webhooks

Query Parameters

  • Maximum number of invoices to return.

  • Opaque cursor for pagination. Use the last_key value from the previous response to retrieve the next page.

  • Only return invoices for this Customer ID.

  • Only return invoices for this Subscription ID.

  • Only return invoices with this collection status.

  • Pass customer to return the full Customer object in the customer field instead of only the customer ID.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/v1/invoices
curl 'https://api.paypercut.io/v1/invoices?last_key=eyJsYXN0SWQiOiIyMTIxMDAyMWMyODU1MDA3ZWZhMmQ2NTcwMTgiLCJsYXN0Q3JlYXRlZEF0IjoiMjAyNC0wMS0xNVQxMDozMDowMFoifQ%3D%3D' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
Invoice list

Example response from GET /v1/invoices.

{
  "items": [
    {
      "id": "01KA9TBINVOICE123456789",
      "object": "invoice",
      "customer": "01KA9SXYZ123456789ABCDEFGH",
      "status": "paid",
      "created": "2026-03-01T00:00:00Z",
      "updated": "2026-03-01T00:00:12Z",
      "livemode": true,
      "billing_reason": "subscription_cycle",
      "collection_method": "charge_automatically",
      "currency": "USD",
      "amount_due": 2000,
      "amount_paid": 2000,
      "amount_remaining": 0,
      "period": {
        "start": "2026-03-01T00:00:00Z",
        "end": "2026-04-01T00:00:00Z"
      },
      "parent": {
        "type": "subscription_details",
        "subscription_details": {
          "subscription": "01KA9TSUBSCRIPTION123",
          "metadata": {
            "plan": "pro"
          }
        }
      },
      "lines": {
        "object": "list",
        "data": [],
        "has_more": false,
        "url": "/v1/invoice_lines?invoice=01KA9TBINVOICE123456789"
      },
      "payments": {
        "object": "list",
        "data": [],
        "has_more": false,
        "url": "/v1/invoice_payments?invoice=01KA9TBINVOICE123456789"
      },
      "status_transitions": {
        "finalized_at": "2026-03-01T00:00:03Z",
        "marked_uncollectible_at": null,
        "paid_at": "2026-03-01T00:00:12Z",
        "voided_at": null
      },
      "last_finalization_error": null
    }
  ]
}