invoiceMarkSent
Mark a draft invoice as sent manually.
Arguments
idID!ID of the invoice.
Returns
idID!Unique primary key.
idID!Unique primary key.
isEnabledBoolean!Whether synchronization is enabled.
nameString!Name of the integration.
autoSendTimeString!Local time (HH:mm, in the timezone) of the daily automatic send.
billingRunTimeString!Local time (HH:mm, in the timezone) of the daily billing run that bills inventory, fixed fees and minimums of closed periods.
frequencyBillingFrequencyInvoice cycle; null while nothing is saved, in which case every day is its own billing cycle.
MONTHLYWEEKLYintegrationIntegrationInvoicing integration that receives the invoices.
isAutoSendEnabledBoolean!Whether invoices are sent automatically once a day after their period ended; invoices with charges that need attention are held.
isEnabledBoolean!Whether invoicing is enabled.
isFreeLineFilterEnabledBoolean!Whether lines with a zero amount are left out of the invoices.
isSendToClientEnabledBoolean!Whether invoices are sent to the client after they are created in the invoicing system.
monthdayIntDay of the month that starts a monthly cycle.
timezoneString!Timezone of the invoice cycles.
weekdayIntISO day of the week (1 = Monday) that starts a weekly cycle.
edges[LedgerEdge!]!A list of Ledger edges.
pageInfoPageInfo!Pagination information about the list of edges.
nameString!Name of the organization
createdAtDateTimeTz!When the invoice was created.
dueAtDateDue at
idID!Unique primary key.
issueCountInt!Blocked charges of this client and business unit whose billing period overlaps the invoice period; they are missing from the invoice until resolved.
cursorString!A unique cursor that can be used for pagination.
nodeInvoiceLine!The InvoiceLine node.
endCursorStringThe cursor to continue paginating forwards.
hasNextPageBoolean!When paginating forwards, are there more items?
hasPreviousPageBoolean!When paginating backwards, are there more items?
startCursorStringThe cursor to continue paginating backwards.
numberStringInvoice number
candidates[Price!]!All prices valid on the date for the client, its price lists and the list, newest first.
hasCurrencyConflictBoolean!Whether the client's price lists price the item in different currencies, so no price list price applies.
pricePriceApplied price; null when the item has no usable price.
priceListPriceListPrice list of the applied price, for PRICE_LIST.
priceableIdID!ID of the priced item.
priceableTypePriceableType!Type of the priced item.
FULFILLMENT_SERVICE_RULEFULFILLMENT_SERVICE_RULE_TIERSHIPPING_PRODUCT_BASESHIPPING_PRODUCT_OPTIONA list of BillingCharge edges.
pageInfoPageInfo!Pagination information about the list of edges.
A list of ClientContact edges.
pageInfoPageInfo!Pagination information about the list of edges.
features[OrganizationFeature!]!The features associated with this client.
DEMOSUPPORT_AUTOMATIONSUPPORT_TICKETSA list of FulfillmentService edges.
pageInfoPageInfo!Pagination information about the list of edges.
A list of InvoiceLineBillableFulfillment edges.
pageInfoPageInfo!Pagination information about the list of edges.
A list of InvoiceLineBillableGoodsReceipt edges.
pageInfoPageInfo!Pagination information about the list of edges.
idID!Unique primary key.
A list of InvoiceContact edges.
pageInfoPageInfo!Pagination information about the list of edges.
edges[InvoiceEdge!]!A list of Invoice edges.
pageInfoPageInfo!Pagination information about the list of edges.
nameString!Name of the client
A list of InvoiceLineBillableOrder edges.
pageInfoPageInfo!Pagination information about the list of edges.
edges[PriceListEdge!]!A list of PriceList edges.
pageInfoPageInfo!Pagination information about the list of edges.
A list of InvoiceLineBillableReturnReceipt edges.
pageInfoPageInfo!Pagination information about the list of edges.
A list of InvoiceLineBillableShipment edges.
pageInfoPageInfo!Pagination information about the list of edges.
A list of TenantShippingProduct edges.
pageInfoPageInfo!Pagination information about the list of edges.
edges[UserEdge!]!A list of User edges.
pageInfoPageInfo!Pagination information about the list of edges.
edges[WarehouseEdge!]!A list of Warehouse edges.
pageInfoPageInfo!Pagination information about the list of edges.
periodEndAtDateLast day of the billing period this invoice covers.
periodStartAtDateFirst day of the billing period this invoice covers.
referenceStringOrder / invoice reference
autoSendAtDateTimeTzWhen the invoice is sent automatically; null when its business unit does not send automatically, the invoice is not open or it is held.
blockedReasonStringWhy the invoice cannot be sent now (status, a dispatch in progress, or missing integration or invoice contact); null when it can be sent.
errorStringError of the last failed dispatch attempt.
isAutoSendHeldBoolean!Whether automatic sending holds this open invoice, because it cannot be sent (blockedReason) or has blocked charges (Invoice.issueCount).
statusInvoiceDispatchStatusProgress of sending the invoice through the invoicing connector.
CREATEDCREATINGFAILEDQUEUEDSENDINGSENTsentAtDateSent at
currencyString!ISO 4217 currency code
valueString!Amount
currencyString!ISO 4217 currency code
valueString!Amount
updatedAtDateTimeTz!When the invoice was last updated.
field[String!]messageString!