โ† API reference
Query / commerce

listInvoices

List invoices with pagination, filtering, and sorting. Requires invoice:list permission.

Arguments

firstInt

Number of items to return from the start (forward pagination)

afterString

Cursor pointing to the item after which to start

Filter criteria for invoices

Sort order for results

Returns InvoiceConnection!

Scalar fields at a glance

totalCountInt
โ†— View the complete InvoiceConnection type

Explore in a view

Order Intake
View exact SDL
"""
List invoices with pagination, filtering, and sorting. Requires invoice:list permission.
"""
listInvoices(
  """Number of items to return from the start (forward pagination)"""
  first: Int
  """Cursor pointing to the item after which to start"""
  after: String
  """Filter criteria for invoices"""
  filter: InvoiceFilterInput
  """Sort order for results"""
  sort: [InvoiceSortInput!]
): InvoiceConnection! @topic(names: ["commerce"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.