PaidInvoicesQueryInput

PaidInvoicesQueryInput

Kind: Input

Fields

Field Type Description
after String A cursor for pagination, returns items after this cursor (forward pagination)
before String A cursor for pagination, returns items before this cursor (backward pagination)
cardBrand String If provided, filter by the brand of the card
cardLast4 String If provided, filter by the last 4 digits of the card
customerId String If provided, filter to just this customer
employeeId ID If provided, filter by the ID of the employee
endDate LocalDate If provided, filter by the end date of the paid invoices
endTime DateTime If provided, filter by the end time of the paid invoices
first Int The number of items to return from the beginning of the list (forward pagination)
includeRecharges Boolean Include recharges (subscription_cycle billing reason)
includeSales Boolean! Include sales (manual and subscription_create billing reasons)
includeUpdates Boolean Include updates (subscription_update billing reason)
last Int The number of items to return from the end of the list (backward pagination)
locationId ID If provided, filter by the ID of the location
locationIds [ID!] If provided, filter to paid invoices at any of these locations. Combined with locationId when both are set.
plate String If provided, filter by the plate number of the visit
startDate LocalDate If provided, filter by the start date of the paid invoices
startTime DateTime If provided, filter by the start time of the paid invoices
total Int If provided, filter by this total amount in cents

Definition

input PaidInvoicesQueryInput {
  """
  A cursor for pagination, returns items after this cursor (forward pagination)
  """
  after: String
  """
  A cursor for pagination, returns items before this cursor (backward pagination)
  """
  before: String
  """If provided, filter by the brand of the card"""
  cardBrand: String
  """If provided, filter by the last 4 digits of the card"""
  cardLast4: String
  """If provided, filter to just this customer"""
  customerId: String
  """If provided, filter by the ID of the employee"""
  employeeId: ID
  """If provided, filter by the end date of the paid invoices"""
  endDate: LocalDate
  """If provided, filter by the end time of the paid invoices"""
  endTime: DateTime
  """
  The number of items to return from the beginning of the list (forward pagination)
  """
  first: Int
  """Include recharges (subscription_cycle billing reason)"""
  includeRecharges: Boolean
  """Include sales (manual and subscription_create billing reasons)"""
  includeSales: Boolean! = true
  """Include updates (subscription_update billing reason)"""
  includeUpdates: Boolean
  """
  The number of items to return from the end of the list (backward pagination)
  """
  last: Int
  """If provided, filter by the ID of the location"""
  locationId: ID
  """
  If provided, filter to paid invoices at any of these locations. Combined with locationId when both are set.
  """
  locationIds: [ID!]
  """If provided, filter by the plate number of the visit"""
  plate: String
  """If provided, filter by the start date of the paid invoices"""
  startDate: LocalDate
  """If provided, filter by the start time of the paid invoices"""
  startTime: DateTime
  """If provided, filter by this total amount in cents"""
  total: Int
}