← All types
Sales & CRMIn Input object

InvoiceSortInput

Sort input for invoice queries

Fields

Field to sort by

Possible values (6)
INVOICE_NUMBER

Sort by invoice number

STATUS

Sort by status

ISSUE_DATE

Sort by issue date

TOTAL_AMOUNT

Sort by total amount

DUE_DATE

Sort by due date

CREATED_AT

Sort by creation timestamp

Sort direction (ASC or DESC)

Possible values (2)
ASC

Sort in ascending order (A-Z, oldest first)

DESC

Sort in descending order (Z-A, newest first)

Referenced by (1)
Exact type SDL
"""Sort input for invoice queries"""
input InvoiceSortInput {
  """Field to sort by"""
  field: InvoiceSortField!
  """Sort direction (ASC or DESC)"""
  direction: SortDirection!
}