Skip to main content

invoiceListSummary

Requires at least one of the permissions payments:invoice:list or purchase:purchase_invoice:list.

Returns summary totals for the same filters as invoices, covering every matching invoice rather than one page.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query InvoiceListSummary {
invoiceListSummary {
draftCount
dueAmount
issuedCount
overdueAmount
overdueCount
paidAmount
}
}

Response:

{
"data": {
"invoiceListSummary": {
"draftCount": 0,
"dueAmount": 0,
"issuedCount": 0,
"overdueAmount": 0,
"overdueCount": 0,
"paidAmount": 0
}
}
}
invoiceListSummary(
filter: InvoiceFilterInput
): InvoiceListSummary!

Arguments​

invoiceListSummary.filter ● InvoiceFilterInput input​

The same filters as invoices. Totals cover every invoice that matches.

Type​

InvoiceListSummary object​

Totals for the invoice list, counted over the whole filtered set in the organization's base currency.