Sales & CRMQu Query

listInvoiceLines

Topics: Commerce

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

Returns

InvoiceLineConnection!

Arguments

first

IntOptional

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

after

StringOptional

Cursor pointing to the item after which to start

Filter criteria for invoice lines

Sort order for results

Exact field SDL
"""
List invoice lines with pagination, filtering, and sorting. Requires invoice:list permission.
"""
listInvoiceLines(
  """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 invoice lines"""
  filter: InvoiceLineFilterInput
  """Sort order for results"""
  sort: [InvoiceLineSortInput!]
): InvoiceLineConnection! @topic(names: ["commerce"])

Declared on Query. Access is checked by the platform for each operation.