invoiceReport
Count invoice records using the same filters as exports. Requires reports:read and finance:read.
graphql
invoiceReport(
filter: InvoiceFilter
metric: InvoiceReportInput!
): ReportResult
Arguments
invoiceReport.filter · InvoiceFilter input
Source filters applied before aggregation.
invoiceReport.metric · InvoiceReportInput! non-null input
Grouping and count aggregation.
Type
ReportResult object
Complete aggregate results for the selected filters; excessive group counts fail instead of being truncated.