invoice_summaries
Invoice summaries of a global account
- Billing.invoice_summaries(selector=None, **kwargs) ApiResponse
Lists invoice summaries with filters, sorting and paging.
This is the route to reach for when the question is “which invoices fall in this period”.
Invoices.list_invoicesreturns a flat page and leaves the filtering to the caller; this one filters on the service, by issued date, due date, status, country, invoice number and payment method.Note the date format. Here it is ISO-8601 with the date alone,
"2026-09-01".Invoices.list_invoicesanswers dates as"20260902". The two shapes are not interchangeable.Request Body (optional)
Every member is optional. An empty object returns the first page.
invoiceIssuedDateRangeFilter(object):startDateandendDate, both inclusive, both"YYYY-MM-DD".invoiceDueDateRangeFilter(object): same shape, for the due date.statusValueFilter(object):include, a list of statuses such asPAID_IN_FULLorACCUMULATING.countryValueFilter(object):include, up to 30 country codes.invoiceNumberFilter(object):include, up to 30 invoice numbers.paymentMethodTypeValueFilter(object):include, up to 10 method types.reserveOrderNumberFilter(object):include, up to 30 reserve order numbers.sort(object):attributeanddirection. The only attributes the service accepts areinvoiceIssuedDateandinvoiceDueDate; anything else answers400 Invalid input because of error(s): [sort:attribute field is invalid]. Those are the names the answer uses, not the filter names:invoiceDate,issuedDate,dueDate,amountDueandstatusare all refused.maxResults(integer): page size.nextToken(string): token from a previous answer.aggregation(object):attributeandgroupBy, to total rather than list.
The
includefilters also acceptqueryTermMatchType, which decides how the term is matched.- Returns
ApiResponse with
invoiceSummaries. Each entry is richer than whatInvoices.list_invoicesreturns and shaped differently: dates come as"2026-10-26"rather than"20261026", and most fields are{"code": ..., "value": ...}pairs rather than plain strings. A summary carriesid,invoiceIssuedDate,invoiceDueDate,amountDueandremainingAmountDue(each with acurrencyCodeand avalue),status,paymentStatus,country,product,paymentMethodType,invoicingLevelandfxInformation.