Billing Mutations

Interactive examples coming soon...

addCreditMemo :: CreditMemo

ArgumentTypeDescription
clientIdID!
inputCreditMemoInput!

addLinkedProduct :: Product

ArgumentTypeDescription
linkedProductIdID!
productIdID!

addOrderItem :: [OrderItem]

ArgumentTypeDescription
encounterIdID
inputOrderItemInput
orderIdID!
productIdID

addOrderItemToEncounter :: OrderItem

ArgumentTypeDescription
encounterIdID
productIdID
quantityDecimal

addPackageToEncounter :: Encounter

ArgumentTypeDescription
encounterIdID!
packageIdID!
selectedItemIds[ID]

addPackageToEstimate :: Estimate

ArgumentTypeDescription
estimateIdID!
packageIdID!
patientIdID
selectedItemIds[ID]

addPackageToOrder :: Order

ArgumentTypeDescription
orderIdID!
packageIdID!
patientIdID
selectedItemIds[ID]

addPurchaseOrderItem :: PurchaseOrderItem

ArgumentTypeDescription
orderIdID!
productIdID!

addToWishlist :: WishlistItem

ArgumentTypeDescription
locationIdID!
productIdID!

applyAccountCredit :: Order

ArgumentTypeDescription
orderIdID!

billingHistory :: String

ArgumentTypeDescription
clientIdID!

billingStatement :: String

ArgumentTypeDescription
clientIdID!
locationIdID!

convertEstimateToOrder :: Estimate

ArgumentTypeDescription
idID!

createOrder :: Order

ArgumentTypeDescription
inputOrderInput!

createProduct :: Product

No arguments.

createProductManufacturer :: ProductManufacturer

ArgumentTypeDescription
inputProductManufacturerInput!

createPurchaseOrder :: PurchaseOrder

ArgumentTypeDescription
inputPurchaseOrderInput

createStripePaymentIntent :: String

ArgumentTypeDescription
amountDecimal!
locationIdID!

creditMemoPdf :: String

ArgumentTypeDescription
idID!

deleteLinkedProduct :: Product

ArgumentTypeDescription
linkedProductIdID!
productIdID!

deleteOrder :: Order

ArgumentTypeDescription
idID!

deleteProduct :: Product

ArgumentTypeDescription
idID!

deleteProductManufacturer :: ProductManufacturer

ArgumentTypeDescription
idID!

deletePurchaseOrder :: PurchaseOrder

ArgumentTypeDescription
idID!

deletePurchaseOrderItem :: PurchaseOrderItem

ArgumentTypeDescription
idID!

deleteWishlistItem :: WishlistItem

ArgumentTypeDescription
idID!

emailBillingStatements :: Boolean

Either zips & emails all billing statements at the given location to the list of provided emails, or if no emails are provided, emails each client their billing statement if they have one.

ArgumentTypeDescription
clientIdID
emails[String]
endDateDate
locationIdID!
startDateDate

emailClientBillingStatement :: String

ArgumentTypeDescription
clientIdID!
locationIdID!

emailClientPaymentReceipt :: String

ArgumentTypeDescription
paymentIdID!

emailCreditMemoToClient :: [EmailStatus]

ArgumentTypeDescription
creditMemoIdID!

emailEstimateToClient :: [EmailStatus]

ArgumentTypeDescription
estimateIdID!

emailInventoryCsv :: String

ArgumentTypeDescription
locationIdID!
recipients[String]!

emailInvoiceToClient :: [EmailStatus]

ArgumentTypeDescription
coownerClientIdID
invoiceIdID!

emailProductsCsv :: String

ArgumentTypeDescription
locationIds[ID]
recipients[String]!

endOfDayReport :: String

ArgumentTypeDescription
endDateTime
locationIdID!
startDateTime!

generateInvoice :: Order

ArgumentTypeDescription
idID!

groupOrderItemsByPatient :: Order

ArgumentTypeDescription
orderIdID!

invoiceBarcodesPdf :: String

ArgumentTypeDescription
orderIdID!

invoicePendingItems :: Order

ArgumentTypeDescription
clientIdID!
locationIdID

issueCreditDiscount :: String

ArgumentTypeDescription
discountAmountDecimal!
discountTypeDiscountType!
noteString
orderIdID!

markOrderUncollectible :: Order

ArgumentTypeDescription
orderIdID!

newVendor :: Vendor

ArgumentTypeDescription
inputVendorInput!

orderWishlist :: Location

ArgumentTypeDescription
locationIdID!

paymentReceiptPdf :: String

ArgumentTypeDescription
paymentIdID!

refundOrderItem :: OrderItem

ArgumentTypeDescription
creditBoolean
idID!
notRenderedBoolean
returnedBoolean

reopenOrder :: Order

ArgumentTypeDescription
idID!

reorderEstimateItems :: Estimate

ArgumentTypeDescription
fromIdID!
toIdID!

reorderOrderItems :: Order

ArgumentTypeDescription
fromIdID!
toIdID!

returnOrderItem :: [ReturnedOrderItem]

ArgumentTypeDescription
idID!
quantityDecimal
returnedToStockBoolean

saveEstimate :: Estimate

ArgumentTypeDescription
idID!

sendPaymentRequest :: String

ArgumentTypeDescription
amountDecimal
clientIdID!
donationDecimal
locationIdID
mediumConversationMedium
methodPaymentMethod
orderIdID
orderTypeString
tipDecimal

updateOrder :: Order

ArgumentTypeDescription
idID!
inputOrderInput!

updateOrderItem :: OrderItem

ArgumentTypeDescription
idID!
inputOrderItemInput!

updateProductManufacturer :: ProductManufacturer

ArgumentTypeDescription
idID!
inputProductManufacturerInput!

updateProductProductCategory :: Product

ArgumentTypeDescription
productCategoryIdID!
productIdID!

updatePurchaseOrder :: PurchaseOrder

ArgumentTypeDescription
idID!
inputPurchaseOrderInput!

updatePurchaseOrderItem :: PurchaseOrderItem

ArgumentTypeDescription
idID!
inputPurchaseOrderItemInput!

updateVendor :: Vendor

ArgumentTypeDescription
idID!
inputVendorInput!

updateWishlistItem :: WishlistItem

ArgumentTypeDescription
idID!
inputWishlistItemInput!

uploadMassProducts :: String

ArgumentTypeDescription
fileUpload!

upsertLowStockThreshold :: LowStockThreshold

ArgumentTypeDescription
inputLowStockThresholdInput!

upsertPackageLocationMarkup :: LocationOrLocationTag

ArgumentTypeDescription
locationIdID
locationTagIdID
markupPercentDecimal
packageIdID!

upsertProductLocationMarkup :: LocationOrLocationTag

ArgumentTypeDescription
locationIdID
locationTagIdID
markupPercentDecimal
productIdID!

upsertProductTypeLocationMarkup :: Location

ArgumentTypeDescription
locationIdID
locationTagIdID
markupPercentDecimal
productTypeIdID!