Skip to main content
GET
/
v1
/
invoices
List
curl --request GET \
  --url https://{defaultHost}/v1/invoices \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "pagination": {
    "count": 1,
    "limit": 20,
    "page": 1,
    "url": "/v1/invoices"
  },
  "data": [
    {
      "id": "328258b0-59f9-457b-9921-6b7800d0e5de",
      "object": "invoice",
      "automatic_collection": false,
      "due_date": null,
      "footer": null,
      "issue_date": null,
      "live_mode": true,
      "memo": null,
      "metadata": {},
      "notifications_enabled": true,
      "order_number": null,
      "status": "draft",
      "portal_url": "http://app.example.com/portal_redirect/invoices/328258b0-59f9-457b-9921-6b7800d0e5de",
      "notification_sent_at": null,
      "reminder_notification_sent_at": null,
      "checkout": "4410740a-ab8d-4488-ab57-2c39657482ad",
      "created_at": 1778010883,
      "updated_at": 1778010883
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developer.surecart.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

customer_ids[]
string[]

Only return objects that belong to the given customers.

ids[]
string[]

Only return objects with the given IDs.

limit
integer

A limit on the number of items to be returned, between 1 and 100.

live_mode
boolean

Only return objects that are live mode or test mode.

page
integer

The page of items you want returned.

query
string

The query to be used for full text search of this collection.

status[]
string[]

Only return objects with the given status.

Response

200 - application/json

Success

object
string

A string describing the object type returned.

pagination
object
data
array

An array of objects.