Billing Queries

Interactive examples coming soon...

accountsReceivableBalance :: AccountsReceivableBalance

Returns a client's accounts receivable balance.

ArgumentTypeDescription
clientIdID

bills :: [Bill]

ArgumentTypeDescription
clientIdID!

ccTerminals :: [String]

ArgumentTypeDescription
locationIdID!

creditMemos :: [CreditMemo]

ArgumentTypeDescription
endDateTime!
limitInt
locationIds[ID]
offsetInt
startDateTime!
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

creditMemosTotals :: CreditMemoTotals

ArgumentTypeDescription
endDateTime
locationIds[ID]
startDateTime

estimatePdf :: String

ArgumentTypeDescription
idID!

estimates :: [Estimate]

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

estimatesTotals :: EstimatesTotals

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

hasBalanceDue :: Boolean

if the client has an open, due balance

ArgumentTypeDescription
clientIdID!

inCollections :: Boolean

ArgumentTypeDescription
clientIdID!

invoicePdf :: String

ArgumentTypeDescription
coownerClientIdID
idID!

ledgerEntries :: [LedgerEntry]

ArgumentTypeDescription
endDateTime
localTimezoneString
locationIds[ID]
startDateTime

ledgerEntryTotals :: LedgerEntryTotals

ArgumentTypeDescription
endDateTime
localTimezoneString
locationIds[ID]
startDateTime

masterProducts :: [MasterProduct]

No arguments.

order :: Order

Gets an order by id

ArgumentTypeDescription
idID!

orderItems :: [OrderItem]

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

orderItemsTotals :: OrderItemsTotals

ArgumentTypeDescription
byInvoiceDateBoolean
endDate
locationIds[ID]
onlyControlledDrugsBoolean
onlyInvoicedBoolean
providerIdID
providerIds[ID]
startDate

orders :: [Order]

Lists all orders based on the query

ArgumentTypeDescription
clientIdID
clientTagIds[ID]
endDateTime
excludeHistoricalBoolean
hideSubscriptionsBoolean
ids[ID]
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
localTimezoneString
locationIdID
locationIds[ID]
mismatchedBoolean
notUncollectibleBoolean
offsetInt
onlyDiscountedBoolean
onlySubscriptionsBoolean
orderByInvoiceSortFieldEnum
postedBoolean
providerIdID
startDateTime
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

ordersTotals :: OrdersTotals

Returns a count of all orders based on a query, excludes datasync imported orders.

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

packs :: [Pack]

ArgumentTypeDescription
clientIdID
locationIds[ID]

payments :: [Payment]

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

paymentsTotals :: PaymentsTotals

ArgumentTypeDescription
endDateTime
excludeHistoricalBoolean
hideAccountCreditBoolean
locationIds[ID]
methodPaymentMethod
startDateTime

processorPayments :: [ProcessorPayment]

ArgumentTypeDescription
endDateTime!
locationIdID!
startDateTime!

product :: Product

ArgumentTypeDescription
idID!

productManufacturer :: ProductManufacturer

ArgumentTypeDescription
idID!

productManufacturers :: [ProductManufacturer]!

ArgumentTypeDescription
nameString

productManufacturersPaginated :: ProductManufacturerPage!

ArgumentTypeDescription
afterString
beforeString
nameString

products :: [Product]

ArgumentTypeDescription
categoryIds[ID]
codeString
diagnosticCodeString
excludeChildrenBoolean
hasDiagnosticCodeBoolean
ids[ID]
isControlledDrugBoolean
isNonCompensatedBoolean
limitInt
nameString
offsetInt
onlyBelowThresholdID
onlyEnabledAtID
onlyTrackInventoryBoolean
skuString
sortBySortProductOptions
typeIds[ID]
updatedAtEndNaiveDateTime
updatedAtStartNaiveDateTime

productsCount :: Int

ArgumentTypeDescription
categoryIds[ID]
codeString
diagnosticCodeString
excludeChildrenBoolean
nameString
onlyBelowThresholdID
onlyEnabledAtID
onlyTrackInventoryBoolean
skuString
typeIds[ID]

productsInStockCount :: Decimal

ArgumentTypeDescription
locationIdID!

purchaseOrder :: PurchaseOrder

ArgumentTypeDescription
idID!

purchaseOrders :: [PurchaseOrder]

ArgumentTypeDescription
locationIds[ID]
orderedSinceDate

refundedOrderItems :: [OrderItem]

ArgumentTypeDescription
endDateTime
locationIds[ID]
providerIdID
providerIds[ID]
startDateTime

returnedOrderItems :: [ReturnedOrderItem]

ArgumentTypeDescription
endDateTime
locationIds[ID]
providerIdID
providerIds[ID]
startDateTime

searchCoupons :: [Coupon]

ArgumentTypeDescription
limitInt
termString

searchInventoryBuckets :: [InventoryBucket]

ArgumentTypeDescription
nameString!

searchPackages :: [ProductPackage]

ArgumentTypeDescription
queryString!

searchProductCategories :: [ProductCategory]

ArgumentTypeDescription
nameString!

searchProductTypes :: [ProductType]

ArgumentTypeDescription
nameString!

searchProductables :: [Orderable]

ArgumentTypeDescription
limitInt
locationIdID
patientIdID
searchPackagesBoolean
termString!Search products by name using this search term
typeFlagsProductTypeFlags

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!

stripeConnectionToken :: String

ArgumentTypeDescription
locationIdID!

stripePublishableKey :: String

ArgumentTypeDescription
locationIdID

vendor :: Vendor

ArgumentTypeDescription
idID!

vendors :: [Vendor]

No arguments.