invoice
Find a single invoice
Arguments
idIDSearch by primary key.
Returns
idID!Unique primary key.
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.
numberStringInvoice number
features[OrganizationFeature!]!The features associated with this client.
DEMOSUPPORT_AUTOMATIONSUPPORT_TICKETSidID!Unique primary key.
nameString!Name of the client
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.