Billing Queries

Interactive examples coming soon...

purchaseOrders :: [PurchaseOrder]

ArgumentTypeDescription
locationIdID
orderedSinceDate

processorPayments :: [ProcessorPayment]

ArgumentTypeDescription
endDateTime!
locationIdID!
startDateTime!

products :: [Product]

ArgumentTypeDescription
excludeChildrenBoolean
limitInt
offsetInt
onlyTrackInventoryBoolean
typeIds[ID]
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

bills :: [Bill]

ArgumentTypeDescription
clientIdID!

productsCount :: Int

ArgumentTypeDescription
typeIds[ID]

searchPackages :: [ProductPackage]

ArgumentTypeDescription
queryString!

payments :: [Payment]

ArgumentTypeDescription
clientIdID
endDateTime
hideAccountCreditBoolean
hideVoidedBoolean
limitInt
locationIdID
locationIds[ID]
methodPaymentMethod
methods[PaymentMethod]
offsetInt
onlyPositiveBoolean
startDateTime
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

ordersTotals :: OrdersTotals

Returns a count of all orders based on a query.

ArgumentTypeDescription
agingBucketsBoolean
clientTagIds[ID]
endDateTime
hideSubscriptionsBoolean
includeAccountCreditsBoolean
includeNegativesBoolean
invoicedBoolean
locationIds[ID]
mismatchedBoolean
notUncollectibleBoolean
onlySubscriptionsBoolean
postedBoolean
providerIdID
startDateTime

packs :: [Pack]

ArgumentTypeDescription
clientIdID
locationIds[ID]

vendors :: [Vendor]

No arguments.

order :: Order

Gets an order by id

ArgumentTypeDescription
idID!

estimatePdf :: String

ArgumentTypeDescription
idID!

searchProductTypes :: [ProductType]

ArgumentTypeDescription
nameString!

orderItemsTotals :: OrderItemsTotals

ArgumentTypeDescription
byInvoiceDateBoolean
endDate
locationIds[ID]
providerIdID
startDate

creditMemos :: [CreditMemo]

ArgumentTypeDescription
endDateTime!
limitInt
locationIds[ID]
offsetInt
startDateTime!

searchInventoryBuckets :: [InventoryBucket]

ArgumentTypeDescription
nameString!

estimatesTotals :: EstimatesTotals

ArgumentTypeDescription
closedBoolean
endDateTime
invoicedBoolean
limitInt
locationIds[ID]
offsetInt
providerIdID
startDateTime

orderItems :: [OrderItem]

ArgumentTypeDescription
byInvoiceDateBoolean
categoryIds[ID]
endDateDate
isReturnedBoolean
limitInt
locationIds[ID]
names[String]
notRenderedBoolean
offsetInt
onlyInvoicedBoolean
onlyPostedBoolean
packageIds[ID]
patientIds[ID]
productIds[ID]
providerIdID
startDateDate
typeIds[ID]
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

invoicePdf :: String

ArgumentTypeDescription
idID!

searchProductCategories :: [ProductCategory]

ArgumentTypeDescription
nameString!

product :: Product

ArgumentTypeDescription
idID!

refundedOrderItems :: [OrderItem]

ArgumentTypeDescription
endDateTime
locationIds[ID]
providerIdID
startDateTime

inCollections :: Boolean

ArgumentTypeDescription
clientIdID!

searchProducts :: [Product]

ArgumentTypeDescription
limitIntLimit the number of results returned to the top LIMIT matches (defaults to 10)
locationIdID
termString!Search for products by name by specifying the search term
typeFlagsProductTypeFlags

searchVendors :: [Vendor]

ArgumentTypeDescription
termString!

estimates :: [Estimate]

ArgumentTypeDescription
clientIdID
closedBoolean
endDateTime
invoicedBoolean
limitInt
locationIdID
locationIds[ID]
offsetInt
providerIdID
startDateTime

paymentsTotals :: PaymentsTotals

ArgumentTypeDescription
endDateTime
hideAccountCreditBoolean
locationIds[ID]
methodPaymentMethod
startDateTime

creditMemosTotals :: CreditMemoTotals

ArgumentTypeDescription
endDateTime
locationIds[ID]
startDateTime

vendor :: Vendor

ArgumentTypeDescription
idID!

ccTerminals :: [String]

ArgumentTypeDescription
locationIdID!

purchaseOrder :: PurchaseOrder

ArgumentTypeDescription
idID!

hasBalanceDue :: Boolean

if the client has an open, due balance

ArgumentTypeDescription
clientIdID!

orders :: [Order]

Lists all orders based on the query

ArgumentTypeDescription
clientIdID
clientTagIds[ID]
endDateTime
hideSubscriptionsBoolean
includeAccountCreditsBooleanInclude Account Credits on File as of this Instance
includeNegativesBooleanInclude credit memos and not rendered line items as separate virtual negative invoices (typically, you do not ever want to set this to true)
invoicedBoolean
invoicedByDateTime
limitInt
locationIdID
locationIds[ID]
mismatchedBoolean
notUncollectibleBoolean
offsetInt
onlyDiscountedBoolean
onlySubscriptionsBoolean
orderDiscountsBoolean
postedBoolean
providerIdID
startDateTime
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime